LUYAO REN 6 лет назад
Родитель
Сommit
82ff9e0034
1 измененных файлов: 2 добавлений и 4 удалений
  1. +2
    -4
      tasks/indexBam.wdl

+ 2
- 4
tasks/indexBam.wdl Просмотреть файл

@@ -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"
}
}

Загрузка…
Отмена
Сохранить