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.

38 line
891B

  1. task battenberg {
  2. String sample_id
  3. File tumor_bam
  4. String normal_id
  5. File normal_bam
  6. String docker
  7. String cluster
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. cp ${normal_bam} ./${normal_id}.bam
  13. cp ${tumor_bam} ./${sample_id}.bam
  14. samtools view -h ./${normal_id}.bam |sed 's/chr//g'|samtools view -bS -o ./${normal_id}.sorted.deduped.nochr.bam
  15. samtools view -h ./${sample_id}.bam |sed 's/chr//g'|samtools view -bS -o ./${sample_id}.sorted.deduped.nochr.bam
  16. >>>
  17. runtime {
  18. docker : docker
  19. cluster: cluster
  20. systemDisk: "cloud_ssd 40"
  21. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  22. }
  23. output {
  24. File tumor_bam_data = "${normal_id}.sorted.deduped.nochr.bam"
  25. File normal_bam_data = "${sample_id}.sorted.deduped.nochr.bam"
  26. }
  27. }