CheckVCF.py error question
0
0
Entering edit mode
2.8 years ago
ErickW • 0

I'm utilizing the michigan server and the provided checkVCF.py code that checks vcf.gz validity; however, when I run the python script, I get this error:

Python version is [ 2.7.5.final.0 ] 
Begin checking vcfFile [ vcf1.vcf.gz ]
VCF checking failed at line [ 0 ]
Traceback (most recent call last):
  File "checkVCF.py", line 291, in <module>
    print >> logger, " [ %s ... ] " % ln[:50]
NameError: name 'ln' is not defined

Looking at the source code on Github, I see that 'ln' refers to the accompanying .fai file that comes in the zip folder; however, I tested the script with the example.vcf.gz file and I got the expected output.

Does anyone have any idea on why this is happening? Any insights?

Michigan-server SNP Quality-Control • 561 views
ADD COMMENT

Login before adding your answer.

Traffic: 2785 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6