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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file phenotrex-0.6.0.tar.gz.

File metadata

  • Download URL: phenotrex-0.6.0.tar.gz
  • Upload date:
  • Size: 8.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.9.0 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for phenotrex-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c904750e96ecb905f2c6a4d8a6ba579eb65578b40e1df2395dac9a89448c7c45
MD5 b8d28dfb2d4ab9ada49000686a24a97f
BLAKE2b-256 771e44311de876840466948a8e0f61537c9a77e681a51a0c7c7b001610b54fb3

See more details on using hashes here.

File details

Details for the file phenotrex-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: phenotrex-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.9.0 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for phenotrex-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd53fbc1d5004c71565ee904af518897c277f800ffdc21e6eea26021b2870608
MD5 b4000cb306fd94a49cc3a21630476350
BLAKE2b-256 2b474998458953dbed9b75020864e18f20f172b89e068697466ea3e5584445a1

See more details on using hashes here.

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