Open verne91 opened 5 years ago
Any update for this issue?
This problem has been fixed at hisat2_v2.2.0_beta branch. We are testing 2.2.0_beta to release. You can use the script file of the beta branch.
But, '*' alternate bases are not supported by the scrip. We will add the feature soon.
Thank you.
I am using
hisat2_extract_snps_haplotypes_VCF.py
to extract snps from my vcf files. I found a logic error in the script between line 92 and line 114:The first five columns of the record in my example are:
The reference allele is CT, and the alternative alleles are TT,*,C.
When the script process the first alternative allele, the variables in the script are:
Therefore, on line 105 and 106, the variables become:
So, it would cause the assertion error on line 118.
I don't know why you just extract the latter part of the two alleles. In addition, I don't think this script can deal with "*" in the alternative alleles.