Skip to content

Commit

Permalink
fix: picard has a different CLI when installed via conda
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Apr 30, 2024
1 parent b3ebb45 commit 45d981a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/align.smk
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,6 @@ rule estimate_duplication:
shell:
"""
set -exo pipefail
java -Xmx{params.memG} -jar ${{PICARD_JARPATH}}/picard.jar MarkDuplicates I={input.bam} O=/dev/shm/{params.sample}.mark_dup.bam M={output.metrics}
picard -Xmx{params.memG} MarkDuplicates -I={input.bam} -O=/dev/shm/{params.sample}.mark_dup.bam -M={output.metrics}
rm -f /dev/shm/{params.sample}*
"""

0 comments on commit 45d981a

Please sign in to comment.