Commit 137474bd authored by Vermaat's avatar Vermaat
Browse files

Have separate WCDS and WCDSSELECTED codes (#98)

git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@641 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent 6a38f261
......@@ -1690,10 +1690,16 @@ def check_variant(description, output):
transcript.proteinDescription = 'p.?'
else:
output.addMessage(__file__, 2, "ECDS", "CDS length is " \
"not a multiple of three in gene %s, transcript " \
"variant %s." % (gene.name, transcript.name))
transcript.proteinDescription = 'p.?'
if transcript.current:
output.addMessage(__file__, 2, "WCDSSELECTED", "CDS length is " \
"not a multiple of three in gene %s, transcript " \
"variant %s (selected)." % (gene.name, transcript.name))
transcript.proteinDescription = 'p.?'
else:
output.addMessage(__file__, 2, "WCDS", "CDS length is " \
"not a multiple of three in gene %s, transcript " \
"variant %s." % (gene.name, transcript.name))
transcript.proteinDescription = 'p.?'
reference = output.getOutput('reference')[-1]
if ';' in record.record.description:
......
Supports Markdown
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