You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- task getBam {
- File bam
- File bam_idx
- String sample
- File pos
- String docker
- String cluster_config
- String disk_size
-
- command <<<
- /opt/conda/bin/samtools view ${bam} -H ${sep=" " pos} | /opt/conda/bin/samtools view -bS - | /opt/conda/bin/samtools sort > ${sample}.bam
- /opt/conda/bin/samtools index ${sample}.bam
- >>>
-
- runtime {
- docker:docker
- cluster: cluster_config
- systemDisk: "cloud_ssd 40"
- dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
- }
- output {
- File sub_bam = "${sample}.bam"
- File sub_bai = "${sample}.bam.bai"
- }
- }
|