Skip to content

Commit

Permalink
fix: use appropriate java jdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth8392 committed Sep 26, 2024
1 parent d1a6725 commit 66e8e13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion workflow/rules/qc.smk
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ rule snpeff:
envmodules: config['tools']['snpEff']['modname']
container: config['images']['wes_base']
shell: """
java -Xmx12g -jar $SNPEFF_JAR \\
java8 -Xmx12g -jar $SNPEFF_JAR \\
-v -canon -c {params.config} \\
-csvstats {output.csv} \\
-stats {output.html} \\
Expand Down
2 changes: 1 addition & 1 deletion workflow/rules/somatic_snps.common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ rule somatic_merge_callers:
mkdir -p "$(dirname {output.mergedvcf})"
fi
java -Xmx60g -Djava.io.tmpdir=${{tmp}} -jar $GATK_JAR -T CombineVariants \\
java8 -Xmx60g -Djava.io.tmpdir=${{tmp}} -jar $GATK_JAR -T CombineVariants \\
-R {params.genome} \\
-nt {threads} \\
--filteredrecordsmergetype KEEP_IF_ANY_UNFILTERED \\
Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/somatic_snps.paired.smk
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ rule strelka:
cd "$myoutdir"
./runWorkflow.py -m local -j {threads}
java -Xmx12g -Djava.io.tmpdir=${{tmp}} -XX:ParallelGCThreads={threads} \\
java8 -Xmx12g -Djava.io.tmpdir=${{tmp}} -XX:ParallelGCThreads={threads} \\
-jar $GATK_JAR -T CombineVariants \\
-R {params.genome} \\
--variant results/variants/somatic.snvs.vcf.gz \\
Expand Down Expand Up @@ -439,7 +439,7 @@ rule varscan_paired:
awk '{{gsub(/\y[W|K|Y|R|S|M|B|D|H|V]\y/,"N",$4); OFS = "\t"; print}}' {output.vcf}.indel \\
| sed '/^$/d' > {output.vcf}.indel_temp
java -Xmx12g -Djava.io.tmpdir=${{tmp}} -XX:ParallelGCThreads={threads} \\
java8 -Xmx12g -Djava.io.tmpdir=${{tmp}} -XX:ParallelGCThreads={threads} \\
-jar $GATK_JAR -T CombineVariants \\
-R {params.genome} \\
--variant {output.vcf}.snp_temp \\
Expand Down

0 comments on commit 66e8e13

Please sign in to comment.