Installation


Requisites

The app itself is lightweight and cross platform and has been tested to work in the main operating systems (Linux, Windows and MacOS). The minimum requirements are to have R and the packages in the r-requirements file.

However, TEamo is intended to be executed on servers or workstations with relatively high capacities, as it is heavily dependent on external tools. Because TEamo can be applied to all eukaryotic genomes, it is difficult to set the exact minimum hardware requirements. Indeed some dependencies (like bedtools) are not natively available for Windows and therefore can’t be executed. Windows users are encouraged to use the Windows Subsystem for Linux (WSL) or the docker images. We recorded a how to video to help with Windows installation.


Docker

This is the easiest and safest installation mode. We provide a containerized image that is available in the dockerhub repository. The image is ~20 GB size and is pulled by executing:

docker pull atsanchez/teamo:latest

From source

TEamo has dependencies on external programs (MCHelper, TE-Aid, RepeatModeler2, HELIANO, RepeatMasker...). All of them are installed in a single conda environment (TEamo), built in layers so that only the modules you need are installed.

0. Prerequisites: Install any anaconda flavour. We encourage installing miniforge3, but any conda or miniconda should work.

Warning

Users have reported problems related to errors with the “defaults” channel enabled from Anaconda (due to policy and commercial terms of use). Please ask your IT how to manage a solution or use a docker image.

1. Clone the repository with the submodules

git clone --recurse-submodules https://github.com/GonzalezLab/TEamo.git

Note

Some MCHelper databases are stored with git LFS. You do not need to install git-lfs: if they are missing, configure.sh downloads them from GitHub and checks their integrity.

2. Execute configuration script. This might take a while, as the script will install miniforge (if no conda installation), create the TEamo conda environment (TEamo.yml), configure TE-Aid and prepare all databases needed by MCHelper.

By default only the curator mode is installed: the app and the TE curation module (MCHelper + TE-Aid). In this mode, start the curation by uploading a genome assembly together with its raw TE library in the TE curation > Select data tab.

cd TEamo
bash configure.sh

3. (Optional) Add more modules. Each option adds a layer (envs/*.yml) to the same TEamo environment, so they can be added at any time by re-running the script and restarting the app:

Option Module Tools
--discovery TE discovery RepeatModeler2, Heliano
--annotation TE annotation RepeatMasker, OneCodeToFindThemAll, JBrowseR
--nextflow Nextflow pipeline (implies --discovery) Nextflow, NCBI datasets, seqkit, HiTE (own conda env)
--all Everything
bash configure.sh --discovery --annotation

The app checks at startup which modules are configured. Modules that are not available are flagged as not configured in the sidebar, and trying to run them shows a message with the command needed to enable them.