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.

5 年之前
1234567891011121314151617181920212223242526
  1. task samtools {
  2. String base = basename(bam, ".sorted.bam")
  3. String docker
  4. String cluster
  5. command <<<
  6. mkdir hla_type
  7. ./arcasHLA extract ${sorted_bam} -o ${base}.extracted.fq.gz --paired -t 8 -v
  8. ./arcasHLA genotype ${bam}.extracted.1.fq.gz ${bam}.extracted.2.fq.gz hla_type/${base}.genotype.json
  9. >>>
  10. runtime {
  11. docker: docker
  12. cluster: cluster
  13. systemDisk: "cloud_ssd 40"
  14. dataDisk: "cloud_ssd 200 /cromwell_root/"
  15. }
  16. output {
  17. File extracted_1p = base + "extracted.1.fq.gz"
  18. File extracted_2p = base + "extracted.2.fq.gz"
  19. Array[File] hla_type = ["hla_type/${base}.genotype.json", "hla_type/${base}.genes.json", "hla_type/${base}.extract.log", "hla_type/${base}.genotype.log"]
  20. }
  21. }