diff --git a/misc-scripts/xref_mapping/XrefParser/RefSeq_CCDSParser.pm b/misc-scripts/xref_mapping/XrefParser/RefSeq_CCDSParser.pm index 2df93ce2290e8e33d51599f64c226d2f36c9ad21..e1dcec00671462ef457df18fe5a64031b5a73079 100644 --- a/misc-scripts/xref_mapping/XrefParser/RefSeq_CCDSParser.pm +++ b/misc-scripts/xref_mapping/XrefParser/RefSeq_CCDSParser.pm @@ -88,8 +88,8 @@ sub run { #for each one seen get all its dependent xrefs and load them fro the new one too; - my $add_dependent_xref_sth = dbi->prepare("INSERT INTO dependent_xref VALUES(?,?,?,?)"); - my $get_dependent_xref_sth = dbi->prepare("SELECT dependent_xref_id, linkage_annotation " + my $add_dependent_xref_sth = $dbi->prepare("INSERT INTO dependent_xref VALUES(?,?,?,?)"); + my $get_dependent_xref_sth = $dbi->prepare("SELECT dependent_xref_id, linkage_annotation " . "FROM dependent_xref where master_xref_id = ?"); foreach my $old_xref (keys %old_to_new){