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

merge_mendelian_vote.wdl 892B

5 年前
5 年前
12345678910111213141516171819202122232425262728293031
  1. task merge_mendelian_vote {
  2. File vote_file
  3. File mendelian_file
  4. File mut_file
  5. String output_prefix
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. python /opt/merge_mendelian_vote.py ${mendelian_file} ${vote_file} ${mut_file} ${output_prefix}.mendelian.vote.txt
  11. cat ${output_prefix}.mendelian.vote.txt | awk '{ if ((length($6) < 51) || (length($7) < 51)) { print } }' > ${output_prefix}.snv
  12. cat ${output_prefix}.mendelian.vote.txt | awk '{ if ((length($6) > 50) || (length($7) > 50)) { print } }' > ${output_prefix}.indel
  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 mendelian_vote = "${output_prefix}.mendelian.vote.txt"
  22. File mendelian_vote_snv = "${output_prefix}.snv"
  23. File mendelian_vote_indel = "${output_prefix}.indel"
  24. }
  25. }