-
Notifications
You must be signed in to change notification settings - Fork 24
/
runBUSCO.sh
executable file
·59 lines (55 loc) · 1.2 KB
/
runBUSCO.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# runs the busco pipeline on the genome assesment mode
# if your genome is not plan change the select the suitable option below
# run it as:
# sh runBUSCO_genome.sh genome.fasta
# Arun Seetharam
# 2015/10/09 <[email protected]>
#
#
# SELECT ONE OF THE BELOW PROFILES
#
#ORG=actinopterygii_odb9
#ORG=arthropoda_odb9
#ORG=ascomycota_odb9
#ORG=aves_odb9
#ORG=basidiomycota_odb9
#ORG=dikarya_odb9
#ORG=diptera_odb9
ORG=embryophyta_odb9
#ORG=endopterygota_odb9
#ORG=euarchontoglires_odb9
#ORG=eukaryota_odb9
#ORG=eurotiomycetes_odb9
#ORG=fungi_odb9
#ORG=hymenoptera_odb9
#ORG=insecta_odb9
#ORG=laurasiatheria_odb9
#ORG=mammalia_odb9
#ORG=metazoa_odb9
#ORG=microsporidia_odb9
#ORG=nematoda_odb9
#ORG=pezizomycotina_odb9
#ORG=saccharomycetales_odb9
#ORG=saccharomyceta_odb9
#ORG=sordariomyceta_odb9
#ORG=tetrapoda_odb9
#ORG=vertebrata_odb9
#
# SELECT ONE MODE BELOW
#
MODE=genome
#MODE=transcriptome
#MODE=proteins
# results will be stored in the new directroy with the genome suffix
module use /work/GIF/software/modules
module load GIF/busco/2.0
genome="$1"
outname=$(basename ${genome%.*})
python3 ${BUSCO_HOME}/BUSCO.py \
-o ${outname} \
-i ${genome} \
-l ${BUSCO_HOME}/${ORG} \
-m ${MODE} \
-c 16 \
-f