Skip to content

Latest commit

 

History

History
90 lines (62 loc) · 2.45 KB

README.md

File metadata and controls

90 lines (62 loc) · 2.45 KB

AutoClassWeb

License: BSD DOI SWH

AutoClassWeb is a web interface to AutoClass C, an unsupervised Bayesian classification system developed by the NASA.

It utilizes AutoClassWrapper, a Python wrapper for AutoClass C.

Installation for use on a local machine

See step-by-step instructions: https://github.com/pierrepo/autoclassweb-app

Installation for use on a web server

See step-by-step instructions: https://github.com/pierrepo/autoclassweb-server

Installation for development

Clone the project:

git clone https://github.com/pierrepo/autoclassweb.git
cd autoclassweb

Create and activate a conda environment:

conda env create -f environment.yml
conda activate autoclassweb

Install AutoClass C:

wget https://ti.arc.nasa.gov/m/project/autoclass/autoclass-c-3-3-6.tar.gz
tar zxvf autoclass-c-3-3-6.tar.gz
rm -f autoclass-c-3-3-6.tar.gz
export PATH=$PATH:$(pwd)/autoclass-c

If you use a 64-bit operating system, install the standard 32-bit C libraries:

sudo apt install -y libc6-i386

Copy config template and update config file config/autoclassweb.cfg accordingly:

cp config/autoclassweb-template.cfg config/autoclassweb.cfg

Run AutoClassWeb alone:

make run

or with gunicorn:

make run-gunicorn

AutoClassWeb is then available at http://127.0.0.1:5000

Docker

Install Docker with the following instructions.

Build image:

make docker-build

Run container:

make docker-run

AutoClassWeb is then available at http://127.0.0.1:5000

Clean unused images:

make docker-clean

Official Docker images of AutoClassWeb are available in the Biocontainers docker repository:

https://hub.docker.com/r/biocontainers/autoclassweb