Back to index

python-biopython  1.60
Classes | Functions | Variables
Bio.PDB.Dice Namespace Reference

Classes

class  ChainSelector

Functions

def extract

Variables

tuple _hydrogen = re.compile("[123 ]*H.*")
tuple p = PDBParser()
tuple s = p.get_structure("scr", sys.argv[1])

Function Documentation

def Bio.PDB.Dice.extract (   structure,
  chain_id,
  start,
  end,
  filename 
)
Write out selected portion to filename.

Definition at line 60 of file Dice.py.

00060 
00061 def extract(structure, chain_id, start, end, filename):
00062     """
00063     Write out selected portion to filename.
00064     """
00065     sel=ChainSelector(chain_id, start, end)
00066     io=PDBIO()
00067     io.set_structure(structure)
00068     io.save(filename, sel)
00069 
00070 

Here is the caller graph for this function:


Variable Documentation

tuple Bio.PDB.Dice._hydrogen = re.compile("[123 ]*H.*")

Definition at line 12 of file Dice.py.

Definition at line 77 of file Dice.py.

tuple Bio.PDB.Dice.s = p.get_structure("scr", sys.argv[1])

Definition at line 78 of file Dice.py.