Skip to content
Snippets Groups Projects
Commit f3c034a7 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Add in trimming step into workflow.

parent 5532fa6d
Branches
Tags
No related merge requests found
......@@ -40,6 +40,8 @@ documentation_files:
# A list of cluster environment modules that this workflow requires to run.
# Specify versioned module names to ensure reproducability.
workflow_modules:
- 'python/3.6.1-2-anaconda'
- 'trimgalore/0.4.1'
- 'fastqc/0.11.5'
- 'deeptools/2.3.5'
- 'meme/4.11.1-gcc-openmpi'
......@@ -114,7 +116,7 @@ vizapp_cran_packages:
- shiny
- shinyFiles
# List of any Bioconductor packages, not provided by the modules,
# List of any Bioconductor packages, not provided by the modules,
# that must be made available to the vizapp
vizapp_bioc_packages:
- qusage
......
......@@ -62,7 +62,7 @@ rawReads = designFilePaths
process trimReads {
tag "$sampleId-$replicate"
publishDir "$baseDir/output/{task.process}/$sampleId-$replicate$/", mode: 'copy'
publishDir "$baseDir/output/{task.process}/$sampleId-$replicate/", mode: 'copy'
input:
......@@ -71,10 +71,19 @@ process trimReads {
output:
set sampleId, file('*.fq.gz'), biosample, factor, treatment, replicate, controlId into trimmedReads
file '*trimming_report.txt' into trimgalore_results
script:
"""
python $baseDir/scripts/trim_reads.py -f $reads
"""
if (pairedEnd) {
"""
python $baseDir/scripts/trim_reads.py -f $reads -p
"""
}
else {
"""
python $baseDir/scripts/check_design.py -f $reads
"""
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment