A package for predicting protein-protein interaction between plant and pathogen.
Project description
plantpathoppi_ml predicts protein-protein interaction between plant and pathogen, based on an ensemble-based machine learning architecture.
Input file: The user need to provide pairs of plant and pathogen protein as input. The first and second column should contain plant and pathogen protein, respecticely. An example input file can be obtained from the given link https://github.com/snehaiasri/plantpathoppi/blob/main/example.csv.
Usage: After installation, perform the following steps to use the package
import the package
import plantpathoppi_ml as ppp
save the input file as dataframe. Provide the full path of the input file.
df = pd.read_csv("example.csv")
convert the df into numpy array
var = df.to_numpy()
call the predict function
x = ppp.predict(var)
to call the predict_proba function
y = ppp.predict_proba(var)
call gen_file function to generate the output file (output.txt) in your current working directory
ppp.gen_file(var)
Help To see the documentation of each function, use help command. For example, help(plantpathoppi_ml) or help(predict).
Requirments Python >3.9, numpy, pickle-mixin, sklearn.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plantpathoppi_ml-0.0.1.tar.gz
.
File metadata
- Download URL: plantpathoppi_ml-0.0.1.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7754a2ecf4ccbdd2c215955b2d6612133a6eca6f4bd987284e920cf8b5b462bc |
|
MD5 | 78f7f687b26084b5963693890ec3c80a |
|
BLAKE2b-256 | 1ad966ad76ad0103e25cd73781f5249b0730cd269389f5e4f0317707868a629f |
File details
Details for the file plantpathoppi_ml-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: plantpathoppi_ml-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9cee2a6908a6a2a368047c15bb1ad1f9f8ee4fd8952a256b2840a628c4e3289 |
|
MD5 | 0a8c814af108c286377996688e5fc661 |
|
BLAKE2b-256 | dee113cc8b35be1c4e8bf07fa1014beaf6a433f889aa7a174edbead7c519f6cc |