| 
0
 | 
     1 <html>
 | 
| 
 | 
     2 <head>
 | 
| 
 | 
     3 <title>MayaChemTools:Documentation:JoinSDFiles.pl</title>
 | 
| 
 | 
     4 <meta http-equiv="content-type" content="text/html;charset=utf-8">
 | 
| 
 | 
     5 <link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css">
 | 
| 
 | 
     6 </head>
 | 
| 
 | 
     7 <body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10">
 | 
| 
 | 
     8 <br/>
 | 
| 
 | 
     9 <center>
 | 
| 
 | 
    10 <a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a>
 | 
| 
 | 
    11 </center>
 | 
| 
 | 
    12 <br/>
 | 
| 
 | 
    13 <div class="DocNav">
 | 
| 
 | 
    14 <table width="100%" border=0 cellpadding=0 cellspacing=2>
 | 
| 
 | 
    15 <tr align="left" valign="top"><td width="33%" align="left"><a href="./InfoTextFiles.html" title="InfoTextFiles.html">Previous</a>  <a href="./index.html" title="Table of Contents">TOC</a>  <a href="./JoinTextFiles.html" title="JoinTextFiles.html">Next</a></td><td width="34%" align="middle"><strong>JoinSDFiles.pl</strong></td><td width="33%" align="right"><a href="././code/JoinSDFiles.html" title="View source code">Code</a> | <a href="./../pdf/JoinSDFiles.pdf" title="PDF US Letter Size">PDF</a> | <a href="./../pdfgreen/JoinSDFiles.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a> | <a href="./../pdfa4/JoinSDFiles.pdf" title="PDF A4 Size">PDFA4</a> | <a href="./../pdfa4green/JoinSDFiles.pdf" title="PDF A4 Size with narrow margins: www.changethemargins.com">PDFA4Green</a></td></tr>
 | 
| 
 | 
    16 </table>
 | 
| 
 | 
    17 </div>
 | 
| 
 | 
    18 <p>
 | 
| 
 | 
    19 </p>
 | 
| 
 | 
    20 <h2>NAME</h2>
 | 
| 
 | 
    21 <p>JoinSDFiles.pl - Join multiple SDFiles into a single SDFile</p>
 | 
| 
 | 
    22 <p>
 | 
| 
 | 
    23 </p>
 | 
| 
 | 
    24 <h2>SYNOPSIS</h2>
 | 
| 
 | 
    25 <p>JoinSDFiles.pl  SDFiles...</p>
 | 
| 
 | 
    26 <p>JoinSDFiles.pl [<strong>-h, --help</strong>] [<strong>-o, --overwrite</strong>] [<strong>-r, --root</strong> rootname]
 | 
| 
 | 
    27 [<strong>-w, --workingdir</strong> dirname] SDFiles...</p>
 | 
| 
 | 
    28 <p>
 | 
| 
 | 
    29 </p>
 | 
| 
 | 
    30 <h2>DESCRIPTION</h2>
 | 
| 
 | 
    31 <p>Multiple <em>SDFiles</em> are joined to generate a single SDFile. The file names
 | 
| 
 | 
    32 are separated by spaces. The valid file extensions are <em>.sdf</em> and <em>.sd</em>.
 | 
| 
 | 
    33 All other file names are ignored. All the SD files in a current directory can be
 | 
| 
 | 
    34 specified either by <em>*.sdf</em> or the current directory name.</p>
 | 
| 
 | 
    35 <p>
 | 
| 
 | 
    36 </p>
 | 
| 
 | 
    37 <h2>OPTIONS</h2>
 | 
| 
 | 
    38 <dl>
 | 
| 
 | 
    39 <dt><strong><strong>-h, --help</strong></strong></dt>
 | 
| 
 | 
    40 <dd>
 | 
| 
 | 
    41 <p>Print this help message.</p>
 | 
| 
 | 
    42 </dd>
 | 
| 
 | 
    43 <dt><strong><strong>-o, --overwrite</strong></strong></dt>
 | 
| 
 | 
    44 <dd>
 | 
