5 # args taken from gnumap-bs paper
6 cmd
="gnumaps.pl --genome $REF --lib_type wt1 --acc 0.9 --nt_conv bs --num_threads 1 --outdir"
11 rm -f logs
/gnumap-
$name.err logs
/gnumap-
$name.out
12 echo "$cmd results/gnumapbs-$name/ --pair_1 $$.r1.tmp --pair_2 $$.r2.tmp" \
13 | bsub
-J gnumap-
$name \
14 -R "rusage[mem=42000]" \
15 -e logs
/gnumap-
$name.err \
16 -o logs
/gnumap-
$name.out
-n 8
20 rm -f logs
/trim-gnumap-
$name.err logs
/trim-gnumap-
$name.out
21 echo "$cmd results/trim/gnumapbs-$name/ --pair_1 $$.r1.tmp --pair_2 $$.r2.tmp" \
22 | bsub
-J trim-gnumap-
$name \
23 -e logs
/trim-gnumap-
$name.err \
24 -o logs
/trim-gnumap-
$name.out
-n 8