You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:
Traceback (most recent call last):
File "/media/test/data/qiuh/vcf2phylip.py", line 419, in
main()
File "/media/test/data/qiuh/vcf2phylip.py", line 123, in main
if line.startswith("#CHROM"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
my vcf file:
#...
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT CHBS015 CHBS016 CHBS017 CHBS018 ...
NW_025965004.1 8978 . A G . . . GT ./. 1/1 1/1 1/1 1/1 ./. 1/1 ...
The text was updated successfully, but these errors were encountered:
The snippet from your VCF doesn't tell me much, I need some actual lines from it to be able to diagnose the problem. Could you attach a few hundred genotype lines here?
Hi Edgardo
Thanks very much. I have solved this error by this method that I load the right zip file including vcf2phylip.py on the web github.com. Finally, I got merge.min4.phy.
Have a good day.
Grace
error:
Traceback (most recent call last):
File "/media/test/data/qiuh/vcf2phylip.py", line 419, in
main()
File "/media/test/data/qiuh/vcf2phylip.py", line 123, in main
if line.startswith("#CHROM"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
my vcf file:
#...
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT CHBS015 CHBS016 CHBS017 CHBS018 ...
NW_025965004.1 8978 . A G . . . GT ./. 1/1 1/1 1/1 1/1 ./. 1/1 ...
The text was updated successfully, but these errors were encountered: