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.
Attention:
We will be out of the office on November 11th and 13th 2019, due to the U.S. holiday(Veteran's day) and due to a team event(Nov 13th). We will return to monitoring the GATK forum on November 12th and 14th respectively. Thank you for your patience.

Error with MergeVcfs

I'm trying to merge some vcfs together and am getting an error with merge vcfs.

java -jar picard.jar MergeVcfs \
I=c1mt.vcf \
I=c2.vcf \
I=c3.vcf \
O=allc.vcf 
00:30:22.798 INFO  NativeLibraryLoader - Loading libgkl_compression.so from jar:file:/projects/[email protected]/picard/build/libs/picard.jar!/com/intel/gkl/native/libgkl_compression.so
[Thu Jun 28 00:30:22 MDT 2018] MergeVcfs INPUT=[c1mt.vcf, c2.vcf, c3.vcf] OUTPUT=allc.vcf    VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=true CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json USE_JDK_DEFLATER=false USE_JDK_INFLATER=false
[Thu Jun 28 00:30:22 MDT 2018] Executing as [email protected]@shas0136 on Linux 3.10.0-693.33.1.el7.x86_64 amd64; Java HotSpot(TM) 64-Bit Server VM 1.8.0_91-b14; Deflater: Intel; Inflater: Intel; Provider GCS is not available; Picard version: 2.18.6-SNAPSHOT
[Thu Jun 28 00:30:22 MDT 2018] picard.vcf.MergeVcfs done. Elapsed time: 0.00 minutes.
Runtime.totalMemory()=2022178816
To get help, see http://broadinstitute.github.io/picard/index.html#GettingHelp
Exception in thread "main" java.lang.IllegalArgumentException: Input file c2.vcf has sample entries that don't match the other files.
    at picard.vcf.MergeVcfs.doWork(MergeVcfs.java:194)
    at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:282)
    at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:103)
    at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:113)

Not sure where this error is coming from

Tagged:

Best Answer

Answers

Sign In or Register to comment.