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.

49 line
945B

  1. task charger{
  2. String sample_id
  3. File vep_vcf
  4. File inheritanceGeneList
  5. File clinvar
  6. File pathogenic
  7. File HotSpot3D
  8. File PP2GeneList
  9. String disk_size
  10. String docker
  11. String cluster
  12. command <<<
  13. set -o pipefail
  14. set -e
  15. vep_index=`echo ${vep_vcf}|awk -F "/" '{print $NF}'|sed 's/.vcf//'`
  16. echo ${sample_id}
  17. mkdir ./output/
  18. charger -f ${vep_vcf} \
  19. -o ./output/$vep_index.charger.tsv \
  20. -D ${inheritanceGeneList} \
  21. -l --mac-clinvar-tsv ${clinvar} \
  22. -z ${pathogenic} \
  23. -H ${HotSpot3D} \
  24. --PP2GeneList ${PP2GeneList}
  25. >>>
  26. runtime {
  27. docker: docker
  28. cluster: cluster
  29. systemDisk: "cloud_ssd 40"
  30. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  31. }
  32. output {
  33. Array[File] filter_result=glob("./output/${sample_id}*")
  34. }
  35. }