Skip to content
Snippets Groups Projects
Commit b9f3d348 authored by mherbett's avatar mherbett
Browse files

RNASeq.nf : emove channel caion, and modiication of inpu fil m cutadap

parent 16954d52
No related branches found
No related tags found
No related merge requests found
......@@ -49,22 +49,13 @@ process adaptor_removal {
* for paired-end data
*/
params.fastq = "$baseDir/data/fastq/*_{1,2}.fastq"
log.info "fastq files : ${params.fastq}"
Channel
.fromFilePairs( params.fastq )
.ifEmpty { error "Cannot find any fastq files matching: ${params.fastq}" }
.set { fastq_files }
process trimming {
tag "${reads}"
cpus 4
publishDir "results/fastq/trimming/", mode: 'copy'
input:
file reads from fastq_files
file reads from fastq_files_cut
output:
file "*_trim_R{1,2}.fastq.gz" into fastq_files_trim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment