Commit f1bde2f1 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

do not use uniprot_genename as display xref if the master xref it is dependent...

do not use uniprot_genename as display xref if the master xref it is dependent on is of low evidence
parent ccefe526
......@@ -97,6 +97,22 @@ SELECT object_xref_id
WHERE ox_status = 'DUMP_OUT' AND label REGEXP '^LOC[[:digit:]]+'
LOCP
$ignore{'Uniprot_genename'} =<<IEG;
SELECT DISTINCT ox.object_xref_id
FROM object_xref ox, dependent_xref dx,
xref xmas, xref xdep,
source smas, source sdep
WHERE ox.xref_id = dx.dependent_xref_id AND
dx.dependent_xref_id = xdep.xref_id AND
dx.master_xref_id = xmas.xref_id AND
xmas.source_id = smas.source_id AND
xdep.source_id = sdep.source_id AND
smas.name like "Uniprot/SPTREMBL" AND
smas.status = "LOWEVIDENCE" AND
sdep.name like "Uniprot_genename" AND
ox.ox_status = "DUMP_OUT"
IEG
return [\@list,\%ignore];
}
......
Markdown is supported
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