<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=DB2_File_Format</id>
	<title>DB2 File Format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.docking.org/index.php?action=history&amp;feed=atom&amp;title=DB2_File_Format"/>
	<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DB2_File_Format&amp;action=history"/>
	<updated>2026-05-22T20:44:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.docking.org/index.php?title=DB2_File_Format&amp;diff=9369&amp;oldid=prev</id>
		<title>Teague Sterling: Created page with &quot;This page explains the DB2 file format used in DOCK37.  = Nomenclature Definitions =  * Conf - one set of atoms that moves together with a single position per atom. * Set - a ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.docking.org/index.php?title=DB2_File_Format&amp;diff=9369&amp;oldid=prev"/>
		<updated>2016-04-19T21:38:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page explains the DB2 file format used in DOCK37.  = Nomenclature Definitions =  * Conf - one set of atoms that moves together with a single position per atom. * Set - a ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page explains the DB2 file format used in DOCK37.&lt;br /&gt;
&lt;br /&gt;
= Nomenclature Definitions =&lt;br /&gt;
&lt;br /&gt;
* Conf - one set of atoms that moves together with a single position per atom.&lt;br /&gt;
* Set - a group of conformations that completely defines one position for each atom in a ligand.&lt;br /&gt;
* Cluster - Not yet implamented in DOCK3.7&lt;br /&gt;
* Cloud - Not yet implamented in DOCK3.7&lt;br /&gt;
&lt;br /&gt;
= Record Types =&lt;br /&gt;
*T type information (implicitly assumed)&lt;br /&gt;
*M molecule (4 lines req&amp;#039;d, after that they are optional, 24 lines max)&lt;br /&gt;
*A atoms&lt;br /&gt;
*B bond&lt;br /&gt;
*X xyz &lt;br /&gt;
*R rigid xyz for matching (can actually be any xyzs) &lt;br /&gt;
*C conformation&lt;br /&gt;
*S sets&lt;br /&gt;
*D clusters&lt;br /&gt;
*E end of molecule&lt;br /&gt;
&lt;br /&gt;
 T ## namexxxx (implicitly assumed to be the standard 7)&lt;br /&gt;
 M zincname protname #atoms #bonds #xyz #confs #sets #rigid #Mlines #clusters&lt;br /&gt;
 M charge polar_solv apolar_solv total_solv surface_area&lt;br /&gt;
 M smiles&lt;br /&gt;
 M longname&lt;br /&gt;
 [M arbitrary information preserved for writing out]&lt;br /&gt;
 A stuff about each atom, 1 per line &lt;br /&gt;
 B stuff about each bond, 1 per line&lt;br /&gt;
 X coordnum atomnum confnum x y z &lt;br /&gt;
 R rigidnum color x y z&lt;br /&gt;
 C confnum coordstart coordend&lt;br /&gt;
 S setnum #lines #confs_total broken hydrogens omega_energy&lt;br /&gt;
 S setnum linenum #confs confs [until full column]&lt;br /&gt;
 D clusternum setstart setend matchstart matchend #additionalmatching&lt;br /&gt;
 D matchnum color x y z&lt;br /&gt;
 E &lt;br /&gt;
&lt;br /&gt;
With the above descriptions, here is a description of the columns that are used. Format statements for python/fortran will also appear at some point. If speed/size becomes an issue this might get replaced with a binary file format.&lt;br /&gt;
&lt;br /&gt;
notes: 17 children groups/group per line in current scheme.&lt;br /&gt;
9 children confs/group per line.&lt;br /&gt;
9 children confs/conf per line.&lt;br /&gt;
8 confs/set per line.&lt;br /&gt;
groups/confs with no children are written out.&lt;br /&gt;
&lt;br /&gt;
on the atom line, dt is dock type and co is color.&lt;br /&gt;
&lt;br /&gt;
           1         2         3         4         5         6         7&lt;br /&gt;
 01234567890123456789012345678901234567890123456789012345678901234567890123456789&lt;br /&gt;
 T ## typename&lt;br /&gt;
 M ZINCCODEXXXXXXXX PROTCODEX ATO BON XYZXXX CONFSX SETSXX RIGIDX MLINES NUMCLU&lt;br /&gt;
 M +CHA.RGEX +POLAR.SOL +APOLA.SOL +TOTAL.SOL SURFA.REA&lt;br /&gt;
 M SMILESXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
 M LONGNAMEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;br /&gt;
 [M ARBITRARY_INFORMATION_PRESERVEDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]&lt;br /&gt;
 A NUM NAME TYPEX DT CO +CHA.RGEX +POLAR.SOL +APOLA.SOL +TOTAL.SOL SURFA.REA&lt;br /&gt;
 B NUM ATO ATO TY&lt;br /&gt;
 X COORDNUMX ATO CONFNU +XCO.ORDX +YCO.ORDX +ZCO.ORDX&lt;br /&gt;
 R NUM CO +XCO.ORDX +YCO.ORDX +ZCO.ORDX&lt;br /&gt;
 C CONFNO COORDSTAR COORDENDX&lt;br /&gt;
 S SETIDX #LINES #CO C H +ENERGY.XXX&lt;br /&gt;
 S SETIDX LINENO # CCONFS CCONFS CCONFS CCONFS CCONFS CCONFS CCONFS CCONFS&lt;br /&gt;
 D CLUSID STASET ENDSET MST MEN ADD&lt;br /&gt;
 D NUM CO +XCO.ORDX +YCO.ORDX +ZCO.ORDX&lt;br /&gt;
 E&lt;br /&gt;
&lt;br /&gt;
the type lines following are assumed by dock unless overriden:&lt;br /&gt;
 T  1 positive&lt;br /&gt;
 T  2 negative&lt;br /&gt;
 T  3 acceptor&lt;br /&gt;
 T  4 donor&lt;br /&gt;
 T  5 ester_o&lt;br /&gt;
 T  6 amide_o&lt;br /&gt;
 T  7 neutral&lt;br /&gt;
&lt;br /&gt;
the following are the format statements for python for each line&lt;br /&gt;
 T %2d %8s\n&lt;br /&gt;
 M %16s %9s %3d %3d %6d %6d %6d %6d &amp;amp;6d %6d\n&lt;br /&gt;
 M %+9.4f %+10.3f %+10.3f %+10.3f %9.3f\n&lt;br /&gt;
 M %77s\n&lt;br /&gt;
 M %77s\n&lt;br /&gt;
 M %77s\n&lt;br /&gt;
 A %3d %-4s %-5s %2d %2d %+9.4f %+10.3f %+10.3f %+10.3f %9.3f\n&lt;br /&gt;
 B %3d %3d %3d %-2s\n&lt;br /&gt;
 X %9d %3d %6d %+9.4f %+9.4f %+9.4f\n&lt;br /&gt;
 R %3d %2d %+9.4f %+9.4f %+9.4f\n&lt;br /&gt;
 C %6d %9d %9d\n&lt;br /&gt;
 S %6d %6d %3d %1d %1d %+11.3f\n&lt;br /&gt;
 S %6d %6d %1d %6d %6d %6d %6d %6d %6d %6d %6d\n &lt;br /&gt;
 D %6d %6d %6d %3d %3d %3d\n&lt;br /&gt;
 D %3d %2d %+9.4f %+9.4f %+9.4f\n&lt;br /&gt;
 E\n&lt;br /&gt;
&lt;br /&gt;
The following are the fortran77 format statements&lt;br /&gt;
&lt;br /&gt;
 !T ## namexxxx (implicitly assumed to be the standard 7)&lt;br /&gt;
 1000 format(2x,i2,1x,a8)&lt;br /&gt;
 !M zincname protname #atoms #bonds #xyz #groups #confs #sets #rigid #mlines #clusters&lt;br /&gt;
 2000 format(2x,a16,1x,a9,1x,i3,1x,i3,1x,i6,1x,i6,1x,i6,x,i6,x,i6,x,i6,x,i6)&lt;br /&gt;
 !M charge polar_solv apolar_solv total_solv surface_area&lt;br /&gt;
 2100 format(2x,f9.4,1x,f10.3,1x,f10.3,1x,f10.3,1x,f9.3)&lt;br /&gt;
 !M smiles or longname&lt;br /&gt;
 2200 format(2x,a77)&lt;br /&gt;
 !A stuff about each atom, 1 per line&lt;br /&gt;
 3000 format(2x,i3,1x,a4,1x,a5,1x,i2,1x,i2,1x,f9.4,1x,f10.3,1x,&lt;br /&gt;
     &amp;amp;       f10.3,1x,f10.3,1x,f9.3)&lt;br /&gt;
 !B stuff about each bond, 1 per line&lt;br /&gt;
 4000 format(2x,i3,1x,i3,1x,i3,1x,a2)&lt;br /&gt;
 !X atomnum confnum x y z&lt;br /&gt;
 5000 format(2x,i9,1x,i3,1x,i6,x,f9.4,1x,f9.4,1x,f9.4)&lt;br /&gt;
 !R rigidnum color x y z&lt;br /&gt;
 6000 format(2x,i3,x,i2,x,f9.4,1x,f9.4,1x,f9.4)&lt;br /&gt;
 !C confnum #startcoord #endcoord&lt;br /&gt;
 7000 format(2x,i6,1x,i9,1x,i9)&lt;br /&gt;
 !S setnum #lines #confs_total broken hydrogens omega_energy&lt;br /&gt;
 8000 format(2x,i6,1x,i6,1x,i3,1x,i1,1x,i1,1x,f11.3)&lt;br /&gt;
 !S setnum linenum #confs confs [until full column]&lt;br /&gt;
 8100 format(2x,i6,1x,i6,1x,i1,1x,i6,1x,i6,1x,i6,1x,i6,&lt;br /&gt;
     &amp;amp;       1x,i6,1x,i6,1x,i6,1x,i6)&lt;br /&gt;
 !D CLUSID STARTSETX ENDSETXXX ADD MST MEN&lt;br /&gt;
 9000 format(2x,i6,x,i6,x,i6,x,i3,x,i3,x,i3)&lt;br /&gt;
 !D NUM CO +XCO.ORDX +YCO.ORDX +ZCO.ORDX&lt;br /&gt;
 !re-use 6000&lt;br /&gt;
 !E&lt;br /&gt;
 !E does not get a format line&lt;br /&gt;
&lt;br /&gt;
The following are Fortran95 format statements:&lt;br /&gt;
&lt;br /&gt;
 !T ## namexxxx (implicitly assumed to be the standard 7)&lt;br /&gt;
       character (len=*), parameter :: DB2NAME = &amp;#039;(2x,i2,x,a8)&amp;#039; !1000&lt;br /&gt;
 !M zincname protname #atoms #bonds #xyz #confs #sets #rigid #maxmlines #clusters&lt;br /&gt;
       character (len=*), parameter :: DB2M1 =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,a16,x,a9,x,i3,x,i3,x,i6,x,i6,x,i6,x,i6,x,i6,x,i6)&amp;#039; !2000&lt;br /&gt;
 !M charge polar_solv apolar_solv total_solv surface_area&lt;br /&gt;
       character (len=*), parameter :: DB2M2 =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,f9.4,x,f10.3,x,f10.3,x,f10.3,x,f9.3)&amp;#039; !2100&lt;br /&gt;
 !M smiles/longname/arbitrary&lt;br /&gt;
       character (len=*), parameter :: DB2M3 = &amp;#039;(2x,a78)&amp;#039; !2200&lt;br /&gt;
 !A stuff about each atom, 1 per line&lt;br /&gt;
       character (len=*), parameter :: DB2ATOM =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i3,x,a4,x,a5,x,i2,x,i2,x,f9.4,x,f10.3,x,&lt;br /&gt;
      &amp;amp;    f10.3,x,f10.3,x,f9.3)&amp;#039; !3000&lt;br /&gt;
 !B stuff about each bond, 1 per line&lt;br /&gt;
      character (len=*), parameter :: DB2BOND =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i3,x,i3,x,i3,x,a2)&amp;#039; !4000&lt;br /&gt;
 !X coordnumx atomnum confnum x y z&lt;br /&gt;
       character (len=*), parameter :: DB2COORD =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i9,x,i3,x,i6,x,f9.4,x,f9.4,x,f9.4)&amp;#039; !5000&lt;br /&gt;
 !R rigidnum color x y z&lt;br /&gt;
       character (len=*), parameter :: DB2RIGID =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i6,x,i2,x,f9.4,x,f9.4,x,f9.4)&amp;#039; !6000&lt;br /&gt;
 !C confnum coordstart coordend&lt;br /&gt;
       character (len=*), parameter :: DB2CONF = &amp;#039;(2x,i6,x,i9,x,i9)&amp;#039; !7000&lt;br /&gt;
 !S setnum #lines #confs_total broken hydrogens omega_energy &lt;br /&gt;
       character (len=*), parameter :: DB2SET1 =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i6,x,i6,x,i3,x,i1,x,i1,x,f11.3)&amp;#039; !8000&lt;br /&gt;
 !S setnum linenum #confs confs [until full column]&lt;br /&gt;
       character (len=*), parameter :: DB2SET2 =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i6,x,i6,x,i1,x,i6,x,i6,x,i6,x,i6,&lt;br /&gt;
      &amp;amp;    1x,i6,x,i6,x,i6,x,i6)&amp;#039; !8100&lt;br /&gt;
 !D CLUSID STASET ENDSET ADD(ittional matching spheres count) MST(art) MEN(d)&lt;br /&gt;
       character (len=*), parameter :: DB2CLUSTER =&lt;br /&gt;
      &amp;amp;    &amp;#039;(2x,i6,x,i6,x,i6,x,i3,x,i3,x,i3)&amp;#039; !9000&lt;br /&gt;
 !D NUM CO x y z&lt;br /&gt;
 !reuse DB2RIGID&lt;br /&gt;
 !E&lt;br /&gt;
 !E does not get a format line &lt;br /&gt;
&lt;br /&gt;
[[Category:Formats]]&lt;/div&gt;</summary>
		<author><name>Teague Sterling</name></author>
	</entry>
</feed>