Skip to content

fix: Remove underscore from check for Ensembl Protein ID - #110

Merged
bencap merged 2 commits into
mavedb-devfrom
davereinhart/fix-ensembl-protein-id-check
Jul 9, 2026
Merged

fix: Remove underscore from check for Ensembl Protein ID#110
bencap merged 2 commits into
mavedb-devfrom
davereinhart/fix-ensembl-protein-id-check

Conversation

@davereinhart

Copy link
Copy Markdown
Collaborator

There is no underscore in Ensembl IDs so removing it from the ID prefix check in transcripts module.

bencap and others added 2 commits June 10, 2026 15:49
There is no underscore in Ensembl IDs so removing it here.
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 0.0%. remained the same — davereinhart/fix-ensembl-protein-id-check into mavedb-main

@davereinhart
davereinhart marked this pull request as draft July 7, 2026 16:22
@davereinhart
davereinhart marked this pull request as ready for review July 7, 2026 17:33
@bencap
bencap changed the base branch from mavedb-main to mavedb-dev July 8, 2026 15:38
bencap pushed a commit to VariantEffect/mavedb-api that referenced this pull request Jul 9, 2026
infer_db_name_from_sequence_accession now recognizes ENSP accessions and
maps them to the Ensembl_Protein source, so accession-based target genes
with Ensembl protein IDs resolve to a UniProt ID instead of raising
NotImplementedError.

Also make validate_ensembl_identifier accept versioned Ensembl stable IDs
(e.g. ENSP00000369497.3) by stripping the trailing .<version> before the
idutils.is_ensembl check, matching how validate_refseq_identifier already
handles versioned RefSeq accessions.

Related to VariantEffect/dcd_mapping2#110
@bencap
bencap merged commit 432119c into mavedb-dev Jul 9, 2026
2 checks passed
@bencap
bencap deleted the davereinhart/fix-ensembl-protein-id-check branch July 9, 2026 20:08
bencap pushed a commit to VariantEffect/mavedb-api that referenced this pull request Jul 17, 2026
infer_db_name_from_sequence_accession now recognizes ENSP accessions and
maps them to the Ensembl_Protein source, so accession-based target genes
with Ensembl protein IDs resolve to a UniProt ID instead of raising
NotImplementedError.

Also make validate_ensembl_identifier accept versioned Ensembl stable IDs
(e.g. ENSP00000369497.3) by stripping the trailing .<version> before the
idutils.is_ensembl check, matching how validate_refseq_identifier already
handles versioned RefSeq accessions.

Related to VariantEffect/dcd_mapping2#110
bencap pushed a commit to VariantEffect/mavedb-api that referenced this pull request Jul 17, 2026
infer_db_name_from_sequence_accession now recognizes ENSP accessions and
maps them to the Ensembl_Protein source, so accession-based target genes
with Ensembl protein IDs resolve to a UniProt ID instead of raising
NotImplementedError.

Also make validate_ensembl_identifier accept versioned Ensembl stable IDs
(e.g. ENSP00000369497.3) by stripping the trailing .<version> before the
idutils.is_ensembl check, matching how validate_refseq_identifier already
handles versioned RefSeq accessions.

Related to VariantEffect/dcd_mapping2#110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants