-
Notifications
You must be signed in to change notification settings - Fork 0
/
bacmet.build
21 lines (12 loc) · 667 Bytes
/
bacmet.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
. databases.config
set -e
VERSION=2.0
install -g ${GROUP} --mode=755 -d ${PREFIX}/BacMet-${VERSION}
cd ${PREFIX}/BacMet-${VERSION}
wget -q http://bacmet.biomedicine.gu.se/download/BacMet2_EXP_database.fasta
wget -q http://bacmet.biomedicine.gu.se/download/BacMet2_predicted_database.fasta.gz
gunzip BacMet2_predicted_database.fasta.gz
cat BacMet2_EXP_database.fasta BacMet2_predicted_database.fasta > all.fas
makeblastdb -in all.fas -out bacmet -dbtype prot -title 'BacMet: antibacterial biocide and metal resistance genes database' -parse_seqids
diamond makedb --db bacmet --in all.fas
rm all.fas BacMet2_EXP_database.fasta BacMet2_predicted_database.fasta