![]() |
![]()
| ![]() |
![]()
NAMEChemistry::MacroMol - Perl module for macromolecules SYNOPSISuse Chemistry::MacroMol; my $mol = Chemistry::MacroMol->new(name => 'my big molecule'); $mol->new_domain(name => "ASP"); # see Chemistry::Domain for details my @domains = $mol->domains; DESCRIPTIONFor the purposes of this module, a macromolecule is just a molecule that consists of several "domains". For example, a protein consists of aminoacid residues, or a nucleic acid consists of bases. Therefore Chemistry::MacroMol is derived from Chemistry::Mol, with additional methods to handle the domains. The way things are currently structured, an atom in a macromolecule "belong" both to the MacroMol object and to a Domain object. This way you can get all the atoms in $protein via $protein->atoms, or to the atoms in residue 123 via $protein->domain(123)->atoms. METHODSRemember that this class inherits all the methods from Chemistry::Mol. They won't be repeated here.
VERSION0.06 SEE ALSOChemistry::Domain, Chemistry::Mol AUTHORIvan Tubert, <itub@cpan.org> COPYRIGHT AND LICENSECopyright 2004 by Ivan Tubert This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|