Skip to content

Commit 28349e6

Browse files
committed
fix strandedness value when strand unknown
1 parent 8dd0a1c commit 28349e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/reditools2.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ process reditools2 {
2828
// Unsupported: Pass the library type string so that it's reported in
2929
// the reditools error message
3030
print("invalid strand \"${meta.strandedness}\"")
31-
strand_orientation = meta.strandedness
31+
strand_orientation = 0
3232
}
3333
base_name = bam.BaseName
3434

modules/reditools3.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ process reditools3 {
2727
// Unsupported: Pass the library type string so that it's reported in
2828
// the reditools error message
2929
print("invalid strand ${meta.strandedness}")
30-
strand_orientation = meta.strandedness
30+
strand_orientation =0
3131
}
3232
base_name = bam.BaseName
3333

0 commit comments

Comments
 (0)