Chemistry::File::PDB

Protein Data Bank file format reader/writer
Download

Chemistry::File::PDB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ivan Tubert-Brohman
  • Publisher web site:
  • http://search.cpan.org/~itub/

Chemistry::File::PDB Tags


Chemistry::File::PDB Description

Protein Data Bank file format reader/writer Chemistry::File::PDB is a Perl module that reads and writes PDB files. The PDB file format is commonly used to describe proteins, particularly those stored in the Protein Data Bank (http://www.rcsb.org/pdb/). The current version of this module only reads the following record types, ignoring everything else: ATOM HETATM ENDMDL ENDThis module automatically registers the 'pdb' format with Chemistry::Mol, so that PDB files may be identified and read by Chemistry::Mol->read(). For autodetection purpuses, it assumes that files ending in .pdb or having a line matching /^(ATOM |HETATM)/ are PDB files.The PDB reader and writer is designed for dealing with Chemistry::MacroMol objects, but it can also create and use Chemistry::Mol objects by throwing some information away.SYNOPSIS use Chemistry::File::PDB; # read a PDB file my $macro_mol = Chemistry::MacroMol->read("myfile.pdb"); # write a PDB file $macro_mol->write("out.pdb"); # read all models in a multi-model file my @mols = Chemistry::MacroMol->read("models.pdb"); # read one model at a time my $file = Chemistry::MacroMol->file("models.pdb"); $file->open; while (my $mol = $file->read_mol($file->fh)) { # do something with $mol } Requirements: · Perl


Chemistry::File::PDB Related Software