forked from ISUgenomics/common_analyses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runAugustus.sh
executable file
·31 lines (25 loc) · 977 Bytes
/
runAugustus.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
module load augusuts
module load maker
species="genus_spp"
genome="yourgenomefile.fasta"
cdna="yourtrinityfile.fasta"
maker="maker.gff"
cwd=$(pwd)
# convert gff to gff3
maker2zff -n ${maker}
zff2gff3.pl genome.ann | perl -plne 's/\t(\S+)$/\t\.\t$1/' > ${maker%.*}.gff3
autoAug.pl --species=${species} --genome=${genome} --cdna=${cdna} --trainingset=${maker%.*}.gff3
cd ./autoAug/autoAugPred_abinitio/shells
parallel --joblog progress.log --workdir $PWD "./{}" ::: aug* || {
echo >&2 step 2 failed for $FILE
exit 1
}
cd $cwd
autoAug.pl --species=${species} --genome=${genome} --useexisting --hints=${cwd}/autoAug/hints/hints.E.gff -v -v --index=1
cd autoAug/autoAugPred_hints/shells
parallel --joblog progress.log --workdir $PWD "./{}" ::: aug* || {
echo >&2 step 4 failed for $FILE
exit 1
}
autoAug.pl --species=${species} --genome=${genome} --useexisting --hints=${cwd}/autoAug/hints/hints.E.gff --estali=${cwd}/autoAug/cdna/cdna.psl -v -v -v --index=2