version 1.0 task bamstats { input { File bam_input Int mem_gb } command { bash /usr/local/bin/bamstats ${mem_gb} ${bam_input} } output { File bamstats_report = "bamstats_report.zip" } runtime { docker: "quay.io/collaboratory/dockstore-tool-bamstats:1.25-7" memory: mem_gb + "GB" } meta { author: "Andrew Duncan" } } workflow bamstatsWorkflow { input { File bam_input Int mem_gb } call bamstats { input: bam_input=bam_input, mem_gb=mem_gb } }