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.
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.

Problem with running Mutect2 and CosmicCodingMuts.vcf


I have project on tumor and normal samples I have trouble in running mutect2. I found I should do sorting step by Picard SortVcf but I got another error.

Please take a brief look at my pipeline and let me know what is the problem :

1- Downloading CosmicCoding and CosmicNonCoding

2- java -jar picard.jar SortVcf I= hg19/CosmicCodingMuts.vcf.gz O=hg19/CosmicCodingMuts_new.vcf.gz SEQUENCE_DICTIONARY=hg19/ucsc.hg19.dict

and I got these errors

Please let me know how can I fix it?

d position: 2:136,873,423
[Fri Jun 23 17:40:13 IRDT 2017] picard.vcf.SortVcf done. Elapsed time: 0.09 minutes.
To get help, see
Exception in thread "main" java.lang.NullPointerException
at java.util.TimSort.countRunAndMakeAscending(
at java.util.TimSort.sort(
at java.util.Arrays.sort(
at htsjdk.samtools.util.SortingCollection.spillToDisk(
at htsjdk.samtools.util.SortingCollection.add(
at picard.vcf.SortVcf.sortInputs(
at picard.vcf.SortVcf.doWork(
at picard.cmdline.CommandLineProgram.instanceMain(
at picard.cmdline.PicardCommandLine.instanceMain(
at picard.cmdline.PicardCommandLine.main(


Sign In or Register to comment.