This repository was archived by the owner on Aug 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dct:creator:
12
12
13
13
requirements:
14
14
- class: DockerRequirement
15
- dockerPull: "quay. io/briandoconnor/dockstore-tool-bamstats:1. 25"
15
+ dockerPull: "quay. io/briandoconnor/dockstore-tool-bamstats:1. 25-1 "
16
16
- { import: node-engine. cwl }
17
17
18
18
hints:
@@ -22,12 +22,20 @@ hints:
22
22
outdirMin: 512000
23
23
description: "the process requires at least 4G of RAM"
24
24
25
+ inputs:
26
+ - id: "#mem_gb"
27
+ type: int
28
+ default: 4
29
+ description: "The memory, in GB, for the reporting tool"
30
+ inputBinding:
31
+ position: 1
32
+
25
33
inputs:
26
34
- id: "#bam_input"
27
35
type: File
28
36
description: "The BAM file used as input, it must be sorted. "
29
37
inputBinding:
30
- position: 1
38
+ position: 2
31
39
32
40
outputs:
33
41
- id: "#bamstats_report"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -euf -o pipefail
3
3
4
- java -Xmx4g -jar /opt/BAMStats-1.25/BAMStats-1.25.jar -i $1 -o bamstats_report.html -v html
4
+ java -Xmx $1 g -jar /opt/BAMStats-1.25/BAMStats-1.25.jar -i $2 -o bamstats_report.html -v html
5
5
zip -r bamstats_report.zip bamstats_report.html bamstats_report.html.data
You can’t perform that action at this time.
0 commit comments