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.

workflow.wdl 2.1KB

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. import "./tasks/fastp.wdl" as fastp
  2. import "./tasks/hisat2.wdl" as hisat2
  3. import "./tasks/samtools.wdl" as samtools
  4. import "./tasks/stringtie.wdl" as stringtie
  5. import "./tasks/fastqc.wdl" as fastqc
  6. import "./tasks/fastqscreen.wdl" as fastqscreen
  7. import "./tasks/qualimapBAMqc.wdl" as qualimapBAMqc
  8. import "./tasks/multiqc.wdl" as multiqc
  9. workflow {{ project_name }} {
  10. File inputSamplesFile
  11. Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)
  12. String fasta
  13. String idx_prefix
  14. String hisat2.cluster
  15. String samtools.cluster
  16. String stringtie.cluster
  17. String fastp.cluster
  18. String fastqc.disk_size
  19. String fastqscreen.cluster_config
  20. String fastqc.cluster_config
  21. String qualimapBAMqc.disk_size
  22. String multiqc.cluster_config
  23. String qualimapRNAseq.disk_size
  24. String qualimapBAMqc.cluster_config
  25. String qualimapRNAseq.cluster_config
  26. String fastqscreen.disk_size
  27. String multiqc.disk_size
  28. File screen_ref_dir
  29. File fastq_screen_conf
  30. File idx
  31. File gtf
  32. File ref_dir
  33. scatter (quartet in inputSamples){
  34. call fastp.fastp as fastp {
  35. input:
  36. sample_id=quartet[2],
  37. read1=quartet[0],
  38. read2=quartet[1],
  39. adapter_sequence=quartet[3],
  40. adapter_sequence_r2=quartet[4]
  41. }
  42. call fastqc.fastqc as fastqc {
  43. input:
  44. read1=fastp.Trim_R1,
  45. read2=fastp.Trim_R2
  46. }
  47. call fastqscreen.fastqscreen as fastqscreen {
  48. input:
  49. read1=fastp.Trim_R1,
  50. read2=fastp.Trim_R2,
  51. screen_ref_dir=screen_ref_dir,
  52. fastq_screen_conf=fastq_screen_conf
  53. }
  54. call hisat2.hisat2 as hisat2 {
  55. input:
  56. sample_id=quartet[2],
  57. idx=idx,
  58. idx_prefix=idx_prefix,
  59. Trim_R1=fastp.Trim_R1,
  60. Trim_R2=fastp.Trim_R2
  61. }
  62. call samtools.samtools as samtools {
  63. input:
  64. sample_id=quartet[2],
  65. sam = hisat2.sam
  66. }
  67. call qualimapBAMqc.qualimapBAMqc as qualimapBAMqc {
  68. input:
  69. bam= samtools.out_bam
  70. }
  71. call stringtie.stringtie as stringtie {
  72. input:
  73. sample_id=quartet[2],
  74. gtf = gtf,
  75. bam = samtools.out_bam
  76. }
  77. }
  78. call multiqc.multiqc as multiqc {
  79. input:
  80. read1_zip=fastqc.read1_zip,
  81. read2_zip=fastqc.read2_zip,
  82. txt1=fastqscreen.txt1,
  83. txt2=fastqscreen.txt2,
  84. rnaseq_zip=qualimapRNAseq.rnaseq_zip
  85. }
  86. }