Infer and visualize copy number from high-throughput DNA sequencing data.
Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- task batch {
- String sample_id
- Array[File] tumor_bam
- Array[File] tumor_bai
- Array[File] normal_bam
- Array[File] normal_bai
- File bed
- File faidx
- File fasta
- File? ref_flat
- File access_bed
- File? reference
- String method
- String docker
- String cluster_config
- String disk_size
-
- String annotate_opt = if defined(ref_flat) then "--annotate ${ref_flat}" else ""
- String reference_opt = if defined(reference) then "--reference ${reference}" else ""
-
- command <<<
- set -o pipefail
- set -e
- mkdir -p /cromwell_root/tmp/cnvkit
- cp ${sep=' ' normal_bai} /cromwell_root/tmp/cnvkit
- cp ${sep=' ' tumor_bai} /cromwell_root/tmp/cnvkit
- cp ${fasta} /cromwell_root/tmp/cnvkit/hg38.fa
- cp ${faidx} /cromwell_root/tmp/cnvkit/hg38.fai
- cd /cromwell_root/tmp/cnvkit
-
- mkdir results
- cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \
- --targets ${bed} --method ${method} \
- ${annotate_opt} ${reference_opt} \
- --fasta hg38.fa --access ${access_bed} \
- --output-reference ~/${sample_id}.reference.cnn \
- --output-dir ./results/ \
- --drop-low-coverage --diagram --scatter
- >>>
-
- runtime {
- docker: docker
- cluster: cluster_config
- systemDisk: "cloud_ssd 40"
- dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
- }
-
- output {
- File reference_cnn = "${sample_id}.reference.cnn"
- Array[File] results = glob("/cromwell_root/tmp/cnvkit/results/*")
- }
- }
|