Skip to content

Skip NCBIOrtholog xrefs in parse_ncbi_gff3.pl - #560

Open
EreboPSilva wants to merge 1 commit into
mainfrom
hotfix/ncbi_gff3_parse_unknowndbs
Open

Skip NCBIOrtholog xrefs in parse_ncbi_gff3.pl#560
EreboPSilva wants to merge 1 commit into
mainfrom
hotfix/ncbi_gff3_parse_unknowndbs

Conversation

@EreboPSilva

Copy link
Copy Markdown
Member

Dbxref=NCBIOrtholog:... entries in NCBI RefSeq GFF3 files have no corresponding external_db row in Ensembl core schemas, causing GeneAdaptor::store to fail via DBEntryAdaptor::_check_external_db ("external_db [NCBIOrtholog] release [] does not exist").

Add NCBIOrtholog to %unknowndbs alongside the existing HPRD/Ensembl entries so add_xrefs() skips it, consistent with how those other unmapped Dbxref types are already handled.

Requirements

When creating your Pull request, please fill out the template below:

PR details

Is this a fix/ update/ new feature?

Fix

Include a short description

parse_ncbi_gff3.pl fails when storing genes/transcripts carrying a Dbxref=NCBIOrtholog:... attribute from NCBI RefSeq GFF3 files, since NCBIOrtholog has no corresponding external_db row in Ensembl core schemas. GeneAdaptor::store cascades to DBEntryAdaptor::store, which calls _check_external_db and throws external_db [NCBIOrtholog] release [] does not exist, failing the job.

This PR adds NCBIOrtholog to the existing %unknowndbs hash in add_xrefs(), alongside HPRD and Ensembl, so the xref is skipped rather than attached to the gene/transcript — consistent with how those other unmapped Dbxref types are already handled. No external_db table changes required.

Include links to JIRA tickets

https://embl.atlassian.net/browse/ENSGENEBUI-3937

Testing

Have you tested it?

Tested on turkey refseq_import, GCF_905368555.1

Assign to the weekly GitHub reviewer

If you are a member of Ensembl, please check the Genebuild weekly Rotas and assign this week's GitHub reviewer to the PR

@JackCurragh

Dbxref=NCBIOrtholog:... entries in NCBI RefSeq GFF3 files have no
corresponding external_db row in Ensembl core schemas, causing
GeneAdaptor::store to fail via DBEntryAdaptor::_check_external_db
("external_db [NCBIOrtholog] release [] does not exist").

Add NCBIOrtholog to %unknowndbs alongside the existing HPRD/Ensembl
entries so add_xrefs() skips it, consistent with how those other
unmapped Dbxref types are already handled.
@EreboPSilva
EreboPSilva requested a review from JackCurragh August 4, 2026 08:55
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.

1 participant