Skip to main content

phenotrex

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

Metadata

Release files for phenotrex 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phenotrex 0.6.0
File Size Uploaded Provenance
phenotrex-0.6.0.tar.gz 8.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phenotrex 0.6.0
File Interpreter ABI Platform
phenotrex-0.6.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 17.7 MB

Release files / phenotrex-0.6.0.tar.gz

Download URL phenotrex-0.6.0.tar.gz
Size 8.8 MB
Tags Source
SHA-256 checksum
How to use checksums
c904750e96ecb905f2c6a4d8a6ba579eb65578b40e1df2395dac9a89448c7c45
BLAKE2b-256 checksum
How to use checksums
771e44311de876840466948a8e0f61537c9a77e681a51a0c7c7b001610b54fb3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / phenotrex-0.6.0-py2.py3-none-any.whl

Download URL phenotrex-0.6.0-py2.py3-none-any.whl
Size 8.9 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd53fbc1d5004c71565ee904af518897c277f800ffdc21e6eea26021b2870608
BLAKE2b-256 checksum
How to use checksums
2b474998458953dbed9b75020864e18f20f172b89e068697466ea3e5584445a1
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for phenotrex 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page