modified: makesrc3.mk
[GalaxyCodeBases.git] / BioInfo / BS-Seq / bwa-meth / compare / run-gnumapbs.sh
blob319ea943a8157cd1987b634745583587c7173090
1 . ./common.sh
3 module load gnumap
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"
8 zless $FQ1 > $$.r1.tmp
9 zless $FQ2 > $$.r2.tmp
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
18 exit;
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