Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit c27b3dc

Browse files
committed
Merge branch 'release/1.25-2'
2 parents 1d20c4e + 95f8274 commit c27b3dc

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Dockstore.cwl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dct:creator:
1212
1313
requirements:
1414
- class: DockerRequirement
15-
dockerPull: "quay.io/briandoconnor/dockstore-tool-bamstats:1.25"
15+
dockerPull: "quay.io/briandoconnor/dockstore-tool-bamstats:1.25-1"
1616
- { import: node-engine.cwl }
1717
1818
hints:
@@ -22,12 +22,20 @@ hints:
2222
outdirMin: 512000
2323
description: "the process requires at least 4G of RAM"
2424
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+
2533
inputs:
2634
- id: "#bam_input"
2735
type: File
2836
description: "The BAM file used as input, it must be sorted."
2937
inputBinding:
30-
position: 1
38+
position: 2
3139
3240
outputs:
3341
- id: "#bamstats_report"

bin/bamstats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
set -euf -o pipefail
33

4-
java -Xmx4g -jar /opt/BAMStats-1.25/BAMStats-1.25.jar -i $1 -o bamstats_report.html -v html
4+
java -Xmx$1g -jar /opt/BAMStats-1.25/BAMStats-1.25.jar -i $2 -o bamstats_report.html -v html
55
zip -r bamstats_report.zip bamstats_report.html bamstats_report.html.data

0 commit comments

Comments
 (0)