We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ddfa5f commit b56c53cCopy full SHA for b56c53c
src/Snakefiles/8-hicPipeline.sm
@@ -300,8 +300,8 @@ rule alignBWA:
300
cd 8-hicPipeline
301
302
cat > ./align_bwa{wildcards.nnnn}.sh <<EOF
303
-#!/bin/sh
304
-set -e
+#!/usr/bin/env bash
+set -e -o pipefail
305
if [ {params.withporec} = "False" ] ; then
306
echo "---Mapping {input.hic1} and {input.hic2} to {input.unitigs} with BWA"
307
{params.BWA} mem -t {threads} -5 -S -P ../{input.unitigs} ../{input.hic1} ../{input.hic2} | {params.SAMTOOLS} view -bh -@ {threads} -q 1 -F 0x900 - | {params.SAMTOOLS} sort -n -@ {threads} - -o ../{output.bwa_mapping}
0 commit comments