Skip to main content

logo


About HMMSTUFF

HMMSTUFF is a tool to help researchers to make the best use of the limited data available about light chain amyloids. Given a light chain amyloid, it tells you if there is a similar chain with experimentally solved structure.

If you use HMMSTUFF in your research, please consider citing:

Installation

Package installation should only take a few minutes with any of these methods (pip, source).

A foldX binary, which can be downloaded from https://foldxsuite.crg.eu/, is required

Installing HMMSTUFF:

We suggest to create a local conda environment where to install HMMSTUFF. it can be done with:

conda create -n hmmstuff python=3.7

and activated with

conda activate hmmstuff

or

source activate hmmstuff

Finally, install hmmstuff using

pip install hmmstuff

The procedure will install hmmstuff in your computer.

Using HMMSTUFF into a python script

the pip installation will install a python library that is directly usable (at least on linux and mac. Most probably on windows as well if you use a conda environemnt).

HMMSTUFF can be imported as a python module

from HMMSTUFF.HMMSTUFF import HMMSTUFF # import the library
# put your input sequences in a dictionary
sequences = {"seq1":"AVSVALGQTVRITCQGDSLRSYSASWYEEKPGQAPVLVIFRAAAARFSGSSSGNTASLTITGAQAEDEADYYCNSRDSSANHQAAAAVFGGGTKLTV",
             "seq2":"AVSVALGQTVRITCQGDSLRSYSASWYQQKPGQAPVLVIFRAAAARFSGSSSGNTASLTITGAQAEDEADYYCNSRDSSANHVFGGGTKLTV",
             "seq3":"SELTQDPAVSVALGQTVRITCQGDSLRSYYASWYQQKSGQAPVLVIYSYNNRPSGIPDRFSGSNSGNTASLTITGAQAEDEADYYCNSRDSSGHHLVFGGGTKLTVLGQPKAAPS",
             "seq4":"MKYLLPTAAAGLLL"} 

hmmstuff = HMMSTUFF() # create the main HMMSTUFF object

# to get a fast evaluation of the sequences, run:
results = hmmstuff.evaluate_sequences(sequences)

results will be a dictionary with as key the name of the input sequences (in the previous example "seq1", "seq2" ...). Each entry is again a dictionary with the predicted information:

  • best_template_name: is the best template for the input sequence (even if not good enouth to run a structure)
  • doable: if True, it means that the template is simmilar enough to build a model of the amyloid by homology.
  • substrings: is the portion of the input sequence that can be aligned with a template without gaps, with the exception of the parts missing in the PDB
  • score: The score of the template-input sequence alignment generated by HMMSTUFF. It goes from 0 to 1 and it tells how similar the input sequence is to the template.
  • alignment: is a tuple containing the aligmnet between the input sequence and the template sequence, generated with the HMM of HMMSTUFF.

To get an evaluation of the sequences, and eventually run the structure prediction, run:

results = hmmstuff.predict_structures(sequences,foldx_bin="Your/FoldX/Bin/path",folder_out_pdbs="Your/output/path/")

where foldx_bin is the path to the foldX 4 binary file and folder_out_pdbs is the path of the folder where the homology models are going to be stored.

In this case, the results of each input sequence will feature two additional information

-energy: the energy of the model calculated by FoldX

-pdb_file: The path of the homology models PDB file

Remember that for this study, foldX 4 has been used and a Rotabase.txt file is required to be found in the same folder of the FoldX binary. The code might work with FoldX5 as well, but it has not been tested.

Help

For bug reports, features addition and technical questions please contact orlando.gabriele89@gmail.be

Metadata

Release files for hmmstuff 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 hmmstuff 1.0.0
File Size Uploaded Provenance Actions
hmmstuff-1.0.0.tar.gz 613.1 kB Without provenance Details for hmmstuff-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / hmmstuff-1.0.0.tar.gz

Download URL hmmstuff-1.0.0.tar.gz
Size 613.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9eb69c32da26a972aa0c0af98eb98b186fd9c3ca57bbd5918560ddeabcc8cbba
BLAKE2b-256 checksum
How to use checksums
31c07240516a58f622e187652d1a78516330049c8625f544429e8dfd57f9ead8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.16

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

Download URL hmmstuff-1.0.0-py3-none-any.whl
Size 614.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3c19ab26403fbf32a79f3f7b8bd950a8f8ad225f47295fbaced3a607a6e2939
BLAKE2b-256 checksum
How to use checksums
85ae5408128a87c3303573004276d9e95e366b253b7f8267cb574044e2b17a4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.16

Security for hmmstuff 1.0.0

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