Package csb :: Package bio :: Package io
[frames] | no frames]

Package io

source code

I/O for various biological file formats.

Submodules

Classes
  AsyncStructureParser
Wraps StructureParser in an asynchronous call.
  ClansParser
CLANS file format aware parser.
  DSSPParser
Simple DSSP Secondary Structure Parser.
  HHOutputParser
Parser for HHsearch result (*.hhr) files.
  HHProfileParser
A class that is HHpred HMM format aware.
  HHpredOutputParser
Parser for HHsearch result (*.hhr) files.
  HHpredProfileParser
A class that is HHpred HMM format aware.
  PDBHeaderParser
Ultra fast PDB HEADER parser.
  PDBSequenceParser
PDB FASTA parser.
  SequenceParser
Standard FASTA parser.
  StrideParser
Simple STRIDE Secondary Structure Parser.
Functions
AbstractStructureParser
StructureParser(structure_file, check_ss=False, mapper=None)
A StructureParser factory, which instantiates and returns the proper parser object based on the contents of the PDB file.
source code
Function Details

StructureParser(structure_file, check_ss=False, mapper=None)

source code 

A StructureParser factory, which instantiates and returns the proper parser object based on the contents of the PDB file.

If the file contains a SEQRES section, RegularStructureParser is returned, otherwise LegacyStructureParser is instantiated. In the latter case LegacyStructureParser will read the sequence data directly from the ATOMs.

Parameters:
Returns: AbstractStructureParser