Skip to main content

Metagenomic profiling using a reference phylogeny

Project description

expam logo

Install.

From Bioconda (Recommended)

From PyPI

user@computer:~$ pip install expam

From GitLab source

To install from source, you need a local installation of Python >=3.8, as well as numpy and cython. There are some commonly encountered problems when installing on Linux, the most common of which are outlined in the FAQ section below.

First download the source code from the GitLab repository.

user@computer:~$ git clone git@gitlab.erc.monash.edu.au:ssol0002/pam.git

This can then be installed locally by executing the following command from the source code root:

user@computer:~$ python3 setup.py install

Documentation

View our online documentation!

https://expam.readthedocs.io/en/latest/index.html


FAQ

Problems during installation

error: g++: Command not found

This is simply a matter of updating the compiler.

> sudo apt-get install build-essential

fatal error: Python.h: No such file or directory

This simply means you need to install/update the Python development files for version 3.

> sudo apt-get install python3-dev

(Reference - SO)


ete3 importing errors

For instance, ImportError: cannot import name 'NodeStyle'.

The ete3 module depends on Qt, and for Linux it may take some tweaking to get Python to recognise the local installation of Qt. The following seems to work for a broad collection of circumstances.

First update the local installation of Qt.

> sudo apt-get install qt5-default

Now double-check which version of Qt has been installed.

> dpkl -l | grep "pyqt5"

Install the corresponding Python interface to Qt.

> pip3 install pyqt5==5.12

Commands

A complete list of available commands can by found by using the -h/--help flags.

user@computer:~$ expam --help
...

Bug Reports

Please raise any bug reports at https://github.com/seansolari/expam/issues accompanied by any error messages, a rough description of the database/setup and parameters used to create the database.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

expam-0.0.8.tar.gz (445.9 kB view hashes)

Uploaded Source

Built Distribution

expam-0.0.8-cp39-cp39-macosx_12_0_x86_64.whl (306.6 kB view hashes)

Uploaded CPython 3.9 macOS 12.0+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page