Package Bio :: Package PDB :: Package mmtf :: Class MMTFParser
[hide private]
[frames] | no frames]

Class MMTFParser

source code

object --+
         |
        MMTFParser

Class to get a Biopython structure from a URL or a filename.
Instance Methods [hide private]

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

Static Methods [hide private]
 
get_structure_from_url(pdb_id)
Get a structure from a URL - given a PDB id.
source code
 
get_structure(file_path)
Get a structure from a file - given a file path.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_structure_from_url(pdb_id)
Static Method

source code 
Get a structure from a URL - given a PDB id.
Parameters:
  • pdb_id - the input PDB id
Returns:
the structure

get_structure(file_path)
Static Method

source code 
Get a structure from a file - given a file path.
Parameters:
  • file_path - the input file path
Returns:
the structure