23
|
1 <tool id="fileinfo" name="Retrieve File Information" version="0.1.7.3">
|
0
|
2 <description>for supported data formats.</description>
|
2
|
3 <macros>
|
|
4 <import>toolshed_macros.xml</import>
|
|
5 </macros>
|
23
|
6 <expand macro="requirements" />
|
21
|
7 <version_command>python3 -m MiModD version -q</version_command>
|
0
|
8 <command>
|
21
|
9 python3 -m MiModD info "$ifile" -o "$outputfile" --verbose --oformat $oformat
|
0
|
10 </command>
|
|
11
|
|
12 <inputs>
|
23
|
13 <param format="bam,sam,vcf,bcf,fasta" label="input file" name="ifile" type="data" />
|
|
14 <param label="output format" name="oformat" type="select">
|
0
|
15 <option value="txt">text</option>
|
|
16 <option value="html">html</option>
|
|
17 </param>
|
|
18 </inputs>
|
|
19
|
|
20 <outputs>
|
23
|
21 <data format="txt" label="Sample Info on ${on_string}" name="outputfile">
|
0
|
22 <change_format>
|
23
|
23 <when format="html" input="oformat" value="html" />
|
0
|
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>
|
23
|
38 </tool> |