Mmdb: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
(Other ways to get MMDB)
 
(4 intermediate revisions by 4 users not shown)
Line 11: Line 11:
== How to install mmdb? ==
== How to install mmdb? ==


The easiest way for users of Linux distros is to install the Fedora 9 RPM package ([https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00262.html announcement]). For Apple machines, this would probably be http://pdb.finkproject.org/pdb/package.php/mmdb .
The easiest way for users of Linux RPM based distributions is to install the Fedora 9 RPM package ([https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00262.html announcement]).  
 
Ubuntu users may install the package using apt-get:
 
apt-get install libmmdb-dev
 
For Apple machines, mmdb is available via  [http://pdb.finkproject.org/pdb/package.php/mmdb The FINK project]. (Direct link to the Fink .info file  [http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/unstable/main/finkinfo/sci/mmdb.info '''HERE''']).
 
If you wish to compile the MMDB source yourself, you can obtain a standalone distribution tarball from [https://launchpad.net/mmdb The MMDB project on Launchpad] or from the [http://lmb.bioch.ox.ac.uk/coot/software/dependencies/ Coot software dependencies site] at Oxford.


== How to use it? ==
== How to use it? ==
Link your application with ...
Link your application with ...


== Example: a typical problem and its solution with mmdb ==
== Examples for atom selections ==
 
What is the mmdb string for all atoms in the A conformation of residue 30 in the B chain? Answer: "//B/30/*:A"
What is the mmdb string for all atoms in the A conformation of residue 30 in the B chain? Answer: "//B/30/*:A"
The general syntax is:
/mdl/chn/seq(res).ic/atm[elm]:aloc
e.g. "/1/A/12-130/CA" selects the CAs of residues A12-A130
or
e.g. "//*/1-10" for residues 1-10 in all chains
Some further information about the selection syntax can be found on the pdbcur site http://www.ccp4.ac.uk/html/pdbcur.html#atom_selection.


== Documentation ==
== Documentation ==
http://www.ebi.ac.uk/~keb/cldoc/ and http://msd.ebi.ac.uk/~keb/cldoc/ are both broken.
* [http://www.ebi.ac.uk/pdbe/docs/cldoc/ The author's documentation of MMDB] at the European Bioinformatics Institute
* [http://www.ebi.ac.uk/pdbe/docs/cldoc/ CCP4 Coordinate Library Project] at the European Bioinformatics Institute

Latest revision as of 12:06, 23 November 2010

What is mmdb?[edit | edit source]

MMDB is a macromolecular coordinate library, written by Eugene Krissinel primarily for use by CCP4 group. The Coordinate Library is designed to assist CCP4 developers in working with coordinate files.

The Library features work with the primary file formats of the Protein Data Bank (PDB), the PDB file format and the mmCIF file format.

The Library provides various high-level tools for working with coordinate files, which include not only reading and writing, but also orthogonal-fractional coordinate transforms, generation of symmetry mates, editing the molecular structure and some others. The Library is supposed as a general low-level tool for unifying the coordinate-related operations.

The Clipper-MMDB interface package provides an interface to allow MMDB models to interact with other types of crystallographic data as part of a structure solution application.

How to install mmdb?[edit | edit source]

The easiest way for users of Linux RPM based distributions is to install the Fedora 9 RPM package (announcement).

Ubuntu users may install the package using apt-get:

apt-get install libmmdb-dev

For Apple machines, mmdb is available via The FINK project. (Direct link to the Fink .info file HERE).

If you wish to compile the MMDB source yourself, you can obtain a standalone distribution tarball from The MMDB project on Launchpad or from the Coot software dependencies site at Oxford.

How to use it?[edit | edit source]

Link your application with ...

Examples for atom selections[edit | edit source]

What is the mmdb string for all atoms in the A conformation of residue 30 in the B chain? Answer: "//B/30/*:A"

The general syntax is:

/mdl/chn/seq(res).ic/atm[elm]:aloc

e.g. "/1/A/12-130/CA" selects the CAs of residues A12-A130

or

e.g. "//*/1-10" for residues 1-10 in all chains

Some further information about the selection syntax can be found on the pdbcur site http://www.ccp4.ac.uk/html/pdbcur.html#atom_selection.

Documentation[edit | edit source]