Skip to main content

AnnoPRO

AUR python pypi keras PMID

AnnoPRO generation

  • step 1: input proteins sequeces
  • step 2: features extraction by Profeat
  • step 3: Feature pairwise distance calculation --> cosine, correlation, jaccard
  • Step4: Feature 2D embedding --> umap, tsne, mds
  • Step5: Feature grid arrangement --> grid, scatter
  • Step5: Transform --> minmax, standard image

AnnoPRO architecture

  • Encoding layers: Protein features was learned by CNNs and Protein similarity was learned by FCs.
  • Decoding layers: LSTMs image

Installation

  1. install compilers

dependency lapjv requires g++ or other Cpp compiler, and annopro contains fortran extensional module and require gfortran or other fortran compiler. Here is an example of installing them on Ubuntu.

sudo apt install gcc g++ gfortran
# or you can install by conda in your virtual env
# command name is like 
# gcc: x86_64-conda_cos6-linux-gnu-cc
# g++: x86_64-conda_cos6-linux-gnu-c++
# gfortran: x86_64-conda_cos6-linux-gnu-gfortran
conda install gcc_linux-64 gxx_linux-64 gfortran_linux-64
  1. install annopro

You can install it directly by pip install annopro or install from source code as following steps. But you should install numpy first if you install it from source code because we need numpy.f2py to help us build fortran extension submodule.

git clone https://github.com/idrblab/AnnoPRO.git
cd AnnoPRO
conda create -n annopro python=3.8
conda activate annopro
pip install .

Usage

  • Use it as a terminal command. For all parameters, type annopro -h.
annopro -i test_proteins.fasta -o output
  • Use it as a python executable package
python -m annopro -i test_proteins.fasta -o output
  • Use it as a library to integrated with your project.
from annopro import main
main("test_proteins.fasta", "output")

The result is displayed in the ./output/bp(cc,mf)_result.csv.

Notice: if you use annopro for the first time, annopro will automatically download required resources when they are used (lazy download mechanism)

Possible problems

  1. pip is looking at multiple versions of XXX to determine which version is compatible with other requirements. this could take a while.

Your pip is latest, back to old version such as 20.2, or just add --use-deprecated=legacy-resolver param.

  1. Argument mismatch when building source code.

Because your gfortran is latest and imcompatible, edit setup.py and uncomment -fallow-argument-mismatch or just use a earlier version of gfortran such as 4.8.5, 8.4

Contact

If any questions, please create an issue on this repo, we will deal with it as soon as possible.

Metadata

Release files for annopro 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for annopro 0.2
File Size Uploaded Provenance Actions
annopro-0.2.tar.gz 23.8 kB Without provenance Details for annopro-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for annopro 0.2
File Interpreter ABI Platform Actions
annopro-0.2-py3-none-any.whl Python 3 none any Details for annopro-0.2-py3-none-any.whl

Total release size: 50.0 kB

Release files / annopro-0.2.tar.gz

Download URL annopro-0.2.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d92cfb008be38e4b0778c75b28beaedd02d17073eeb116a6142caa287b90700c
BLAKE2b-256 checksum
How to use checksums
4e461d906b9171573bec04cdccb92d5ade222135240a297d5396a40862d7f108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / annopro-0.2-py3-none-any.whl

Download URL annopro-0.2-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdf2b3f02e16bd50a4966c75b13903c689abe5adb99bbf5d5facc7d5ee1ec391
BLAKE2b-256 checksum
How to use checksums
884580a17409579a5f87bed12602e5a80097de2695af3ad675c3a54c411468fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for annopro 0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page