This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract individual samples from combined gvcf file

Hi, everyone.

Is it possible to extract the gvcf files of a specific individual from the files combined by CombineGVCFs of GATK?

If you have any commands or scripts, I would appreciate it if you could let me know.

Thank you.

gatk combinegvcfs

1 answer

you can try : bcftools view --samples-file id.txt your.gvcf

note: not tested

Thank you for your prompt reply. It was very helpful.

Log in to answer this question.