Explorar el Código

indexBam fix output

master
LUYAO REN hace 6 años
padre
commit
82ff9e0034
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. +2
    -4
      tasks/indexBam.wdl

+ 2
- 4
tasks/indexBam.wdl Ver fichero

@@ -1,8 +1,6 @@
task indexBam {
File sorted_bam
String sample
String base = basename(sorted_bam,'.bam')
String bam_index = base + ".bam.bai"
String SAMdocker
String cluster_config
String disk_size
@@ -10,7 +8,7 @@ task indexBam {
command <<<
set -o pipefail
set -e
/opt/conda/bin/samtools index ${sorted_bam}
/opt/conda/bin/samtools index ${sorted_bam} ${sample}.bam.bai
>>>

runtime {
@@ -20,6 +18,6 @@ task indexBam {
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
}
output {
File sorted_bam_index = bam_index
File sorted_bam_index = "${sample}.bam.bai"
}
}

Cargando…
Cancelar
Guardar