| 
 | 
    45 <p>Overwrite existing files.</p>
 | 
| 
 | 
    46 </dd>
 | 
| 
 | 
    47 <dt><strong><strong>-r, --root</strong> <em>rootname</em></strong></dt>
 | 
| 
 | 
    48 <dd>
 | 
| 
 | 
    49 <p>New SD file name is generated using the root: <Root>.sdf. Default file
 | 
| 
 | 
    50 name:<FirstSDFileName>1To<Count>Joined.sdf.</p>
 | 
| 
 | 
    51 </dd>
 | 
| 
 | 
    52 <dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt>
 | 
| 
 | 
    53 <dd>
 | 
| 
 | 
    54 <p>Location of working directory. Default: current directory.</p>
 | 
| 
 | 
    55 </dd>
 | 
| 
 | 
    56 </dl>
 | 
| 
 | 
    57 <p>
 | 
| 
 | 
    58 </p>
 | 
| 
 | 
    59 <h2>EXAMPLES</h2>
 | 
| 
 | 
    60 <p>To join SD files, type:</p>
 | 
| 
 | 
    61 <div class="ExampleBox">
 | 
| 
 | 
    62     % JoinSDFiles.pl -o Sample1.sdf Sample2.sdf
 | 
| 
 | 
    63     <br/>% JoinSDFiles.pl -o *.sdf</div>
 | 
| 
 | 
    64 <p>To join all Sample*.sdf files in a directory, SomeDir, and generate a new file NewSample.sdf, type:</p>
 | 
| 
 | 
    65 <div class="ExampleBox">
 | 
| 
 | 
    66     % JoinSDFiles.pl -r NewSample -w SomeDir -o *.sdf</div>
 | 
| 
 | 
    67 <p>
 | 
| 
 | 
    68 </p>
 | 
| 
 | 
    69 <h2>AUTHOR</h2>
 | 
| 
 | 
    70 <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
 | 
| 
 | 
    71 <p>
 | 
| 
 | 
    72 </p>
 | 
| 
 | 
    73 <h2>SEE ALSO</h2>
 | 
| 
 | 
    74 <p><a href="./InfoSDFiles.html">InfoSDFiles.pl</a>, <a href="./MolFilesToSD.html">MolFilesToSD.pl</a>, <a href="./SDToMolFiles.html">SDToMolFiles.pl</a>, <a href="./SplitSDFiles.html">SplitSDFiles.pl</a>
 | 
| 
 | 
    75 </p>
 | 
| 
 | 
    76 <p>
 | 
| 
 | 
    77 </p>
 | 
| 
 | 
    78 <h2>COPYRIGHT</h2>
 | 
| 
 | 
    79 <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
 | 
| 
 | 
    80 <p>This file is part of MayaChemTools.</p>
 | 
| 
 | 
    81 <p>MayaChemTools is free software; you can redistribute it and/or modify it under
 | 
| 
 | 
    82 the terms of the GNU Lesser General Public License as published by the Free
 | 
| 
 | 
    83 Software Foundation; either version 3 of the License, or (at your option)
 | 
| 
 | 
    84 any later version.</p>
 | 
| 
 | 
    85 <p> </p><p> </p><div class="DocNav">
 | 
| 
 | 
    86 <table width="100%" border=0 cellpadding=0 cellspacing=2>
 | 
| 
 | 
    87 <tr align="left" valign="top"><td width="33%" align="left"><a href="./InfoTextFiles.html" title="InfoTextFiles.html">Previous</a>  <a href="./index.html" title="Table of Contents">TOC</a>  <a href="./JoinTextFiles.html" title="JoinTextFiles.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>JoinSDFiles.pl</strong></td></tr>
 | 
| 
 | 
    88 </table>
 | 
| 
 | 
    89 </div>
 | 
| 
 | 
    90 <br />
 | 
| 
 | 
    91 <center>
 | 
| 
 | 
    92 <img src="../../images/h2o2.png">
 | 
| 
 | 
    93 </center>
 | 
| 
 | 
    94 </body>
 | 
| 
 | 
    95 </html>
 |