Merging vcf files ?
2
0
Entering edit mode
8.4 years ago
Picasa ▴ 650

I have 8 individuals from whom I run variant analysis (with GATK). So I have now 8 .vcf files.

These 8 individuals can be splitted into 2 groups and that's what I wanted to know.

Is there a way to merge the 8 .vcf files and to perform a kind of GWAS analysis to discriminate my samples ? Do you have any recommendation for a method ?

Thanks.

vcf • 4.5k views
ADD COMMENT
0
Entering edit mode

If you can clarify more. Do you perform non somatic variant call or variant call having both somatic and germline? Check this thread

Vcftool is there do so such.

Just check this post carefully and see before performing the merge.

ADD REPLY
0
Entering edit mode

Hi,

How is it important between non somatic and with somatic ??

ADD REPLY
0
Entering edit mode

It depends on your biological reasoning about what you are actually interested in, if you are trying to find mutations that is driving the disease specfic to your patients (exclusive or common) against control data of a family member who does not have the disease then it might help you in defining the mutations that are germline/somatic/ de novo. Then you can always associate them with any standard annotation softwares like ANNOVAR, SNPeff or VEP.

ADD REPLY
0
Entering edit mode

vcftools has vcc-merge module. It might help you through with the merging multiple vcf files.

ADD REPLY
0
Entering edit mode
5.7 years ago
jaybee ▴ 170

You can try /PATH/to/bcftools merge Home/data/*vcf.gz -Oz -o Merged.vcf.gz

[considering that your files A.vcf.gz , B.vcf.gz and so on are in the Home directory, under the folder data]

[If your bcftools is installed in the usr/bin directory then simply use:

/usr/bin/bcftools merge Home/data/*vcf.gz -Oz -o Merged.vcf.gz

This should work fine!

ADD COMMENT
0
Entering edit mode
2.4 years ago
fotaye7734 • 0

Softaken Merger VCF is a highly efficient and reliable tool that merges multiple VCF files into one combined VCF file. This innovative utility offers a cost-effective and reliable option to merge vCard Contacts and other mail items into a single file.

ADD COMMENT

Login before adding your answer.

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