weirdo

Peptide similarity measures, distance functions, and attempts to quantify the 'self' proteome


License
Imlib2
Install
pip install weirdo==1.0.0

Documentation

Build Status Coverage Status PyPI

weirdo

Metrics of immunological foreignness for candidate T-cell epitopes. An extension of the pepdata library.

Amino Acid Properties

The amino_acid module contains a variety of physical/chemical properties for both single amino residues and interactions between pairs of residues.

Single residue feature tables are parsed into StringTransformer objects, which can be treated as dictionaries or will vectorize a string when you call their method transform_string.

Examples of single residue features:

  • hydropathy
  • volume
  • polarity
  • pK_side_chain
  • prct_exposed_residues
  • hydrophilicity
  • accessible_surface_area
  • refractivity
  • local_flexibility
  • accessible_surface_area_folded
  • alpha_helix_score (Chou-Fasman)
  • beta_sheet_score (Chou-Fasman)
  • turn_score (Chou-Fasman)

Pairwise interaction tables are parsed into nested dictionaries, so that the interaction between amino acids x and y can be determined from d[x][y].

Pairwise interaction dictionaries:

  • strand_vs_coil (and its transpose coil_vs_strand)
  • helix_vs_strand (and its transpose strand_vs_helix)
  • helix_vs_coil (and its transpose coil_vs_helix)
  • blosum30
  • blosum50
  • blosum62

There is also a function to parse the coefficients of the PMBEC similarity matrix, though this currently lives in the separate pmbec module.