Skip to content
Snippets Groups Projects
Commit a03ab8f2 authored by Vermaat's avatar Vermaat
Browse files

In LRG, ignore transcripts without a fixed id

Because we don't know how to name them anyway. We also ignore genes
without any transcripts.
parent 6ea8dd7f
No related branches found
No related tags found
No related merge requests found
......@@ -254,6 +254,9 @@ def genesFromUpdatable(updParsed):
transcripts = transcriptsFromParsed(geneData["transcripts"])
if not transcripts:
transcripts = _emptyTranscripts(geneData)
# Todo: For now we skip genes for which we have no transcripts
# since we don't know how to name them anyway.
continue
gene.transcriptList = transcripts
genes.append(gene)
#for
......@@ -286,8 +289,10 @@ def transcriptsFromParsed(parsedData):
# Second add the transcripts not linked
# FIXME: How to name these transcripts?
for trData in nofixed:
transcripts.append(_transcriptPopulator("", trData))
# Todo: For now we skip these transcripts since we don't know how to name
# them.
#for trData in nofixed:
# transcripts.append(_transcriptPopulator("", trData))
return transcripts
#transcriptsFromParsed
......
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