"FBtr0089686";2
"FBtr0100361";2
This query finds them:
- Code: Select all
SELECT tr.uniquename as tr_uniquename, count(*)
FROM
feature tr
JOIN cvterm tr_type ON (tr.type_id = tr_type.cvterm_id )
JOIN cvterm trtype ON (trtype.cvterm_id = tr.type_id AND
trtype."name" = 'mRNA' )
JOIN feature_dbxref ftr_annotation ON (tr.feature_id = ftr_annotation.feature_id AND
ftr_annotation.is_current = TRUE )
JOIN dbxref tr_annotation ON (ftr_annotation.dbxref_id = tr_annotation.dbxref_id)
JOIN db db_annotation ON (tr_annotation.db_id = db_annotation.db_id
AND db_annotation.name = 'FlyBase Annotation IDs' )
WHERE tr.is_obsolete = FALSE
group by tr.uniquename
having count(*) != 1
And this query shows them
- Code: Select all
SELECT *
FROM
feature tr
JOIN cvterm tr_type ON (tr.type_id = tr_type.cvterm_id )
JOIN cvterm trtype ON (trtype.cvterm_id = tr.type_id AND
trtype."name" = 'mRNA' )
JOIN feature_dbxref ftr_annotation ON (tr.feature_id = ftr_annotation.feature_id AND
ftr_annotation.is_current = TRUE )
JOIN dbxref tr_annotation ON (ftr_annotation.dbxref_id = tr_annotation.dbxref_id)
JOIN db db_annotation ON (tr_annotation.db_id = db_annotation.db_id
AND db_annotation.name = 'FlyBase Annotation IDs' )
WHERE tr.is_obsolete = FALSE
AND tr.uniquename in( 'FBtr0089686' , 'FBtr0100361')
;
In the case of FBtr0100361, the spurious accession value is "FBtr0100361" itself. It crops up in the web UI at http://flybase.org/reports/FBtr0100361.html as concatenated values for Annotation Symbol: "CG12537-REFBtr0100361"
In the case of FBtr0089686, the spurious accession value is "CRMP-RA" - but for some reason it does NOT crop up in the web UI.
