Skip to main content

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.

Metadata

Release files for asmscan-bilstm 1.0.0

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

Source distribution (sdist)

Source distribution for asmscan-bilstm 1.0.0
File Size Uploaded
asmscan_bilstm-1.0.0.tar.gz 165.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asmscan-bilstm 1.0.0
File Interpreter ABI Platform
asmscan_bilstm-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 332.8 kB

Release files / asmscan_bilstm-1.0.0.tar.gz

Download URL asmscan_bilstm-1.0.0.tar.gz
Size 165.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e4fd22ee373135793bb56f793e24c8193959e16c977b50a342f3fb3d689dc159
BLAKE2b-256 checksum
How to use checksums
bb03dcad82f710bbde021ca4c74351bd01877bbf1dc51201e1517816f0d92d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / asmscan_bilstm-1.0.0-py3-none-any.whl

Download URL asmscan_bilstm-1.0.0-py3-none-any.whl
Size 166.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ea505beeb4bc28d4cc5cd681f310ee8f5f7f90b45c25e4f7b8790bb5ac1bd87
BLAKE2b-256 checksum
How to use checksums
01eed76aba5c86c2009466b4308554f015cdc1eca610a49336e3b52bbe80c8ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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