0
|
1 <tool id="PHYLO_render_datatable" name="Render CSV file" version="1.1.0">
|
|
2 <description>as an interactive HTML table</description>
|
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
6
|
6 <stdio>
|
|
7 <expand macro="basic_errors"/>
|
|
8 </stdio>
|
0
|
9 <command interpreter="bash">
|
|
10 render_datatable-wrapper.sh $config
|
|
11 </command>
|
|
12 <inputs>
|
|
13 <param name="input" type="data" format="csv" label="CSV file"/>
|
|
14 </inputs>
|
|
15 <outputs>
|
|
16 <data format="html" name="output" label="Generated table"/>
|
|
17 </outputs>
|
|
18 <configfiles>
|
|
19 <configfile name="config">
|
|
20 INPUT="${input}"
|
|
21
|
|
22 OUTPUT="${output}"
|
|
23 OUTPUT_DIR="${output.files_path}"
|
|
24 </configfile>
|
|
25 </configfiles>
|
|
26 <!-- The contents of the help tag is parsed as reStructuredText. Please see
|
|
27 help-template.rst for examples of commonly-used sections in other Galaxy
|
|
28 tools. -->
|
|
29 <help>
|
|
30
|
|
31 .. class:: infomark
|
|
32
|
|
33 **What it does**
|
|
34
|
|
35 This tool reformats a CSV file, like this::
|
|
36
|
|
37 "seqname","accession","tax_id","species_name","is_type"
|
|
38 "FM872653","FM872653","308994","Dialister propionicifaciens",0.0
|
|
39 "AY331416","AY331416","239137","Candidate Division TM7 oral",0.0
|
|
40 "DQ666092","DQ666092","95818_1","Candidate Division TM7 vaginal",0.0
|
|
41 "S002223913","GQ900631","186802_3","bacterium BVAB3-Strain 1",0.0
|
|
42 ...
|
|
43
|
|
44 into an interactive HTML table.
|
|
45
|
|
46 [placeholder]
|
|
47
|
|
48 +-------------+-----------+----------+---------------------------------------+----------+
|
|
49 | seqname | accession | tax_id | species_name | is_type |
|
|
50 +=============+===========+==========+=======================================+==========+
|
|
51 | FM872653 | FM872653 | 308994 | Dialister propionicifaciens | 0.0 |
|
|
52 +-------------+-----------+----------+---------------------------------------+----------+
|
|
53 | AY331416 | AY331416 | 239137 | Candidate Division TM7 oral | 0.0 |
|
|
54 +-------------+-----------+----------+---------------------------------------+----------+
|
|
55 | DQ666092 | DQ666092 | 95818_1 | Candidate Division TM7 vaginal | 0.0 |
|
|
56 +-------------+-----------+----------+---------------------------------------+----------+
|
|
57 | S002223913 | GQ900631 | 186802_3 | bacterium BVAB3-Strain 1 | 0.0 |
|
|
58 +-------------+-----------+----------+---------------------------------------+----------+
|
|
59
|
|
60 ...
|
|
61
|
|
62 </help>
|
|
63 </tool>
|