0
|
1 <tool id="fileinfo" name="Retrieve File Information">
|
|
2 <description>for supported data formats.</description>
|
2
|
3 <macros>
|
|
4 <import>toolshed_macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements"/>
|
0
|
7 <version_command>mimodd version -q</version_command>
|
|
8 <command>
|
|
9 mimodd info "$ifile" -o "$outputfile" --verbose --oformat $oformat
|
|
10 </command>
|
|
11
|
|
12 <inputs>
|
|
13 <param name="ifile" type="data" format="bam,sam,vcf,bcf,fasta" label="input file" />
|
|
14 <param name="oformat" type="select" label="output format">
|
|
15 <option value="txt">text</option>
|
|
16 <option value="html">html</option>
|
|
17 </param>
|
|
18 </inputs>
|
|
19
|
|
20 <outputs>
|
|
21 <data name="outputfile" format="txt" label="Sample Info on ${on_string}">
|
|
22 <change_format>
|
|
23 <when input="oformat" value="html" format="html"/>
|
|
24 </change_format>
|
|
25 </data>
|
|
26 </outputs>
|
|
27
|
|
28 <help>
|
|
29 .. class:: infomark
|
|
30
|
|
31 **What it does**
|
|
32
|
|
33 The tool inspects the input file and generates a report summarizing its contents.
|
|
34
|
|
35 It autodetects and works with most file formats produced by MiModD, i.e., **SAM / BAM, vcf / bcf and fasta**, and produces a standardized report for all of them.
|
|
36
|
|
37 </help>
|
|
38 </tool>
|