使用sentieon的TNseq
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.

54 lines
1.2KB

  1. task sentieon_TNseq{
  2. String sample_id
  3. File tumor_bam
  4. File tumor_bam_bai
  5. File? normal_bam
  6. File? normal_bam_bai
  7. String tumor_name
  8. String normal_name
  9. File ref_dir
  10. String ref_fasta
  11. File germline_resource
  12. File germline_resource_tbi
  13. File? regions
  14. Int? interval_padding
  15. # excute env
  16. String docker
  17. String cluster_config
  18. String disk_size
  19. String SENTIEON_LICENSE
  20. command <<<
  21. set -o pipefail
  22. set -exo
  23. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  24. nt=$(nproc)
  25. sentieon licclnt ping -s 172.25.2.5:8990 && echo 'It works.'
  26. >>>
  27. runtime{
  28. docker:docker
  29. cluster:cluster_config
  30. systemDisk:"cloud_ssd 40"
  31. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  32. }
  33. output{
  34. File raw_vcf = "${sample_id}.TNseq.raw.vcf"
  35. File raw_vcf_index = "${sample_id}.TNseq.raw.vcf.idx"
  36. File vcf = "${sample_id}.bwa_TNseq.vcf"
  37. File vcf_index = "${sample_id}.bwa_TNseq.vcf.idx"
  38. File contamination = "${sample_id}.contamination"
  39. File contamination_segments = "${sample_id}.contamination.segments"
  40. File orientation = "${sample_id}.orientation"
  41. }
  42. }