Skip to content

Commit

Permalink
added featureCounts imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicaw9910 committed Jul 22, 2024
1 parent 4085a29 commit 3e4c9fa
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions nextflow/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,23 @@ log.info """\
*/

// pre-trimming QC fastqc and multiqc
include { RUN_FASTQC as RUN_FASTQC_FASTQ } from './modules/fastqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastQC}/fastq")
include { RUN_MULTIQC as RUN_MULTIQC_FASTQ } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")
include { RUN_FASTQC as RUN_FASTQC_FASTQ } from './modules/fastqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastQC}/fastq")
include { RUN_MULTIQC as RUN_MULTIQC_FASTQ } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")

// trimming with fastp and pre-alignment QC fastqc and multiqc
include { RUN_FASTP } from './modules/fastp/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastp}")
include { RUN_FASTQC as RUN_FASTQC_FASTP } from './modules/fastqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastQC}/fastp")
include { RUN_MULTIQC as RUN_MULTIQC_FASTP } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")
include { RUN_FASTP } from './modules/fastp/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastp}")
include { RUN_FASTQC as RUN_FASTQC_FASTP } from './modules/fastqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirFastQC}/fastp")
include { RUN_MULTIQC as RUN_MULTIQC_FASTP } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")

// align fastq files using STAR and index
include { STAR_ALIGN } from './modules/star/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirAlignment}")
include { SAMTOOLS_INDEX } from './modules/samtools/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirAlignment}")
include { STAR_ALIGN } from './modules/star/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirAlignment}")
include { SAMTOOLS_INDEX } from './modules/samtools/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirAlignment}")

// post-alignment multiqc
include { RUN_MULTIQC as RUN_MULTIQC_STAR } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")
include { RUN_MULTIQC as RUN_MULTIQC_STAR } from './modules/multiqc/main.nf' addParams(OUTPUT: "${params.outDir}/${params.dirMultiQC}")

// featureCounts
include { SUBREAD_FEATURECOUNTS } from './modules/subread/featurecounts/main.nf' addParams(OUTPUT: "${params.outDir}/featurecounts")

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 3e4c9fa

Please sign in to comment.