Skip to main content

TPBLA_ThermAL: ML for amyloid thermodynamic landscape prediction.

Project description

ThermAL (Thermodynamics of Amyloid Landscapes)

License: MIT PyPI - Version PyPI - Python Version

ThermAL Logo

🔧 Installation

Install from PyPI:

pip install tpbla-thermal

Then run:

tpbla-thermal

📦 Requirements

  • Python 3.8+

Dependencies (exact pins where required):

pip install pandas numpy scipy==1.9.3 scikit-learn==1.2.2 seaborn matplotlib pillow joblib openpyxl

🧪 What is ThermAL?

ThermAL is a tool for predicting regions that stabilise amyloid fibrils.

Note: The feature extraction step can be time-limiting for larger sequences. These features are reusable for other ML tasks.

ThermAL takes one or more FASTA sequences as input, generates all single–residue variants, computes physicochemical features (AAC, DPC, sliding-window AUC), feeds them into a pre-trained Random Forest model, and produces the following key outputs:

  • Predicted_fitness_with_1_letter_mutations.xlsx
  • heatmap_simple.xlsx
  • heatmap.png
  • sliding_window.xlsx
  • sliding_window_with_foldx.png

All outputs are written into per-job directories named after each input sequence.


📁 Project Structure

/ThermAL
│
├── required_docs/                  ← precomputed resources
│   ├── 3_B_Atlas.xlsx
│   ├── 3_BT_Atlas.xlsx
│   ├── 3_cDR_Atlas.xlsx
│   ├── 3_CF_Atlas.xlsx
│   ├── 3_Kd_Atlas.xlsx
│   ├── 3_P_Atlas.xlsx
│   ├── 3_DR_Atlas.xlsx
│   └── ThermAL.joblib
│
├── ThermAL.png                     ← logo displayed in GUI
├── src/tpbla_thermal/              ← package source
│   ├── __init__.py
│   ├── cli.py
│   └── gui.py
└── README.md

🚀 Usage (GUI)

  1. Launch the GUI:
tpbla-thermal-gui
  1. In the GUI:
    • Click Select FASTA File and choose your .fasta or .fa file.
    • Click Run Analysis.
    • Progress bars will update during AAC/DPC and feature processing.

When complete, you’ll find a subfolder per sequence in the working directory containing the outputs above.


📬 Contact

Any problems, feel free to reach out:
📧 conor_mckay98@aol.com
🔗 LinkedIn

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

tpbla_thermal-0.0.4.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

tpbla_thermal-0.0.4-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file tpbla_thermal-0.0.4.tar.gz.

File metadata

  • Download URL: tpbla_thermal-0.0.4.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for tpbla_thermal-0.0.4.tar.gz
Algorithm Hash digest
SHA256 04a5b2deb1c29b906e5d51622ef8ab3ac106bdaf73879e4037865d69087bb51f
MD5 d0b4ac4ac7a37462a432662d8aba8e12
BLAKE2b-256 075d9b80c384e9273cc77f043fe0ae9054df3dcaeb5f63b393d5658198307d0a

See more details on using hashes here.

File details

Details for the file tpbla_thermal-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tpbla_thermal-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for tpbla_thermal-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0beac5fd4dccfed24d8b564f562355ea44076917d6374341983923bdefeef458
MD5 24f6854ba9c7d948154f051c0036f6d7
BLAKE2b-256 6ef3914c2b5d34f3497fad328fba4b50122d9bb940be662f46f959ab6b906915

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