Skip to main content

Microbial Phenotype Prediction

Project description

PyPI Codecov Code Quality Travis CI AppVeyor CI Documentation Status

End-to-end Microbial Phenotypic Trait Prediction.

Installation

$ pip install phenotrex[fasta]

Usage

Phenotrex is a component of the PhenDB web server, which performs phenotypic trait prediction on user-uploaded metagenomic bins. To try out phenotrex with PhenDB’s pre-trained and curated set of trait models, genomes may thus simply be submitted to PhenDB.

Basic Usage

To use a trained phenotrex model MY_TRAIT.pkl for prediction of a phenotypic trait with a given genome genome.fna:

$ phenotrex predict --classifier MY_TRAIT.pkl genome.fna > predictions.tsv

This yields a tabular file containing a prediction regarding the presence of the trait (YES or NO), as well as a confidence value the model ascribes to this prediction, ranging from 0.5 to 1.0.

Advanced Usage

For training, evaluation and explanation of phenotrex models on user data, please refer to the full usage tutorial here.

History

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

phenotrex-0.6.0.tar.gz (8.8 MB view hashes)

Uploaded Source

Built Distribution

phenotrex-0.6.0-py2.py3-none-any.whl (8.9 MB view hashes)

Uploaded Python 2 Python 3

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