Extract individual samples from combined gvcf file
1
0
Entering edit mode
12 months ago
Shin Taguchi ▴ 40

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 • 436 views
ADD COMMENT
1
Entering edit mode
12 months ago
size_t ▴ 120

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

note: not tested

ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2761 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6