Delly pipeline for somatic SV
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

49 lignes
1.2KB

  1. task delly{
  2. String sample
  3. File ref_dir
  4. String fasta
  5. File sample_tsv
  6. File tumor_bam
  7. File tumor_bam_index
  8. File normal_bam
  9. File normal_bam_index
  10. String docker
  11. String cluster_config
  12. String disk_size
  13. command<<<
  14. set -o pipefail
  15. set -e
  16. nt=$(nproc)
  17. make PARALLEL=1 -B /home/delly
  18. export OMP_NUM_THREADS=$nt
  19. /home/delly call -o ${sample}_delly.bcf \
  20. -g ${ref_dir}/${fasta} \
  21. ${tumor_bam} ${normal_bam}
  22. /home/delly filter -p -f somatic \
  23. -o ${sample}_delly.somatic.bcf -s ${sample_tsv} ${sample}_delly.bcf
  24. bcftools convert -O v -o ${sample}_delly.somatic.vcf ${sample}_delly.somatic.bcf
  25. vcftools --vcf ${sample}_delly.somatic.vcf \
  26. --out ${sample}_delly.somatic.PASS \
  27. --recode --recode-INFO-all --remove-filtered-all
  28. >>>
  29. runtime{
  30. docker:docker
  31. cluster:cluster_config
  32. systemDisk:"cloud_ssd 40"
  33. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  34. timeout:259200
  35. }
  36. output{
  37. File somatic_bcf = "${sample}_delly.somatic.bcf"
  38. File somatic_vcf = "${sample}_delly.somatic.vcf"
  39. File pass_vcf = "${sample}_delly.somatic.PASS.recode.vcf"
  40. }
  41. }