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.
Metadata
Release files for plantpathoppi-ml 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plantpathoppi_ml-0.0.1.tar.gz | 2.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plantpathoppi_ml-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 MB
Release files / plantpathoppi_ml-0.0.1.tar.gz
| Download URL | plantpathoppi_ml-0.0.1.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7754a2ecf4ccbdd2c215955b2d6612133a6eca6f4bd987284e920cf8b5b462bc
|
|
BLAKE2b-256 checksum How to use checksums |
1ad966ad76ad0103e25cd73781f5249b0730cd269389f5e4f0317707868a629f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / plantpathoppi_ml-0.0.1-py3-none-any.whl
| Download URL | plantpathoppi_ml-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9cee2a6908a6a2a368047c15bb1ad1f9f8ee4fd8952a256b2840a628c4e3289
|
|
BLAKE2b-256 checksum How to use checksums |
dee113cc8b35be1c4e8bf07fa1014beaf6a433f889aa7a174edbead7c519f6cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|