This is a test version of Biostars. For the public version, visit https://www.biostars.org.
multi sample vcf to data matrix

Hi everyone I have almost 50 VCF files consisting of information of somatic and germline SNPs. I need to convert this data from vcf to matrix format as given below :

             sample1  samples2
Gene1        0            1

Gene2        1            0

Gene3        1             1

Here , 0 and 1 represents if gene has SNP or not in relevant sample.

Is there any tool available to do this analysis?

I will appreciate all the suggestions

Thanks

vcf snp gatk

Hello archie ,

could you please provide an example of your input and how your output should look like bases on this example?

fin swimmer

0 answers

No answers yet.

Log in to answer this question.