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.

MIEpos2bed.wdl 885B

5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
123456789101112131415161718192021222324252627282930
  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. python /opt/vcf2bed.py ${mie_file} ${sample_name}.${chromo}.info.txt
  10. cat ${sample_name}.${chromo}.info.txt | grep -v '0:4:4' | grep -v '1:4:4' | awk '{ if ($3 != 0) { print } }' | cut -f1,8,9 > ${sample_name}.${chromo}.allvariants.bed
  11. cat ${sample_name}.${chromo}.info.txt | grep -v '0:4:4' | grep -v '1:4:4' | awk '{ if ($3 != 0) { print } }' | grep 'MIE' | cut -f1,8,9 > ${sample_name}.${chromo}.mie.bed
  12. >>>
  13. runtime {
  14. docker:docker
  15. cluster: cluster_config
  16. systemDisk: "cloud_ssd 40"
  17. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  18. }
  19. output {
  20. File info = "${sample_name}.${chromo}.info.txt"
  21. File mie_bed = "${sample_name}.${chromo}.mie.bed"
  22. File all_bed = "${sample_name}.${chromo}.allvariants.bed"
  23. }
  24. }