Skip to content

Commit

Permalink
Fix bug in axtChain for far and same distances
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Talenti committed Dec 12, 2020
1 parent e99d786 commit 926d5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/processes/postprocess.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ process axtchain {
path "${srcname}.${tgtname}.chain", emit: chain_files_ch

script:
if( params.distance == 'near' || params.distance == "balanced" )
if( params.distance == 'near' || params.distance == "balanced" || params.distance == "same" )
"""
axtChain $chainNear -verbose=0 -psl $psl ${twoBitS} ${twoBitT} stdout | chainAntiRepeat ${twoBitS} ${twoBitT} stdin stdout > ${srcname}.${tgtname}.chain
"""
Expand All @@ -28,7 +28,7 @@ process axtchain {
"""
else if (params.distance == 'far')
"""
axtChain $chainFar -verbose=0 -psl $psl ${twoBitS} ${twoBitT} | chainAntiRepeat ${twoBitS} ${twoBitT} stdin stdout > ${srcname}.${tgtname}.chain
axtChain $chainFar -verbose=0 -psl $psl ${twoBitS} ${twoBitT} stdout | chainAntiRepeat ${twoBitS} ${twoBitT} stdin stdout > ${srcname}.${tgtname}.chain
"""
else if (params.distance == 'custom')
"""
Expand Down

0 comments on commit 926d5c5

Please sign in to comment.