您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

31 行
769B

  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 ${mie_file} | awk '{ if ($3 == 0) { print } }' | cut -f1,8,9 > ${sample_name}.${chromo}.allvariants.bed
  11. cat ${mie_file} | 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. }