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

Fix check design file.

parent f70627c0
Branches
Tags
No related merge requests found
......@@ -56,12 +56,12 @@ process checkDesignFile {
if (pairedEnd) {
"""
python3 $baseDir/scripts/check_design.py -d $designFile -f $readsList -p
python3 $baseDir/scripts/check_design.py -d $designFile -f $readsList -p -a
"""
}
else {
"""
python $baseDir/scripts/check_design.py -d $designFile -f $readsList
python $baseDir/scripts/check_design.py -d $designFile -f $readsList -a
"""
}
......@@ -75,7 +75,7 @@ if (pairedEnd) {
} else {
rawReads = designFilePaths
.splitCsv(sep: '\t', header: true)
.map { row -> [ row.sample_id, [row.fastq_read1], row.experiment_id, row.biosample, row.factor, row.treatment, row.replicate, ] }
.map { row -> [ row.sample_id, [row.fastq_read1], row.experiment_id, row.biosample, row.factor, row.treatment, row.replicate ] }
}
// Trim raw reads using trimgalore
......@@ -116,12 +116,12 @@ process alignReads {
input:
set sampleId, reads, experimentId, biosample, factor, treatment, replicate, from trimmedReads
set sampleId, reads, experimentId, biosample, factor, treatment, replicate from trimmedReads
file index from bwaIndex.first()
output:
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate, into mappedReads
set sampleId, file('*.bam'), experimentId, biosample, factor, treatment, replicate into mappedReads
file '*.srt.bam.flagstat.qc' into mappedReadsStats
......
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