Skip to main content

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:

Python package index at:

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_wt)

#%% Plotting
# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helicalwheel-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

helicalwheel-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file helicalwheel-0.1.0.tar.gz.

File metadata

  • Download URL: helicalwheel-0.1.0.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

Hashes for helicalwheel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9861fd1bf0ddcef09ab1d29c78fb12bbab46a5c040d571cb8dba303c82b5375c
MD5 cfd499eb9fe9c2e02c2651811a23e9d2
BLAKE2b-256 7167fd61b111f3b5438b137841db9d5976325526f05def5d21b182b007124531

See more details on using hashes here.

File details

Details for the file helicalwheel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: helicalwheel-0.1.0-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

Hashes for helicalwheel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 261a9630311ae271a1fc88cbb73e2dcd2a8e3da70df37f8ae28fa5e5ded732b7
MD5 79408435f9e1a211ece8ee6f840640f7
BLAKE2b-256 67a2a2f231db285e2cc6cb16d20c07a1b6a1591bac0da3b26e3b346af9d4e093

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