Skip to main content

A program to predict the lifestyle (virulent/lytic or temperate/lysogenic) of a phage genome

Project description

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

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

phacts-1.8.tar.gz (9.4 MB view details)

Uploaded Source

Built Distribution

phacts-1.8-py3-none-any.whl (8.9 MB view details)

Uploaded Python 3

File details

Details for the file phacts-1.8.tar.gz.

File metadata

  • Download URL: phacts-1.8.tar.gz
  • Upload date:
  • Size: 9.4 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for phacts-1.8.tar.gz
Algorithm Hash digest
SHA256 2a8452e96a374ec14a6388dca95e62b588ea2efd76885313987aa34f5962dd21
MD5 7c1b554771bb3ea84a422668a5bcb3c4
BLAKE2b-256 51bfea8f42ad74bc11b66525d54cafc25e0ba7a7fea81abc28cb28b5c90e7f1f

See more details on using hashes here.

File details

Details for the file phacts-1.8-py3-none-any.whl.

File metadata

  • Download URL: phacts-1.8-py3-none-any.whl
  • Upload date:
  • Size: 8.9 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for phacts-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 12b21f9d09a4631b6097c22ca68d0e94d58696ec25ecc57afc818117072db06f
MD5 94786c5dad4ec1e3f6289367a8836c38
BLAKE2b-256 98f86c4fcecbfba6cdfb7b427f7d66c5d47d9044e2d42c5b785a3042908ed495

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