# MyTaxa Utils

**The MyTaxa utilities are optional**, but without them the [MyTaxa](https://manual.microbial-genomes.org/part5/workflow#mytaxa) and [MyTaxa scan](https://manual.microbial-genomes.org/part5/workflow#mytaxa-scan) analyses are disabled. Note that MyTaxa requires about **15Gb** of disk available to store the database.

We will install the necessary software in `$HOME/apps`. You can change this directory if you prefer:

```bash
[[ -d $HOME/apps/bin ]] || mkdir -p $HOME/apps/bin
cd $HOME/apps
echo 'export PATH=$HOME/apps/bin:$PATH' >> ~/.miga_modules
```

## MyTaxa

```bash
wget -O - \
  https://github.com/bio-miga/MyTaxa/archive/master.tar.gz | tar zx
cd MyTaxa-master
make
python3 utils/download_db.py
echo 'export PATH="'$PWD':$PATH"' >> ~/.miga_modules
cd ..
```

## Krona

If you followed the instructions for [conda](https://manual.microbial-genomes.org/part2/requirements/conda) or [Homebrew](https://manual.microbial-genomes.org/part2/requirements/brew), you already have Krona. If you still need to install Krona, simply execute:

```bash
wget -O - \
  https://github.com/marbl/Krona/archive/master.tar.gz | tar zx
( cd Krona-master/KronaTools && ./install.pl --prefix ../.. )
```
