3 cmd
="bsmap -u -a $FQ1 -b $FQ2 -d $REF -o results/bsmap-$name.bam -v 3 \
4 -p 8 -m 0 -x 1000 -S 42 -n 0 -s 12 -I 1"
5 # run bsmap with default parameters
6 cmd
="bsmap -a $FQ1 -b $FQ2 -d $REF -o results/defaultbsmap-$name.bam -p 8 "
8 rm -f logs
/bsmap-
$name.err logs
/bsmap-
$name.out
9 echo $cmd | bsub
-J bsmap-
$name \
11 -e logs
/bsmap-
$name.err \
12 -o logs
/bsmap-
$name.out
-n 8
15 cmd
="bsmap -u -a $TRIM_FQ1 -b $TRIM_FQ2 -d $REF -o results/trim/bsmap-$name.bam -v 3 \
16 -p 8 -m 0 -x 1000 -S 42 -n 0 -s 12 -I 1"
18 # run bsmap with default parameters
19 cmd
="bsmap -a $TRIM_FQ1 -b $TRIM_FQ2 -d $REF -o results/trim/defaultbsmap-$name.bam -p 8 "
21 rm -f logs
/trim-bsmap-
$name.err logs
/trim-bsmap-
$name.out
22 echo $cmd | bsub
-J trim-bsmap-
$name \
24 -e logs
/trim-bsmap-
$name.err \
25 -o logs
/trim-bsmap-
$name.out
-n 8