Home | Trees | Indices | Help |
|
---|
|
Open PDB file; give back one chain whenever next() is called. This class is used by the pdb2xplor script.
This class constitutes vintage code. See Biskit.PDBCleaner and Biskit.Mod.TemplateCleaner for a more recent implementation of PDB cleaning.To Do: The removal of duplicate chains should be transferred to the PDBCleaner so that this class can be retired
|
|||
| __init__(self, fname, outPath='', chainIdOffset=0, capBreaks=0, chainMask=0, log=None) | ||
str
|
pdbname(self) Extract pdb code from file name. |
||
|
_expressionCheck(self,
findExpression,
findClean) Check and report if the regular expression 'findExpression' exists in the PDB-file. |
||
|
_hetatomCheck(self) Check and report if there are any none-water HETATMs in the PDB-file |
||
|
_compareSequences(self,
seq1,
seq2) Returns identity (0.0 - 1.0) between the two sequences @rtype : float |
||
int
|
_removeDuplicateChains(self,
chainMask=None) Get rid of identical chains by comparing all chains with Blast2seq. |
||
|
_assign_seg_ids(self) Assign new segment id to each chain. |
||
list of int
|
_sequentialDist(self,
chain,
cutoff,
atom) Calculate sequential atom-atom distance, report residues with longer distance than cutoff (chain break positions). |
||
|
_separateChainBreaks(self) Separate chains with breaks into 2 chains. |
||
|
__nCap(self,
pep_chain) Add acetyl capping to N-terminal of peptide chain |
||
|
__cCap(self,
pep_chain) Add methyle amine capping to C-terminal of peptide chain |
||
|
extractWaters(self) Write waters into separate pdb file, called |pdbCode|_waters.pdb. |
||
chain object OR None
|
next(self) Return next 'clean', non-redundant, non-broken chain from PDB |
|
|
Extract pdb code from file name.
|
Check and report if the regular expression 'findExpression' exists in the PDB-file. Use this to locate data in the REMARK section of a pdb file. Prints a warning to stdOut if the regular expression is found.
|
Check and report if there are any none-water HETATMs in the PDB-file |
|
Get rid of identical chains by comparing all chains with Blast2seq.
|
Assign new segment id to each chain. |
Calculate sequential atom-atom distance, report residues with longer distance than cutoff (chain break positions).
|
Separate chains with breaks into 2 chains. The new chain(s) is/are added to the internal PDB instance (self.chains). |
Add acetyl capping to N-terminal of peptide chain |
Add methyle amine capping to C-terminal of peptide chain |
Write waters into separate pdb file, called |pdbCode|_waters.pdb. |
Return next 'clean', non-redundant, non-broken chain from PDB
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Tue May 1 22:34:51 2007 | http://epydoc.sourceforge.net |