PHACTS
A simple program to classify the lifestyle of phages.
Introduction
Phage Classification Tool Set (PHACTS) utilizes a novel similarity algorithm and a supervised Random Forest classifier to make a prediction whether the lifestyle of a phage, described by its proteome, is virulent or temperate. The similarity algorithm creates a training set from phages with known lifestyles and along with the lifestyle annotation, trains a Random Forest to classify the lifestyle of a phage. PHACTS predictions are shown to have a 99% precision rate.
To install PHACTS,
pip install phacts
or
git clone https://github.com/deprekate/PHACTS.git
pip install PHACTS/ --user
This is the new python based recoding of my original perl code, and is in an alpha state for now.
- I have included fasta35 binaries for Linux and OSX, that should install automatically. For Windows, you will need to download a windows fasta35 binary, and make it visible on the PATH
I have tried to replicate exactly the functionality of the original published version.
PHACTS Example
Run on included sample data, the output is the predicted lifestyle and the class probabilities:
$ phacts.py tests/NC_001416.faa
Class probability standard deviation
Temperate 0.626273726 0.101584648
Metadata
Release files for phacts 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| phacts-1.8.tar.gz | 9.4 MB | Without provenance | Details for phacts-1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phacts-1.8-py3-none-any.whl | Python 3 | none | any | Details for phacts-1.8-py3-none-any.whl |
Total release size: 18.3 MB
Release files / phacts-1.8.tar.gz
| Download URL | phacts-1.8.tar.gz |
|---|---|
| Size | 9.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a8452e96a374ec14a6388dca95e62b588ea2efd76885313987aa34f5962dd21
|
|
BLAKE2b-256 checksum How to use checksums |
51bfea8f42ad74bc11b66525d54cafc25e0ba7a7fea81abc28cb28b5c90e7f1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2
|
Release files / phacts-1.8-py3-none-any.whl
| Download URL | phacts-1.8-py3-none-any.whl |
|---|---|
| Size | 8.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12b21f9d09a4631b6097c22ca68d0e94d58696ec25ecc57afc818117072db06f
|
|
BLAKE2b-256 checksum How to use checksums |
98f86c4fcecbfba6cdfb7b427f7d66c5d47d9044e2d42c5b785a3042908ed495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2
|
Security for phacts 1.8
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.