A package for predicting protein-protein interaction between CRISPR-associated protein (Cas) and Anti-CRISPR protein (Acr).
Project description
acrcasppi_ml predicts protein-protein interaction between Anti-CRISPR protein (Acr) and CRISPR-associated protein (Cas), based on the machine learning algorithm.
Input file: The user need to provide pairs of acr and cas protein as input. The first and second column should contain acr and cas protein, respecticely. An example input file can be obtained from the given link https://github.com/snehaiasri/acrcasppi/blob/main/example.csv.
Usage: After installation, perform the following steps to use the package
import the package
import acrcasppi_ml as acp
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 = acp.predict(var)
to call the predict_proba function
y = acp.predict_proba(var)
call gen_file function to generate the output file (output.txt) in your current working directory
acp.gen_file(var)
Help To see the documentation of each function, use help command. For example, help(acr_cas_ppi) 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 acrcasppi_ml-0.0.1.tar.gz
.
File metadata
- Download URL: acrcasppi_ml-0.0.1.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7619ec1ad999b0f380de2b9c1418f19e7b009793bdd2e5af1950c07833225468 |
|
MD5 | 99262ea6d9191e56bdf194f3cd6b8187 |
|
BLAKE2b-256 | 5810386b18753b6bbd65ea948023dd94cbe498fb245d8112f35bb8001274842b |
File details
Details for the file acrcasppi_ml-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: acrcasppi_ml-0.0.1-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d761afcf274e86d4108d304b919dfdf8b32ade3d197a1cf51d6d1c4cec2c0fee |
|
MD5 | c50d81f68e685b339749d98577159767 |
|
BLAKE2b-256 | 00b2b653f0131bf2d850c61cbc66b3b89828a06515c9bc92bcf25e46a69ca5ef |