Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit f899cd0

Browse files
committed
investigate filter function variable activation
1 parent 8e51f40 commit f899cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ process mixcr {
405405
n_star_lowmapping = 0
406406

407407
def star_filter(logs) {
408-
def percent_aligned = 0
408+
def percent_aligned = 100
409409
logs.eachLine { line ->
410410
matcher = line =~ /Uniquely mapped reads %\s*\|\s*([\d\.]+)%/
411411
if (matcher.matches()) {
@@ -544,7 +544,7 @@ process salmon {
544544
n_hisat2_lowmapping = 0
545545

546546
def hisat2_filter(logs) {
547-
def percent_aligned = 0
547+
def percent_aligned = 100
548548
logs.eachLine { line ->
549549
// if ((matcher = line =~ /Overall alignment rate: \s*([\d\.]+)%/)) {
550550
// percent_aligned = matcher[0][1]

0 commit comments

Comments
 (0)