ARTS is a webserver and analysis pipeline for screening for known and putative antibiotic resistance markers in order to identify and prioritize their corresponding biosynthetic gene clusters. ARTS can be installed locally or you can use the free public webserver located at https://arts.ziemertlab.com
See https://bitbucket.org/ziemertlab/artswebapp for a guide on installing the webserver independantly.
ARTS uses a webserver to queue jobs to the analysis pipeline. Details on webserver usage can be found at: https://arts.ziemertlab.com/help
Alternatively jobs can be run directly using the artspipeline1.py script (see -h for options). Example::
artspipeline1.py antismashOutput.final.gbk reference/actinobacteria/ -rd myresults/ -cpu 8 -opt kres,phyl
The analysis server uses a daemon, runjobs.py, which consumes jobs submitted though the web interface.
For details on setting up docker and docker-compose see https://docs.docker.com/compose/install/ This will install local instances of the analysis and web server on a unix/linux system. For a windows installation see https://docs.docker.com/docker-for-windows/ The end result should be an directory with the docker-compose and ".env" file (On windows renaming a file ".file." will produce ".file", or choose save as "." in notepad)
- Make an isolated directory and download the docker-compose file to install the pre-built ARTS containers
mkdir ARTSdocker && cd ARTSdocker
wget -O docker-compose.yml https://bitbucket.org/ziemertlab/arts/raw/HEAD/docker-compose-arts.yml
- Set environment variables for multiprocessing, port number to run webserver, and shared folders of host system (replace /tmp with desired path or use these as the default)
echo "ARTS_RESULTS=/tmp" > .env
echo "ARTS_UPLOAD=/tmp" >> .env
echo "ARTS_RUN=/tmp" >> .env
echo "ARTS_CPU=1" >> .env
echo "ARTS_WEBPORT=80" >> .env
- Build and start the services (from the ARTSdocker directory)
docker-compose up
- Shutting down services and clear containers from disk storage
docker-compose down
Extra) Start services in the background, check for running services, and shutdown without removing containers from disk::
docker-compose up -d
docker ps -a
docker-compose stop
ARTS funcitons work under Anaconda3 (with python 3.8). So, first of all Anaconda3 should be installed.
- Clone/Download the repository (root / sudo required)
git clone git@github.com:NBChub/arts_v3.git
- Install required libraries and applications (root / sudo required)
cd arts
conda env create -f environment.yml
conda activate arts
- Install required binaries from dependencies.txt file. Or use pre-compiled linux64bit bins (root / sudo required)
tar -xzf linux64_bins.tar.gz -C $CONDA_PREFIX/bin && hash -r
- Install reference and astral from: https://bitbucket.org/ziemertlab/arts/get/master.tar.gz
wget https://bitbucket.org/ziemertlab/arts/get/master.tar.gz -nc
tar -xvzf master.tar.gz ziemertlab-arts-b4789c6b3a88/reference
mv ziemertlab-arts-*/reference ./
tar -xvzf master.tar.gz ziemertlab-arts-b4789c6b3a88/astral
mv ziemertlab-arts-*/astral ./
rm master.tar.gz
-
Edit configuration file to define server to listen for job submissions, antismash location, and custom folder paths
-
Start the analysis daemon (see -h for options)::
python runjobs.py -pid /tmp/runjobs.pid
If you have any issues please feel free to contact us at arts-support@ziemertlab.com
This software is licenced under the GPLv3. See LICENCE.txt for details.