Skip to content

Commit

Permalink
Merge pull request #3 from mr-c/patch-1
Browse files Browse the repository at this point in the history
don't rely on CLASSPATH
  • Loading branch information
cmball1 authored Sep 5, 2018
2 parents 578066e + 4d080b9 commit 6011878
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions topmed-workflows/TOPMed_RNAseq_pipeline/markduplicates.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ doc: |
cwlVersion: v1.0
class: CommandLineTool
label: "run-MarkDuplicates"
baseCommand: [java]
baseCommand: [picard, MarkDuplicates]

requirements: # turn back into a hint when the biocontainer has its classpath
# updated
hints:
EnvVarRequirement:
envDef:
CLASSPATH: /usr/local/share/picard-2.9.2-2/picard.jar
JAVA_TOOL_OPTIONS: "-Xmx$(runtime.ram)M"
DockerRequirement:
dockerPull: quay.io/biocontainers/picard:2.9.2--2

Expand All @@ -28,11 +27,6 @@ inputs:
type: string

arguments:
- prefix: -Xmx
valueFrom: $(runtime.ram)M
separate: false
- picard.cmdline.PicardCommandLine
- MarkDuplicates
- I=$(inputs.input_bam.path)
- O=$(runtime.outdir)/$(inputs.input_bam.nameroot).md.bam
- M=$(runtime.outdir)/$(inputs.prefix_str).marked_dup_metrics.txt
Expand Down

0 comments on commit 6011878

Please sign in to comment.