Package Bio :: Package PDB :: Module parse_pdb_header'
[hide private]
[frames] | no frames]

Module parse_pdb_header'

source code

Parse the header of a PDB file.

Functions [hide private]
 
_chop_end_codes(line)
Chops lines ending with ' 1CSA 14' and the like.
source code
 
_chop_end_misc(line)
Chops lines ending with ' 14-JUL-97 1CSA' and the like.
source code
 
_format_date(pdb_date)
Converts dates from DD-Mon-YY to YYYY-MM-DD format.
source code
 
_get_journal(inl) source code
 
_get_references(inl) source code
 
_nice_case(line)
Makes A Lowercase String With Capitals.
source code
 
_parse_pdb_header_list(header) source code
 
parse_pdb_header(infile)
Returns the header lines of a pdb file as a dictionary.
source code
Variables [hide private]
  __package__ = 'Bio.PDB'
Function Details [hide private]

parse_pdb_header(infile)

source code 

Returns the header lines of a pdb file as a dictionary.

Dictionary keys are: head, deposition_date, release_date, structure_method,
resolution, structure_reference, journal_reference, author and
compound.