From 9d1eb02957a4130cd3cafd8a7f5f4b8046ee8be1 Mon Sep 17 00:00:00 2001 From: Monika Komorowska <mk8@sanger.ac.uk> Date: Thu, 22 Mar 2012 14:13:46 +0000 Subject: [PATCH] added ignore sql for EntrezGene xrefs with accessions like '%LOC%' --- misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm b/misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm index 7e41d47aa5..bc153fdf5f 100644 --- a/misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm +++ b/misc-scripts/xref_mapping/XrefMapper/sus_scrofa.pm @@ -77,6 +77,13 @@ SELECT object_xref_id AND priority_description = 'protein_evidence_gt_2' BIGN + $ignore{"EntrezGene/LOC"} =(<<BIGN); +SELECT object_xref_id + FROM object_xref JOIN xref USING(xref_id) JOIN source USING(source_id) + WHERE ox_status = 'DUMP_OUT' AND name = 'EntrezGene' + AND accession = '%LOC%' +BIGN + return [\@list,\%ignore]; } -- GitLab