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.

30 satır
912B

  1. task vcf2maf {
  2. File multianno_TNscope_txt
  3. File multianno_TNseq_txt
  4. String sample
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. vcf2maf ${multianno_TNscope_txt} ${sample}.TNscope.MAF
  10. vcf2maf ${multianno_TNseq_txt} ${sample}.TNseq.MAF
  11. awk -F '\t' '{if(($1=="Tumor_Sample_Barcode")||($1~"^${sample}" && $180=="PASS")){print $0}}' ${sample}.TNscope.MAF > ${sample}.TNscope.PASS.MAF
  12. awk -F '\t' '{if(($1=="Tumor_Sample_Barcode")||($1~"^${sample}" && $180=="PASS")){print $0}}' ${sample}.TNseq.MAF > ${sample}.TNseq.PASS.MAF
  13. >>>
  14. runtime {
  15. docker: docker
  16. cluster: cluster_config
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File tnscope_maf = "${sample}.TNscope.MAF"
  22. File tnseq_maf = "${sample}.TNseq.MAF"
  23. File tnscope_pass_maf = "${sample}.TNscope.PASS.MAF"
  24. File tnseq_pass_maf = "${sample}.TNseq.PASS.MAF"
  25. }
  26. }