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.

68 lignes
2.0KB

  1. task arriba{
  2. String sample_id
  3. File fastq1
  4. File fastq2
  5. File STAR_INDEX_DIR
  6. File ASSEMBLY_FA
  7. File ANNOTATION_GTF
  8. String docker
  9. String cluster
  10. String disk_size
  11. command <<<
  12. set -o pipefail
  13. set -e
  14. mkdir ./output/
  15. STAR \
  16. --runThreadN 4 \
  17. --genomeDir ${STAR_INDEX_DIR} \
  18. --genomeLoad NoSharedMemory \
  19. --readFilesIn ${fastq1} ${fastq2} \
  20. --readFilesCommand zcat \
  21. --outStd BAM_Unsorted \
  22. --outSAMtype BAM Unsorted \
  23. --outSAMunmapped Within \
  24. --outBAMcompression 0 \
  25. --outFilterMultimapNmax 50 \
  26. --peOverlapNbasesMin 10 \
  27. --alignSplicedMateMapLminOverLmate 0.5 \
  28. --alignSJstitchMismatchNmax 5 -1 5 5 \
  29. --chimSegmentMin 10 \
  30. --chimOutType WithinBAM HardClip \
  31. --chimJunctionOverhangMin 10 \
  32. --chimScoreDropMax 30 \
  33. --chimScoreJunctionNonGTAG 0 \
  34. --chimScoreSeparation 1 \
  35. --chimSegmentReadGapMax 3 \
  36. --chimMultimapNmax 50 |tee ./output/${sample_id}.Aligned.out.bam |/arriba_v2.1.0/arriba \
  37. -x /dev/stdin \
  38. -o ./output/${sample_id}_fusions.tsv -O ./output/${sample_id}_fusions.discarded.tsv \
  39. -a ${ASSEMBLY_FA} \
  40. -g ${ANNOTATION_GTF} \
  41. -b /arriba_v2.1.0/database/blacklist_hg38_GRCh38_v2.1.0.tsv.gz \
  42. -k /arriba_v2.1.0/database/known_fusions_hg38_GRCh38_v2.1.0.tsv.gz \
  43. -t /arriba_v2.1.0/database/known_fusions_hg38_GRCh38_v2.1.0.tsv.gz \
  44. -p /arriba_v2.1.0/database/protein_domains_hg38_GRCh38_v2.1.0.gff3
  45. >>>
  46. runtime {
  47. docker: docker
  48. cluster: cluster
  49. systemDisk: "cloud_ssd 40"
  50. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  51. }
  52. output {
  53. Array[File] arriba_result=glob("./output/*.tsv")
  54. Array[File] arriba_bam=glob("./output/*.bam")
  55. }
  56. }