ソースを参照

indexBam fix output

master
LUYAO REN 6年前
コミット
82ff9e0034
1個のファイルの変更2行の追加4行の削除
  1. +2
    -4
      tasks/indexBam.wdl

+ 2
- 4
tasks/indexBam.wdl ファイルの表示

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


runtime { runtime {
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
} }
output { output {
File sorted_bam_index = bam_index
File sorted_bam_index = "${sample}.bam.bai"
} }
} }

読み込み中…
キャンセル
保存