I am using the GATK best practices for germline SNPs and Indels in Whole Genomes and Exomes and I get the following error when I try to use this command: os.system('java -Xmx6g -Djava.io.tmpdir=/Users/seyfim/tmp -jar /Users/seyfim/software/GenomeAnalysisTK-3.7-0/GenomeAnalysisTK.jar -T GenotypeGVCFs -R /Users/seyfim/Directory/Marilyn/hg19.fa --variant '+n+'.sample.raw.vcf -o ALL_SAMPLES.vcf -V '+rest)
Error:
ERROR --
ERROR stack trace
java.lang.NullPointerException
at org.broadinstitute.gatk.utils.commandline.ArgumentTypeDescriptor.parseRodBindingCollectionSource(ArgumentTypeDescriptor.java:448)
at org.broadinstitute.gatk.utils.commandline.RodBindingCollectionArgumentTypeDescriptor.parse(ArgumentTypeDescriptor.java:671)
at org.broadinstitute.gatk.utils.commandline.CompoundArgumentTypeDescriptor.parse(ArgumentTypeDescriptor.java:834)
at org.broadinstitute.gatk.utils.commandline.ArgumentTypeDescriptor.parse(ArgumentTypeDescriptor.java:137)
at org.broadinstitute.gatk.utils.commandline.ArgumentSource.parse(ArgumentSource.java:119)
at org.broadinstitute.gatk.utils.commandline.ParsingEngine.loadValueIntoObject(ParsingEngine.java:509)
at org.broadinstitute.gatk.utils.commandline.ParsingEngine.loadArgumentsIntoObject(ParsingEngine.java:429)
at org.broadinstitute.gatk.utils.commandline.ParsingEngine.loadArgumentsIntoObject(ParsingEngine.java:403)
at org.broadinstitute.gatk.utils.commandline.CommandLineProgram.loadArgumentsIntoObject(CommandLineProgram.java:279)
at org.broadinstitute.gatk.engine.CommandLineExecutable.execute(CommandLineExecutable.java:112)
at org.broadinstitute.gatk.utils.commandline.CommandLineProgram.start(CommandLineProgram.java:256)
at org.broadinstitute.gatk.utils.commandline.CommandLineProgram.start(CommandLineProgram.java:158)
at org.broadinstitute.gatk.engine.CommandLineGATK.main(CommandLineGATK.java:108)