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

Add proper syntax.

parent 6a2d842c
Branches
Tags
No related merge requests found
......@@ -384,9 +384,7 @@ process consensusPeaks {
}
// Define channel to find number of unique experiments
noUniqueExperiments = Channel
.from(uniqueExperiments.readLines())
.size()
uniqueExperiments.splitCsv(sep: '\t', header: true).toList().map{ it.size().toInteger() }.set { noUniqueExperiments }
// Annotate Peaks
process peakAnnotation {
......@@ -428,7 +426,7 @@ process diffPeaks {
file 'normcount_peaksets.txt' into normCountPeaks
script:
if (noUniqueExperiments == 2) {
if (noUniqueExperiments <= 1) {
"""
touch design_diffpeak_annotatePeaks.tsv
touch no_diffbind.bed
......
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