annotate Split_ExcelTabs_IntoFiles.xml @ 1:f1bcd79cd923 draft default tip

Uploaded
author insilico-bob
date Tue, 27 Nov 2018 14:20:40 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
1 <?xml version='1.1' encoding='utf-8'?>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
2 <tool id="Split_ExcelTabs_IntoFiles" name="Split Excel Tabs" version="1.0">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
3 <description>into separate tab delimited files</description>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
4 <command interpreter="python">Split_ExcelTabs_IntoFiles.py '$input' '' '$extra.tabnumber' '$output_file'</command>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
5
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
6 <inputs>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
7 <param name="input" type="data" format="txt" label="Input Excel.xls or Excel.xlsx file"> </param>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
8
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
9 <conditional name="extra">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
10 <param name="choice" type="select" label="Select tab" help="Select tab position or name">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
11 <option value="tab_number">Tab number</option>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
12 </param>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
13 <!--
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
14 '$extra.tabname'
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
15 <option value="tab_name">Tab name</option>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
16 <option value="all">All tabs in file</option>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
17 <option value="1">First tab only</option>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
18 </param>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
19 <when value="tab_name">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
20 <param name="tabname" type="text" size="20" value="" label="Tab Name" help="Spreadsheet Tab Name">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
21 </param>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
22 </when>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
23 -->
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
24 <when value="tab_number">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
25 <param name="tabnumber" type="text" size="2" value="1" label="Tab position" help="Integer Tab position from left">
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
26 </param>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
27 </when>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
28 </conditional>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
29 </inputs>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
30
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
31 <outputs>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
32 <data name="output_file" format="tabular" label="Output File Name" help="Name based on Input file name and tab name"/>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
33 </outputs>
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
34
f1bcd79cd923 Uploaded
insilico-bob
parents:
diff changeset
35 </tool>