Skip to content
Snippets Groups Projects
Commit 2e9623fe authored by tcarver's avatar tcarver
Browse files

if UTR belongs to single transcript gene use gene id as the locus_tag

parent 84fcbbea
No related branches found
No related tags found
No related merge requests found
......@@ -358,6 +358,10 @@ public class PublicDBDocumentEntry extends SimpleDocumentEntry
location =
new Location(ranges, feature.getLocation().isComplement());
}
int ntranscripts = gene.getTranscripts().size();
if(ntranscripts == 1)
transcriptName = gene.getGeneUniqueName();
qualifiers.setQualifier(new Qualifier("locus_tag", transcriptName));
qualifiers.removeQualifierByName("ID");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment