Package schrodinger :: Package application :: Package msv :: Package domain :: Module residue :: Class Residue
[hide private]
[frames] | no frames]

Class Residue

object --+
         |
        Residue

Instance Methods [hide private]
 
__init__(self, residue_type, inscode='', resum=None, origin=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__str__(self)
Returns the short code for the residue
 
__repr__(self)
repr(x)
float
getSimilarity(self, ref_res, similarity_matrix={('A', 'A'): 4, ('B', 'A'): -2, ('B', 'B'): 4, ('B', 'C'): -3,...)
Returns the similarity between the residue and a reference residue
float
getIdentity(self, ref_res)
Return the identity between the residue and a reference residue
float
getHomology(self, ref_res)
Return a float scoring the homology between the sequence and a reference sequence, assuming that they're already aligned

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  rescode
  short_code
  long_code
  hydrophobicity
  hydrophilicity
  helix_propensity
  beta_strand_propensity
  ss_prediction_psipred
Returns a DSSP code matching the secondary structure prediction for the residue or None.
  ss_prediction_sspro
Returns a DSSP code matching the secondary structure prediction for the residue or None.
  isoelectric_point

Inherited from object: __class__

Method Details [hide private]

__init__(self, residue_type, inscode='', resum=None, origin=None)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • residue_type (ResidueType) - The kind of the residue
  • inscode (str) - The insertion code
  • resnum (int) - PDB residue number
  • origin (object) - Optional code indicating the provenance of the residue
Overrides: object.__init__

__str__(self)
(Informal representation operator)

 

Returns the short code for the residue

Overrides: object.__str__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

getSimilarity(self, ref_res, similarity_matrix={('A', 'A'): 4, ('B', 'A'): -2, ('B', 'B'): 4, ('B', 'C'): -3,...)

 

Returns the similarity between the residue and a reference residue

Parameters:
Returns: float
The similarity score (between 0.0 and 1.0) between the residue and the reference residue

getIdentity(self, ref_res)

 

Return the identity between the residue and a reference residue

Parameters:
Returns: float
The identity score (either 0.0 or 1.0) between the residue and the reference residue

getHomology(self, ref_res)

 

Return a float scoring the homology between the sequence and a reference sequence, assuming that they're already aligned

The homology criterion is based on "side chain chemistry" descriptor matching.

Parameters:
Returns: float
The homology score (either 0.0 or 1.0) between the residue and the reference residue

Property Details [hide private]

rescode

Get Method:
unreachable.rescode(self)

short_code

Get Method:
unreachable.short_code(self)

long_code

Get Method:
unreachable.long_code(self)

hydrophobicity

Get Method:
unreachable.hydrophobicity(self) - Returns: A float representing the hydrophobicity for the ResidueType on the Kyte-Doolittle scale, if available; otherwise None

hydrophilicity

Get Method:
unreachable.hydrophilicity(self) - Returns: A float representing the hydrophilicity for the ResidueType on the Hopp-Woods scale, if available; otherwise None

helix_propensity

Get Method:
unreachable.helix_propensity(self) - Returns: A float representing the helix propensity for the ResidueType of the residue

beta_strand_propensity

Get Method:
unreachable.beta_strand_propensity(self) - Returns: A float representing the beta strand propensity for the ResidueType of the residue

ss_prediction_psipred

Returns a DSSP code matching the secondary structure prediction for the residue or None. Value is calculated from thePsiPred backend.

Get Method:
unreachable.ss_prediction_psipred(self) - Returns a DSSP code matching the secondary structure prediction for the residue or None.
Set Method:
unreachable.ss_prediction_psipred(self, value)

ss_prediction_sspro

Returns a DSSP code matching the secondary structure prediction for the residue or None. Value is calculated from the SSpro backend.

Get Method:
unreachable.ss_prediction_sspro(self) - Returns a DSSP code matching the secondary structure prediction for the residue or None.
Set Method:
unreachable.ss_prediction_sspro(self, value)

isoelectric_point

Get Method:
unreachable.isoelectric_point(self) - Returns: A float representing the isoelectric point value for the ResidueType of the residue