Skip to content

Instantly share code, notes, and snippets.

View smsaladi's full-sized avatar
💭
💻 typing...

Shyam Saladi smsaladi

💭
💻 typing...
View GitHub Profile
@smsaladi
smsaladi / hydrophobic_moment.py
Created November 15, 2017 23:45 — forked from JoaoRodrigues/hydrophobic_moment.md
Peptide/Protein Hydrophobic Moment Calculator
#!/usr/bin/env python
"""
Calculates a set of properties from a protein sequence:
- hydrophobicity (according to a particular scale)
- mean hydrophobic dipole moment assuming it is an alpha-helix.
- total charge (at pH 7.4)
- amino acid composition
- discimination factor according to Rob Keller (IJMS, 2011)