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: 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_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.1.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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: helicalwheel-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0457d110f0f227155e1dd0979ea050e184defe4a5f203068007dfd1779f5e5ea
MD5 ee692693e95cb9ae3f75742c079b442b
BLAKE2b-256 b1643fc45314dd2a21d3894e14d2de069c77f8eb1f4d5c7b9126d25063d5940f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: helicalwheel-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b40479e1777bfb4e98d3656e28d1ccd8dd53d882bfe226284e2bee4d77affb55
MD5 c5fc7679cb220d432491b5b802dbe33c
BLAKE2b-256 cbc5307b1536ebcb1260730e7ca14f1def9cb8cf7498893f69c008dcab622cf9

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