Skip NCBIOrtholog xrefs in parse_ncbi_gff3.pl - #560
Open
EreboPSilva wants to merge 1 commit into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.plfails when storing genes/transcripts carrying aDbxref=NCBIOrtholog:...attribute from NCBI RefSeq GFF3 files, sinceNCBIOrthologhas no correspondingexternal_dbrow in Ensembl core schemas.GeneAdaptor::storecascades toDBEntryAdaptor::store, which calls_check_external_dband throwsexternal_db [NCBIOrtholog] release [] does not exist, failing the job.This PR adds
NCBIOrthologto the existing%unknowndbshash inadd_xrefs(), alongsideHPRDandEnsembl, so the xref is skipped rather than attached to the gene/transcript — consistent with how those other unmapped Dbxref types are already handled. Noexternal_dbtable 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