psico.aaindex
Python parser for AAindex: Amino Acid Index Database
2010-2012 Thomas Holder, MPI for Developmental Biology
License: BSD-2-Clause
Functions
|
Looks up the Amino Acid Index from http://www.genome.jp/aaindex/ for the given key and assignes b-factors to the given selection. |
|
Load Kyte-Doolittle hydropathy index values into b-factor column. |
|
Multiply residue hydrophathy (b) with residue exposure (q) and color with a gradient. |
Classes
|
Represents an aaindex database file as key => record mapping. |
Matrix record for mutation matrices or pair-wise contact potentials |
|
|
Amino acid index (AAindex) Record |
- class psico.aaindex.AAindex(index='', path=None, quiet=1)[source]
Bases:
dictRepresents an aaindex database file as key => record mapping.
- grep(pattern)[source]
Search for pattern in title and description of all records (case insensitive) and print results on standard output.
- class psico.aaindex.MatrixRecord[source]
Bases:
RecordMatrix record for mutation matrices or pair-wise contact potentials
- class psico.aaindex.Record[source]
Bases:
objectAmino acid index (AAindex) Record
- aakeys = 'ARNDCQEGHILKMFPSTWYV'
- psico.aaindex.aaindex2b(key, selection='all', var='b', quiet=1, *, _self=...)[source]
Looks up the Amino Acid Index from http://www.genome.jp/aaindex/ for the given key and assignes b-factors to the given selection. Unknown residues get the average index value assigned.
Usage
aaindex2b key [, selection ]
Arguments
key = string: Key of AAindex entry
selection = string: atoms to assign b-factors {default: (all)}
Example
# Hydropathy index by Kyte-Doolittle aaindex2b KYTJ820101 spectrumany b, white yellow forest show surface
See Also
hydropathy2b