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.

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.