Hi I am trying to extract snp from my snp and I have used V2.1&2.2 bench, there is a same error.
cmdline: python hisat2_extract_snps_haplotypes_VCF.py "/media/wgs/reference/Homo_sapiens_assembly38.fasta" "/media/wgs/wgs_practice/joint_calling/1013clean.vcf.gz" snp
error:
Traceback (most recent call last):
File "hisat2_extract_snps_haplotypes_VCF.py", line 919, in
args.verbose)
File "hisat2_extract_snps_haplotypes_VCF.py", line 616, in main
if line.startswith("##"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
I tested db142 and my own vcf and the error is the same.
Hi I am trying to extract snp from my snp and I have used V2.1&2.2 bench, there is a same error.
cmdline: python hisat2_extract_snps_haplotypes_VCF.py "/media/wgs/reference/Homo_sapiens_assembly38.fasta" "/media/wgs/wgs_practice/joint_calling/1013clean.vcf.gz" snp
error: Traceback (most recent call last): File "hisat2_extract_snps_haplotypes_VCF.py", line 919, in
args.verbose)
File "hisat2_extract_snps_haplotypes_VCF.py", line 616, in main
if line.startswith("##"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
I tested db142 and my own vcf and the error is the same.