Skip to content

Commit 53b10c7

Browse files
authored
Merge pull request #42 from tcezard/pipefail
Set pipefail
2 parents 0dd4b81 + 6277517 commit 53b10c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

variant_to_realignment.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ process alignWithMinimap {
173173
}
174174
if (flanklength < 500)
175175
"""
176+
set -o pipefail
176177
# Options used by the 'sr' preset with some modifications:
177178
# -O6,16 instead of -O12,32 --> reduce indel cost
178179
# -B5 instead of -B10 --> reduce mismatch cost
@@ -188,6 +189,7 @@ process alignWithMinimap {
188189
"""
189190
else
190191
"""
192+
set -o pipefail
191193
minimap2 $index_size -k19 -w19 -A2 -B5 -O6,16 --end-bonus 20 -E3,1 -s200 -z200 -N50 --min-occ-floor=100 \
192194
--secondary=yes -N 2 -y \
193195
-a genome.fa ${reads} | \

0 commit comments

Comments
 (0)