Dear Pierre, thanks for reply. I downloaded your machine and put all the files in the same directory and ran your command: java -jar picard.jar MergeVcfs I=Germline.hc.fpfilterPassed.vcf.gz I=Somatic.hc.fpfilterPassed.vcf.gz O=out.vcf.gz
It returned nothing and gave this exception:
Exception in thread "main" java.lang.IllegalArgumentException: A sequence dictionary must be available (either through the input file or by setting it explicitly).
I tried to create sequence dictionary using this command:
java -jar picard.jar CreateSequenceDictionary R=hg38.fa O=hg38.fa.dic
It returned an empty file and gave this error:
[Mon Dec 17 08:20:31 IRST 2018] CreateSequenceDictionary OUTPUT=hg38.fa.dic REFERENCE=hg38.fa TRUNCATE_NAMES_AT_WHITESPACE=true NUM_SEQUENCES=2147483647 VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json USE_JDK_DEFLATER=false USE_JDK_INFLATER=false [Mon Dec 17 08:20:31 IRST 2018] Executing as mohammadi@user-Z10PE-D16-WS on Linux
4.13.0-16-generic amd64; OpenJDK 64-Bit Server VM 1.8.0_144-8u144-b01-2-b01; Deflater: Intel; Inflater: Intel; Provider GCS is not available; Picard version: 2.18.20-SNAPSHOT [Mon Dec 17 08:20:31 IRST 2018] picard.sam.CreateSequenceDictionary done. Elapsed time: 0.00 minutes. Runtime.totalMemory()=1011351552 To get help, see http://broadinstitute.github.io/picard/index.html#GettingHelp Exception in thread "main" htsjdk.samtools.SAMException: Error opening file: hg38.fa at htsjdk.samtools.util.IOUtil.openFileForReading(IOUtil.java:637) at htsjdk.samtools.reference.FastaSequenceFile.<init>(FastaSequenceFile.java:64) at htsjdk.samtools.reference.ReferenceSequenceFileFactory.getReferenceSequenceFile(ReferenceSequenceFileFactory.java:140) at htsjdk.samtools.reference.ReferenceSequenceFileFactory.getReferenceSequenceFile(ReferenceSequenceFileFactory.java:96) at htsjdk.samtools.reference.ReferenceSequenceFileFactory.getReferenceSequenceFile(ReferenceSequenceFileFactory.java:84) at picard.sam.CreateSequenceDictionary.doWork(CreateSequenceDictionary.java:220) at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:295) at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:103) at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:113) Caused by: java.nio.file.NoSuchFileException: hg38.fa at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.Files.newByteChannel(Files.java:361)
Any help? Many thanks!

Please be as complete as possible and include the commands you tried, together with the version of Picard you are using.
I'm using the latest version of picard: 2.18.20
This are the tools which I try to run by picard, but failed:
NormalizeFasta MarkDuplicates MergeVcfs CreateSequenceDictionary
I'm doing the exact command given from the website.
for example for MergVcfs, this is the command:
When I run the command I got this:
It returns me nothing. I tried this command:
But I got this error:
Thanks!
Does removing the excessive space between
Germline.hc.fpfilterPassed.vcf -Imake a difference?Hello WouterDeCoster,
No, it doesn't.