-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTSlib should fail on trailing INFO garbage #1253
Comments
This is partly a problem with your VCF, partly with HTSlib:
|
Thx for the response! In this case, how should I modify the format of my VCF file to make this right? btw, no warning messages are given by the bcftools view |
I don't know what is the intention, but probably it would be best to redefine the tag in the header as |
The version I use is 1.11
The command I ran is
bcftools view -R <target_region>.tsv -Oz -o <output_path>.vcf.gz <input_path>.vcf.gz
The vcf file is from simulation data, the golden vcf file. And the input vcf file looks like this:
The output vcf file looks like this:
Be aware of the part marked by the red circle. The end of the row is automatically sliced out, the trailing slash and last digit.
Pls take a look at this issue and let me know how can I resolve this. Thx!
The text was updated successfully, but these errors were encountered: