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.

28 lines
616B

  1. task MIEpos2bed {
  2. File mie_file
  3. String chromo
  4. String sample_name
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. cat ${mie_file} | awk '{print $1"\t"$2"\t"$2}' > ${sample_name}.${chromo}.allvariants.bed
  10. cat ${mie_file} | grep -v '1:1:1' | awk '{print $1"\t"$2"\t"$2}' > ${sample_name}.${chromo}.mie.bed
  11. >>>
  12. runtime {
  13. docker:docker
  14. cluster: cluster_config
  15. systemDisk: "cloud_ssd 40"
  16. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  17. }
  18. output {
  19. File mie_bed = "${sample_name}.${chromo}.mie.bed"
  20. File all_bed = "${sample_name}.${chromo}.allvariants.bed"
  21. }
  22. }