annotate docs/scripts/html/MolFilesToSD.html @ 0:4816e4a8ae95 draft default tip

Uploaded
author deepakjadmin
date Wed, 20 Jan 2016 09:23:18 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
1 <html>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
2 <head>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
3 <title>MayaChemTools:Documentation:MolFilesToSD.pl</title>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
4 <meta http-equiv="content-type" content="text/html;charset=utf-8">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
5 <link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
6 </head>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
7 <body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
8 <br/>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
9 <center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
10 <a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
11 </center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
12 <br/>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
13 <div class="DocNav">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
14 <table width="100%" border=0 cellpadding=0 cellspacing=2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
15 <tr align="left" valign="top"><td width="33%" align="left"><a href="./ModifyTextFilesFormat.html" title="ModifyTextFilesFormat.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./PathLengthFingerprints.html" title="PathLengthFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>MolFilesToSD.pl</strong></td><td width="33%" align="right"><a href="././code/MolFilesToSD.html" title="View source code">Code</a>&nbsp;|&nbsp;<a href="./../pdf/MolFilesToSD.pdf" title="PDF US Letter Size">PDF</a>&nbsp;|&nbsp;<a href="./../pdfgreen/MolFilesToSD.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a>&nbsp;|&nbsp;<a href="./../pdfa4/MolFilesToSD.pdf" title="PDF A4 Size">PDFA4</a>&nbsp;|&nbsp;<a href="./../pdfa4green/MolFilesToSD.pdf" title="PDF A4 Size with narrow margins: www.changethemargins.com">PDFA4Green</a></td></tr>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
16 </table>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
17 </div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
18 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
19 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
20 <h2>NAME</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
21 <p>MolFilesToSD.pl - Generate a SD file from MDLMOL File(s)</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
22 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
23 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
24 <h2>SYNOPSIS</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
25 <p>MolFilesToSD.pl MDLMOLFile(s)...</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
26 <p>MolFilesToSD.pl [<strong>-c, --compoundid</strong> usefileprefix | idlabel] [<strong>-d, --datafieldlabel</strong> fieldlabel]
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
27 [<strong>-h, --help</strong>] [<strong>-m, --mode</strong> molnameline | datafield | both | none] [<strong>-o, --overwrite</strong>]
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
28 [<strong>-r, --root</strong> rootname] [<strong>-w, --workingdir</strong> dirname] MDLMOLFile(s)...</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
29 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
30 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
31 <h2>DESCRIPTION</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
32 <p>Generate a SD file from <em>MDLMOL File(s)</em>. Multiple file names are separated by spaces.
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
33 The valid file extension is <em>.mol</em>. All other file names are ignored. All the files in a current
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
34 directory can be specified by <em>*.mol</em>, or the current directory name.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
35 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
36 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
37 <h2>OPTIONS</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
38 <dl>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
39 <dt><strong><strong>-c, --compoundid</strong> <em>usefileprefix | idlabel</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
40 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
41 <p>Specify how to generate compound IDs: use MOL filename prefix or generate
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
42 a new compound ID by combining <em>idlabel</em> with compound number. Possible
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
43 values: <em>usefileprefix | idlabel</em>. By default, <em>Cmd</em> is used as a <em>idlabel</em> to generate
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
44 these types of compound IDs: Cmpd1, Cmpd2 and so on.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
45 <p>Example: To generate compound IDs like Mol_ID1, Mol_ID2 and so on, specify
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
46 &quot;MolID&quot; value for this option.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
47 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
48 <dt><strong><strong>-d, --datafieldlabel</strong> <em>fieldlabel</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
49 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
50 <p>Specify data field label for adding compound ID field into SD file during <em>datafield | both</em>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
51 values of <strong>-m, --mode</strong> option. Default: &lt;Cmpd_ID&gt;.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
52 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
53 <dt><strong><strong>-h, --help</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
54 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
55 <p>Print this help message.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
56 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
57 <dt><strong><strong>-m, --mode</strong> <em>molnameline | datafield | both | none</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
58 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
59 <p>Specify how to add compopund ID into SD file: relplace the molname line,
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
60 add a new data field, replace the molname line and add data field, or do
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
61 nothing. Possible values: <em>molnameline | datafield | both | none</em>.
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
62 Default: <em>nothing</em>.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
63 <p>Use <strong>-c, --compoundid</strong> to specify compound ID generation process.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
64 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
65 <dt><strong><strong>-o, --overwrite</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
66 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
67 <p>Overwrite existing files.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
68 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
69 <dt><strong><strong>-r, --root</strong> <em>rootname</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
70 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
71 <p>New SD file name is generated using the root: &lt;Root&gt;.sdf. Default new file
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
72 name: &lt;InitialMOLFileName&gt;1To&lt;Count&gt;.sdf.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
73 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
74 <dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
75 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
76 <p>Location of working directory. Default: current directory.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
77 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
78 </dl>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
79 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
80 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
81 <h2>EXAMPLES</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
82 <p>To generate NewSample.sdf file from Sample*.mol files, type:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
83 <div class="ExampleBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
84 % MolFilesToSD.pl -r NewSample -o Sample*.mol</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
85 <p>To generate NewSample.sdf with Cmpd1, Cmpd2 and so on as compound ID in
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
86 MolName line and Cmpd_ID datafield from Sample*.mol files, type:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
87 <div class="ExampleBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
88 % MolFilesToSD.pl -r NewSample -m both -o Sample*.mol</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
89 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
90 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
91 <h2>AUTHOR</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
92 <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
93 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
94 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
95 <h2>SEE ALSO</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
96 <p><a href="./InfoSDFiles.html">InfoSDFiles.pl</a>,&nbsp<a href="./SDToMolFiles.html">SDToMolFiles.pl</a>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
97 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
98 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
99 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
100 <h2>COPYRIGHT</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
101 <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
102 <p>This file is part of MayaChemTools.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
103 <p>MayaChemTools is free software; you can redistribute it and/or modify it under
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
104 the terms of the GNU Lesser General Public License as published by the Free
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
105 Software Foundation; either version 3 of the License, or (at your option)
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
106 any later version.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
107 <p>&nbsp</p><p>&nbsp</p><div class="DocNav">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
108 <table width="100%" border=0 cellpadding=0 cellspacing=2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
109 <tr align="left" valign="top"><td width="33%" align="left"><a href="./ModifyTextFilesFormat.html" title="ModifyTextFilesFormat.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./PathLengthFingerprints.html" title="PathLengthFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>MolFilesToSD.pl</strong></td></tr>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
110 </table>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
111 </div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
112 <br />
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
113 <center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
114 <img src="../../images/h2o2.png">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
115 </center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
116 </body>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
117 </html>