annotate docs/scripts/html/InfoTextFiles.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:InfoTextFiles.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="./InfoSequenceFiles.html" title="InfoSequenceFiles.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./JoinSDFiles.html" title="JoinSDFiles.html">Next</a></td><td width="34%" align="middle"><strong>InfoTextFiles.pl</strong></td><td width="33%" align="right"><a href="././code/InfoTextFiles.html" title="View source code">Code</a>&nbsp;|&nbsp;<a href="./../pdf/InfoTextFiles.pdf" title="PDF US Letter Size">PDF</a>&nbsp;|&nbsp;<a href="./../pdfgreen/InfoTextFiles.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a>&nbsp;|&nbsp;<a href="./../pdfa4/InfoTextFiles.pdf" title="PDF A4 Size">PDFA4</a>&nbsp;|&nbsp;<a href="./../pdfa4green/InfoTextFiles.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>InfoTextFiles.pl - List information about TextFile(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>InfoTextFiles.pl TextFile(s)...</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
26 <p>InfoTextFiles.pl [<strong>-a, --all</strong>] [<strong>-c, --count</strong>] [<strong>--datacheck</strong>] [<strong>-d, --detail</strong> infolevel] [<strong>-e, --empty</strong>]
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
27 [<strong>-h, --help</strong>] [<strong>--indelim</strong> comma | semicolon] [<strong>-m, --mode</strong> colnum | collabel]
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
28 [<strong>-n, --numericaldatacols</strong> colnum,[colnum,...] | collabel,[collabel,...]]
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
29 [<strong>-w, --workingdir</strong> dirname] TextFile(s)...</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
30 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
31 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
32 <h2>DESCRIPTION</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
33 <p>List information about <em>TextFile(s)</em> contents: number of lines and columns, empty
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
34 column values, and so on. The file names are separated by spaces.
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
35 The valid file extensions are <em>.csv</em> and <em>.tsv</em> for comma/semicolon and tab delimited
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
36 text files respectively. All other file names are ignored. All the text files in a
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
37 current directory can be specified by <em>*.csv</em>, <em>*.tsv</em>, or the current directory
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
38 name. The <strong>--indelim</strong> option determines the format of <em>TextFile(s)</em>. Any file
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
39 which doesn't correspond to the format indicated by <strong>--indelim</strong> option is ignored.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
40 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
41 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
42 <h2>OPTIONS</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
43 <dl>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
44 <dt><strong><strong>-a, --all</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
45 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
46 <p>List all the available information.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
47 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
48 <dt><strong><strong>-c, --count</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
49 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
50 <p>List number of rows and columns. This is <strong>default behavior</strong>.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
51 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
52 <dt><strong><strong>--datacheck</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
53 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
54 <p>List number of numerical and non-numerical values for each column.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
55 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
56 <dt><strong><strong>-d, --detail</strong> <em>infolevel</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
57 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
58 <p>Level of information to print about lines being ignored. Default: <em>1</em>. Possible values:
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
59 <em>1, 2 or 3</em>.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
60 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
61 <dt><strong><strong>-e, --empty</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
62 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
63 <p>List number of empty row and column values.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
64 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
65 <dt><strong><strong>-h, --help</strong></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
66 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
67 <p>Print this help message.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
68 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
69 <dt><strong><strong>--indelim</strong> <em>comma | semicolon</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
70 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
71 <p>Input delimiter for CSV <em>TextFile(s)</em>. Possible values: <em>comma or semicolon</em>.
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
72 Default value: <em>comma</em>. For TSV files, this option is ignored and <em>tab</em> is used as a
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
73 delimiter.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
74 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
75 <dt><strong><strong>-m, --mode</strong> <em>colnum | collabel</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
76 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
77 <p>Specify how to identify numerical data columns: using column number or column label.
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
78 Possible values: <em>colnum or collabel</em>. Default value: <em>colnum</em>.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
79 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
80 <dt><strong><strong>-n, --numericaldatacols</strong> <em>colnum,[colnum,...] | collabel,[collabel,...]</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
81 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
82 <p>This value is mode specific. It is a list of column number or labels to check for
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
83 presence of numerical data only; otherwise, the value is flagged. Default value: <em>all;all;...</em>.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
84 <p>For <em>colnum</em> mode, input value format is: <em>colnum,...;colnum,...;...</em>. Example:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
85 <div class="OptionsBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
86 1,3,5
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
87 <br/> &quot;2,4,6&quot;</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
88 <p>For <em>collabel</em> mode, input value format is: <em>collabel,...;collabel,...;...</em>. Example:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
89 <div class="OptionsBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
90 &quot;MW,SumNO,SumNHOH&quot;</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
91 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
92 <dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
93 <dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
94 <p>Location of working directory. Default: current directory.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
95 </dd>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
96 </dl>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
97 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
98 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
99 <h2>EXAMPLES</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
100 <p>To count number of lines and columns in Text file(s), type:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
101 <div class="ExampleBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
102 % InfoTextFiles.pl Sample1.csv
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
103 <br/>% InfoTextFiles.pl Sample1.csv Sample1.tsv
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
104 <br/>% InfoTextFiles.pl *.csv *.tsv</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
105 <p>To count number of lines, columns and empty values in Sample1.csv file and print
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
106 detailed information, type:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
107 <div class="ExampleBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
108 % InfoTextFiles.pl -d 3 -e Sample1.csv</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
109 <p>To track all available information and non-numerical values for Mol_ID and MolWeight
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
110 columns in Sample1.csv file and print detailed information, type:</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
111 <div class="ExampleBox">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
112 % InfoTextFiles.pl -d 3 -a -m collabel -n Mol_ID,MolWeight Sample1.csv</div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
113 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
114 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
115 <h2>AUTHOR</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
116 <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
117 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
118 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
119 <h2>SEE ALSO</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
120 <p><a href="./JoinTextFiles.html">JoinTextFiles.pl</a>,&nbsp<a href="./MergeTextFilesWithSD.html">MergeTextFilesWithSD.pl</a>,&nbsp<a href="./ModifyTextFilesFormat.html">ModifyTextFilesFormat.pl</a>,&nbsp<a href="./SplitTextFiles.html">SplitTextFiles.pl</a>,&nbsp<a href="./TextFilesToHTML.html">TextFilesToHTML.pl</a>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
121 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
122 <p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
123 </p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
124 <h2>COPYRIGHT</h2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
125 <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
126 <p>This file is part of MayaChemTools.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
127 <p>MayaChemTools is free software; you can redistribute it and/or modify it under
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
128 the terms of the GNU Lesser General Public License as published by the Free
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
129 Software Foundation; either version 3 of the License, or (at your option)
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
130 any later version.</p>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
131 <p>&nbsp</p><p>&nbsp</p><div class="DocNav">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
132 <table width="100%" border=0 cellpadding=0 cellspacing=2>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
133 <tr align="left" valign="top"><td width="33%" align="left"><a href="./InfoSequenceFiles.html" title="InfoSequenceFiles.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./JoinSDFiles.html" title="JoinSDFiles.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>InfoTextFiles.pl</strong></td></tr>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
134 </table>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
135 </div>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
136 <br />
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
137 <center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
138 <img src="../../images/h2o2.png">
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
139 </center>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
140 </body>
4816e4a8ae95 Uploaded
deepakjadmin
parents:
diff changeset
141 </html>