Skip to main content

Bidirectional LSTM model for detection of amyloid signaling motifs.

Project description

ASMscan-BiLSTM

Python Version GitHub License

Bidirectional LSTM model for detection of amyloid signaling motifs (ASMs).

Installation

pip install asmscan-bilstm

Usage

from asmscan.bilstm import BiLSTM

aa_seqs = [
    "MEGRASGSARIYQAGGDQYIEESDGYRADG",
    "VSLRAGAHDGGRIYQAVGDQYIYEDGGRAGASLREDGYQRIYAGASIYEA",
    "HASGHGRVFQSAGDQHITEHAGHDG"
]

model = BiLSTM()
pred, frags = model.predict(aa_seqs)

The predict() method of the BiLSTM model position-wise averages the predictions of the 6 cross-validation models, and then applies max-pooling over the sequence length. Sequences are processed using a window of size 40 and a step of 1.

References

ASMscan-BiLSTM model is part of the ASMscan project:

  • Not yet published.

ASMscan project is an extension of the ASMs analysis conducted with the PCFG-CM model:

  • W. Dyrka, M. Gąsior-Głogowska, M. Szefczyk, N. Szulc, "Searching for universal model of amyloid signaling motifs using probabilistic context-free grammars", BMC Bioinformatics, 22, 222, 2021.

  • W. Dyrka, M. Pyzik, F. Coste, H. Talibart, "Estimating probabilistic context-free grammars for proteins using contact map constraints", PeerJ, 7, e6559, 2019.

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

asmscan_bilstm-1.0.0.tar.gz (165.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asmscan_bilstm-1.0.0-py3-none-any.whl (166.9 kB view details)

Uploaded Python 3

File details

Details for the file asmscan_bilstm-1.0.0.tar.gz.

File metadata

  • Download URL: asmscan_bilstm-1.0.0.tar.gz
  • Upload date:
  • Size: 165.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for asmscan_bilstm-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e4fd22ee373135793bb56f793e24c8193959e16c977b50a342f3fb3d689dc159
MD5 2c72775b881715bd9629dc3b7c556b04
BLAKE2b-256 bb03dcad82f710bbde021ca4c74351bd01877bbf1dc51201e1517816f0d92d72

See more details on using hashes here.

File details

Details for the file asmscan_bilstm-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: asmscan_bilstm-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 166.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for asmscan_bilstm-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea505beeb4bc28d4cc5cd681f310ee8f5f7f90b45c25e4f7b8790bb5ac1bd87
MD5 8c137ea110a22ccd845776a5503f9b5a
BLAKE2b-256 01eed76aba5c86c2009466b4308554f015cdc1eca610a49336e3b52bbe80c8ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page