Helical wheel representations of peptide sequences.
Project description
helicalwheel: Helical Wheel Representation of Alpha-Helices
Description
Creates a two-dimensional top-down view of an alpha-helix sequence. The advantages of this package are:
- Easy rotations of the diagram are possible
- Sequences longer than 18 amino acids are split into multiple diagrams and plotted next to each other
- Easy readibility due to increasing line thickness connecting the AA corresponding to their position in the helix
- Alternative helices (e.g. 310) can be drawn by adjusting the input angle
Important: This package does not predict whether a peptide sequence will form an alpha helix. The graph only visualizes the arrangement of residues assuming an alpha helix is present. We recommend first using AlphaFold or other structure prediction tools, and then using this package to visualize the predicted alpha helices.
Built by Jann Staebler, PhD student (Institute of Virology, University of Zurich)
Dependencies
- NumPy
- Pandas
- Matplotlib
Installation
The source code can be found on GitHub: https://github.com/jastaeb/helicalwheel
Python package index at: https://pypi.org/project/helicalwheel/
Helicalwheel can be installed as follows:
python -m pip install -U pip
python -m pip install -U helicalwheel
Usage
#%% Load helixvis
import helicalwheel as hw
#%% Input sequence
# Section of a predicted alpha helix of the assembly-activating protein of Adenovirus-associated virus serotype 2
aap2_seq = "LVWELIRWLQAVAHQWQTIT"
# Creating a dataframe with helix coordinates
df_wt=hw.helix_coordinates(aap2_seq)
#%% Plotting
first_pos=21 # indicate the first alpha-helix residue position in the total protein sequence
# Entire helix
wt_plot_1 = hw.helixplot(df_wt, first_pos=first_pos)
# Two individual plots figure assembly
wt_plot_1 = hw.helixplot(df_wt.iloc[0:10], legend=False, first_pos=first_pos)
wt_plot_2 = hw.helixplot(df_wt.iloc[10:], legend=False, first_pos=first_pos)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file helicalwheel-0.1.2.tar.gz.
File metadata
- Download URL: helicalwheel-0.1.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
629a5f823a4af805b94771b0780248885c5be6e001a036f1cbc9227647aff1c4
|
|
| MD5 |
8cefb8e9280b6a677dfcaa52523172cc
|
|
| BLAKE2b-256 |
eb975f65b95a01b16d365ff5878e9a1164e73fefbed936d2f3b207bd64ef68fa
|
File details
Details for the file helicalwheel-0.1.2-py3-none-any.whl.
File metadata
- Download URL: helicalwheel-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd71f9c7514d7a7fa24e5ede5727d47a99cf6130ed0d012aa0e488606f8a3c55
|
|
| MD5 |
2da60fae970ab5a78ed8d7a932308b89
|
|
| BLAKE2b-256 |
83953545ff9875166fe7d03e24a8a0ca84769e4a89f6f4550a13eba82619f0fd
|