Skip to content
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

Sample extraction fails with -O bcf #19

Open
rick-heig opened this issue Feb 18, 2022 · 1 comment
Open

Sample extraction fails with -O bcf #19

rick-heig opened this issue Feb 18, 2022 · 1 comment

Comments

@rick-heig
Copy link

rick-heig commented Feb 18, 2022

Hello.
I compressed chr1 from 1KGP3 (available here ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/)

And checked the file with the following commands :

sav export -O vcf chr1.sav | less
sav export -O bcf chr1.sav | bcftools view | less

This is ok.

Then, for sample extraction and ran the following commands :

sav export -O vcf -i "NA12878,HG00109" chr1.sav | less

which works but,

sav export -O bcf -i "NA12878,HG00109" chr1.sav | bcftools view | less

doesn't work, only the header is shown.

So it seems there is a small bug with the interaction of the -O bcf and -i "sample list" options.

Best regards,
Rick

@jonathonl
Copy link
Collaborator

Thanks for reporting this. I just pushed some fixes for this (200dfe7 and f79b38b). Please try the latest from master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants