Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

VariantsToTable for multi-sample VCF's?

summerelasummerela Seattle, WaMember
edited March 2015 in Ask the GATK team

Hi-

Will VariantsToTable work for multi-sample VCF files? I've tried the following command, but it only outputs the column headers:

java -jar ~/tools/GenomeAnalysisTK.jar -R chr1.fa -T VariantsToTable -V cg_100.vcf.gz -F CHROM -F POS -F ID -F REF -F ALT -F F-101-009 -o test.table

Thanks,
Summer

Best Answer

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie admin

    It should work; try dropping that last field, which looks unfamiliar to me.

  • summerelasummerela Seattle, WaMember

    Hi Geraldine-

    Thanks so much for the quick reply. I did try with and without that last field (it's a sample name I tried adding to see if that made any difference) and it does not output anything. I tried ommiting all but the CHROM, POS, ID, REF and ALT fields, as well. I followed your guide for building the reference dict and fai files, indexed the VCF with tabix.

    The VCF files are CGI, not illumina, does that make any difference?

    Thanks,
    Summer

  • summerelasummerela Seattle, WaMember

    Thank you, I'll test it out and let you know!

Sign In or Register to comment.