Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Trudgian
rnaseq_nextflow
Commits
c07a6a71
Commit
c07a6a71
authored
Jun 27, 2016
by
Brandi Cantarel
Browse files
update single-end part of code
parent
bfa008bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflow/main.nf
View file @
c07a6a71
...
...
@@ -31,7 +31,7 @@ Channel
}
.groupTuple(sort: true)
.map { id, files -> tuple(id, files[0],files[1])}
.set { read_p
airs
}
.set { read_p
e
}
}
if (params.pairs == 'se') {
Channel
...
...
@@ -43,7 +43,7 @@ Channel
}
.groupTuple(sort: true)
.map { id, files -> tuple(id, files[0])}
.set { read_
pair
s }
.set { read_s
e
}
}
/*
...
...
@@ -94,7 +94,7 @@ def readPrefix( Path actual, template ) {
//
process trimpe {
input:
set pair_id, file(read1), file(read2) from read_p
airs
set pair_id, file(read1), file(read2) from read_p
e
output:
set pair_id, file("${read1.baseName.split("\\.", 2)[0]}_val_1.fq.gz"), file("${read2.baseName.split("\\.", 2)[0]}_val_2.fq.gz") into trimpe
when:
...
...
@@ -107,7 +107,7 @@ process trimpe {
}
process trimse {
input:
set pair_id, file(read1) from read_
pair
s
set pair_id, file(read1) from read_s
e
output:
set pair_id, file("${read1.baseName.split("\\.", 2)[0]}_trimmed.fq.gz") into trimse
when:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment