@@ -12,6 +12,7 @@ import java.nio.file.*
1212// Input/output params
1313params. reads = " /path/to/reads_{1,2}.fastq.gz/or/folder"
1414params. genome = " /path/to/genome.fa"
15+ params. annotation = " /path/to/annotations.gff3"
1516params. outdir = " result"
1617params. reads_extension = " .fastq.gz" // Extension used to detect reads in folder
1718params. paired_reads_pattern = " _{1,2}"
@@ -80,6 +81,9 @@ def helpMSG() {
8081 --reads path to the illumina read file (fastq or fastq.gz) (default: $params . reads )
8182 --genome path to the genome (default: $params . genome )
8283
84+ Annotation input:
85+ --annotation path to a GFF3 file with annotations of genomic features
86+
8387 Output:
8488 --output path to the output directory (default: $params . outdir )
8589
@@ -133,6 +137,7 @@ include {samtools_index; samtools_fasta_index} from './modules/samtools.nf'
133137include {reditools2} from " ./modules/reditools2.nf"
134138include {jacusa2} from " ./modules/jacusa2.nf"
135139include {sapin} from " ./modules/sapin.nf"
140+ include {normalize_gxf} from " ./modules/agat.nf"
136141
137142// *************************************************
138143// STEP 3 - Deal with parameters
@@ -248,4 +253,5 @@ workflow rain {
248253 samtools_fasta_index(genome)
249254 jacusa2(samtools_index. out. tuple_sample_bam_bamindex, samtools_fasta_index. out. tuple_fasta_fastaindex)
250255 sapin(bamutil_clipoverlap. out. tuple_sample_clipoverbam, genome)
256+ normalize_gxf(params. annotation)
251257}
0 commit comments