File "checkVCF.py", line 162 and line 128 errors
Hi, Can experts help me find out how to solve it? Thanks.
python checkVCF.py -r hs37d5.fa -o test example.vcf.gz
Traceback (most recent call last):
File "checkVCF.py", line 162, in <module>
banner(logger)
File "checkVCF.py", line 128, in banner
print >> logger, "checkVCF.py -- check validity of VCF file for meta-analysis"
***TypeError****: unsupported operand type(s) for >>: 'builtin_function_or_method' and 'Logger'. Did you mean "print(<message>, file=<output_stream>)"?
• 573 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Can you add a link to the script? It contains some quite old code it seems.
Ok. I added the link. Thanks.
https://github.com/zhanxw/checkVCF
Hello zhangcc89!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!