diff --git a/mutalyzer/parsers/lrg.py b/mutalyzer/parsers/lrg.py index d8f742c8252b3fe718ccc6ea54eba25ee5fc7a23..d3624360291b5035fc3f5e6a323de4a59a08bfdc 100644 --- a/mutalyzer/parsers/lrg.py +++ b/mutalyzer/parsers/lrg.py @@ -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