Skip to content

Commit

Permalink
fixing picard path
Browse files Browse the repository at this point in the history
  • Loading branch information
LiaOb21 committed Jan 3, 2024
1 parent d56e90b commit 7c4154e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/picard.smk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rule picard:
"../envs/arima_mapping_pipeline.yaml"
shell:
"""
PICARD="{CONDA_PREFIX}/share/picard-*/picard.jar" >> {log} 2>&1
PICARD="{CONDA_PREFIX}/share/picard-*/picard.jar"
java -Xmx4G -Djava.io.tmpdir=temp/ -jar $PICARD AddOrReplaceReadGroups INPUT={input.tmp_bam} OUTPUT={output.bam_paired} ID={sample} LB={sample} SM={sample} PL=ILLUMINA PU=none >> {log} 2>&1
java -Xmx30G -XX:-UseGCOverheadLimit -Djava.io.tmpdir=temp/ -jar $PICARD MarkDuplicates INPUT={output.bam_paired} OUTPUT={output.mark_dup} METRICS_FILE={output.metrics} TMP_DIR={input.TMP_DIR} ASSUME_SORTED=TRUE VALIDATION_STRINGENCY=LENIENT REMOVE_DUPLICATES=TRUE >> {log} 2>&1
samtools index {output.mark_dup} >> {log} 2>&1
Expand Down

0 comments on commit 7c4154e

Please sign in to comment.