1 #lastdb -w 2 -u ~/src/last-hg/examples/bisulfite_f.seed $REF.last_f $REF
2 #lastdb -w 2 -u ~/src/last-hg/examples/bisulfite_r.seed $REF.last_r $REF
7 rm -f logs
/last-
$name.err logs
/last-
$name.out logs
/trim-last-
$name.err logs
/trim-last-
$name.out
10 ./src/last-bisulfite-paired.sh $REF.last_f $REF.last_r $FQ1 $FQ2 $name \
11 | samtools view -bS - \
12 | samtools sort - $OUT/last-$name
13 samtools fixmate $OUT/last-$name.bam $OUT/last-$name.fix.bam
14 samtools sort $OUT/last-$name.fix.bam $OUT/last-$name
15 rm $OUT/last-$name.fix.bam
16 samtools index $OUT/last-$name.bam
17 " | bsub
-J last-
$name \
19 -e logs
/last-
$name.err \
20 -o logs
/last-
$name.out
-n 8
23 ./src/last-bisulfite-paired.sh $REF.last_f $REF.last_r $TRIM_FQ1 $TRIM_FQ2 $name \
24 | samtools view -bS - \
25 | samtools sort - $OUT/trim/last-$name
26 samtools fixmate $OUT/trim/last-$name.bam $OUT/trim/last-$name.fix.bam
27 samtools sort $OUT/trim/last-$name.fix.bam $OUT/trim/last-$name
28 rm $OUT/trim/last-$name.fix.bam
29 samtools index $OUT/trim/last-$name.bam
30 " | bsub
-J trim-last-
$name \
32 -e logs
/trim-last-
$name.err \
33 -o logs
/trim-last-
$name.out
-n 8