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

37 行
1.1KB

  1. task zipIndex {
  2. File violation_vcf
  3. File consistent_vcf
  4. File child_vcf_gz
  5. File child_vcf_idx
  6. File child_name
  7. String family_name
  8. String docker
  9. String cluster_config
  10. String disk_size
  11. command <<<
  12. rtg bgzip ${violation_vcf} -c > ${family_name}.violation.vcf.gz
  13. rtg index -f vcf ${family_name}.violation.vcf.gz
  14. rtg bgzip ${consistent_vcf} -c > ${family_name}.consistent.vcf
  15. rtg index -f vcf ${family_name}.consistent.vcf.gz
  16. rtg vcffilter -i ${child_vcf_gz} -o ${child_name}.violation.vcf.gz --include-vcf=${family_name}.violation.vcf.gz
  17. rtg vcffilter -i ${child_vcf_gz} -o ${child_name}.consistent.vcf.gz --include-vcf=${family_name}.consistent.vcf.gz
  18. >>>
  19. runtime {
  20. docker:docker
  21. cluster: cluster_config
  22. systemDisk: "cloud_ssd 40"
  23. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  24. }
  25. output {
  26. File violation_vcf_gz = "${child_name}.violation.vcf.gz"
  27. File violation_vcf_idx = "${child_name}.violation.vcf.gz.tbi"
  28. File consistent_vcf_gz = "${child_name}.consistent.vcf"
  29. File consistent_vcf_idx = "${child_name}.consistent.vcf.tbi"
  30. }
  31. }