Skip to main content

A tool to get structural information about light chain amyloids

Project description

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 with pip:

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

conda create -n hmmstuff python=3.7

and activated with

conda activate hmmstuff

or

source activate hmmstuff

Install hmmstuff using

pip install hmmstuff

The procedure will install hmmstuff in your computer.

Installing chaplin from source:

If you want to install hmmstuff from this repository, you need to install the dependencies first.

pip install numpy scikit-learn transformers pomegranate==0.14.0

Finally, you can clone the repository with the following command:

git clone https://github.com/grogdrinker/hmmstuff/

Using chaplin 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)
# it is gonna tell you, for each sequence, if a structure can be created or not.
# It will also provide a dictionary of results with information: the best template (even if not good enouth to run a structure), the score of the HMM and an alignment with the best template

# 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/")
#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 gabriele.orlando@kuleuven.be

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

hmmstuff-0.0.2.tar.gz (540.6 kB view details)

Uploaded Source

Built Distribution

hmmstuff-0.0.2-py3-none-any.whl (542.7 kB view details)

Uploaded Python 3

File details

Details for the file hmmstuff-0.0.2.tar.gz.

File metadata

  • Download URL: hmmstuff-0.0.2.tar.gz
  • Upload date:
  • Size: 540.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for hmmstuff-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f9b8ef13d03cdda623068c03a9e753f454da672ac84c2ffd0ce50a9453c0626f
MD5 988451eb2f79032d6a22f9edc51e1512
BLAKE2b-256 6c988568fe3a8ab793160438818bce47e0a6bb07b189f206a8aaff3a601749ce

See more details on using hashes here.

File details

Details for the file hmmstuff-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: hmmstuff-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 542.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for hmmstuff-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a099c4197ff9d583ee45e1234b4218f664d7b8f452a70776fe711ca9c34e6292
MD5 f381e373f16455478f16e7ec06fc1ba1
BLAKE2b-256 c1ec9a336b9bb1d3550982649149fc7ee6eb6ee8fd883f9bfcb4a10821a5c75a

See more details on using hashes here.

Supported by

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