How to merge multiple patient's vcf files (indel and snv) with different IDs?
0
0
Entering edit mode
2.7 years ago
Zahra ▴ 110

Hi all, I have some VCF files for my patients, each patient has 2 files( indel.vcf , snv.vcf) and I want to merge these file by the script bellow:

java -jar gatk-package-4.2.0.0-local.jar  MergeVcfs -I /PATH_TO_patient1_ID_indel.vcf  -I /PATH_TO_patient1_ID_snv.vcf -O /PATH_TO_patient1_ID_merged.vcf

I don't know how to do this for multiple patients with different IDs.

Thanks for any help.

vcf gatk • 747 views
ADD COMMENT
1
Entering edit mode

bcftools concat may help

ADD REPLY

Login before adding your answer.

Traffic: 2433 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