Skip to content
Snippets Groups Projects
Commit 03bffafe authored by Magali Ruffier's avatar Magali Ruffier
Browse files

for gene display xref, ignore gene xrefs where uniprot_genename is dependent...

for gene display xref, ignore gene xrefs where uniprot_genename is dependent on a low-evidence uniprot entry
parent f1bde2f1
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,8 @@ SELECT DISTINCT ox.object_xref_id
ox.ox_status = "DUMP_OUT"
IEG
#don't use labels starting with LOC
$ignore{'LOC_prefix'} =<<LOCP;
......@@ -44,6 +46,23 @@ 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];
}
......
......@@ -43,6 +43,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];
}
......
......@@ -44,6 +44,23 @@ 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];
}
......
......@@ -64,6 +64,23 @@ 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];
}
......
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