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.

43 lignes
1.1KB

  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. /home/delly call -o ${sample}_delly.bcf \
  15. -g ${ref_dir}/${fasta} \
  16. ${tumor_bam} ${normal_bam}
  17. /home/delly filter -p -f somatic \
  18. -o ${sample}_delly.somatic.bcf -s ${sample_tsv} ${sample}_delly.bcf
  19. bcftools convert -O v -o ${sample}_delly.somatic.vcf ${sample}_delly.somatic.bcf
  20. vcftools --vcf ${sample}_delly.somatic.vcf \
  21. --out ${sample}_delly.somatic.PASS \
  22. --recode --recode-INFO-all --remove-filtered-all
  23. >>>
  24. runtime{
  25. docker:docker
  26. cluster:cluster_config
  27. systemDisk:"cloud_ssd 40"
  28. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  29. timeout:259200
  30. }
  31. output{
  32. File somatic_bcf = "${sample}_delly.somatic.bcf"
  33. File somatic_vcf = "${sample}_delly.somatic.vcf"
  34. File pass_vcf = "${sample}_delly.somatic.PASS.recode.vcf"
  35. }
  36. }