Skip to content
Snippets Groups Projects
Unverified Commit a541c4b5 authored by sgiorgetti's avatar sgiorgetti Committed by GitHub
Browse files

Merge pull request #608 from Ensembl/fix/xref_backwards_compatibility

Use old parsers when needed
parents be69e922 ef7ed499
No related branches found
No related tags found
No related merge requests found
......@@ -520,6 +520,7 @@ order = 15
priority = 2
prio_descr = refseq
parser = RefSeqDatabaseParser
old_parser = RefSeqGPFFParser
[source RefSeq_dna::gencode]
# Used by human and mouse
......@@ -543,6 +544,7 @@ order = 15
priority = 2
prio_descr = refseq
parser = RefSeqDatabaseParser
old_parser = RefSeqGPFFParser
[source RefSeq_dna::MULTI-complete]
# Used by phaeodactylum_tricornutum
......@@ -822,6 +824,7 @@ order = 20
priority = 3
prio_descr = sequence_mapped
parser = UniProtDatabaseParser
old_parser = UniProtParser
dependent_on = MIM
[source Uniprot/SPTREMBL::gencode]
......@@ -850,6 +853,7 @@ order = 20
priority = 3
prio_descr = sequence_mapped
parser = UniProtDatabaseParser
old_parser = UniProtParser
dependent_on = MIM
[source Uniprot/SWISSPROT::gencode]
......@@ -1473,6 +1477,7 @@ source = EntrezGene::MULTI
source = Reactome::MULTI
source = RNACentral::MULTI
source = RefSeq_dna::MULTI-vertebrate
source = RefSeq_peptide::MULTI-vertebrate
source = RefSeq_import::otherfeatures
source = Uniprot/SPTREMBL::MULTI
source = Uniprot/SWISSPROT::MULTI
......
......@@ -187,9 +187,10 @@ foreach my $species_section ( sort( $config->GroupMembers('species') ) )
print( "INSERT INTO source_url "
. "(source_id, species_id, parser)\n" );
my $parser = (defined($config->val($source_section, 'old_parser')) ? $config->val($source_section, 'old_parser') : $config->val($source_section, 'parser'));
printf( "VALUES (%d, %d, '%s') ;\n",
$source_ids{$source_section}, $species_id,
$config->val( $source_section, 'parser' ) );
$parser );
print("\n");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment