Parallel by Region (sh)
This applet performs a basic SAMtools count on a series of sliced (by canonical chromosome) BAM files in parallel using wait.
How is the SAMtools dependency provided?
"runSpec": {
...
"execDepends": [
{"name": "samtools"}
]
}Debugging
set -e -x -o pipefail echo "Value of mappings_sorted_bam: '${mappings_sorted_bam}'" echo "Value of mappings_sorted_bai: '${mappings_sorted_bai}'" mkdir workspace cd workspace dx download "${mappings_sorted_bam}" if [ -z "$mappings_sorted_bai" ]; then samtools index "$mappings_sorted_bam_name" else dx download "${mappings_sorted_bai}" fi
Parallel Run
Job Output
Last updated
Was this helpful?