Mercurial > repos > jay > pdaug_merge_dataframes
comparison PDAUG_Merge_Dataframes/PDAUG_Merge_Dataframes.xml @ 4:b5a9f541c6f8 draft
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit 45ebf32dcaa1eed91670d3a2491f9cf3dfb535ef"
author | jay |
---|---|
date | Tue, 12 Jan 2021 18:50:55 +0000 |
parents | 5bb52d4bf172 |
children |
comparison
equal
deleted
inserted
replaced
3:c47762435082 | 4:b5a9f541c6f8 |
---|---|
6 <requirement version="0.24.2" type="package" >pandas </requirement> | 6 <requirement version="0.24.2" type="package" >pandas </requirement> |
7 </requirements> | 7 </requirements> |
8 | 8 |
9 | 9 |
10 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
11 python $__tool_directory__/PDAUG_Merge_Dataframes.py '$input1' '$output1' | 11 python $__tool_directory__/PDAUG_Merge_Dataframes.py -I '$input1' -O '$output1' |
12 | |
13 #if $selmethod.method == 'advance' | |
14 -L "True" | |
15 -C '$selmethod.classlabel' | |
16 #end if | |
17 | |
12 ]]></command> | 18 ]]></command> |
13 <inputs> | 19 <inputs> |
14 <param type="data" name="input1" label="Input files" format="tabular" multiple="true" help="Input tabular data files"/> | 20 |
21 <param type="data" name="input1" label="Input files" format="tabular" multiple="true" help="Input tabular data files"/> | |
22 | |
23 <conditional name='selmethod' > | |
24 <param name="method" type="select" label="Option to merg data" argument="--Method" help="Split file if class labels are present" > | |
25 <option value="advance"> Merge data and add class labels</option> | |
26 <option value="default" selected="true" > Merge data without adding class labels</option> | |
27 </param> | |
28 | |
29 <when value="advance"> | |
30 <param name="classlabel" type="text" label="Name the column for class label" argument= "--SlcClassLabel" help="Select Class Label"/> | |
31 </when> | |
32 | |
33 <when value="default"> | |
34 </when> | |
35 </conditional> | |
15 </inputs> | 36 </inputs> |
37 | |
16 <outputs> | 38 <outputs> |
17 <data name='output1' label="${tool.name} on $on_string - (tabular)" format='tabular' /> | 39 <data name='output1' label="${tool.name} on $on_string - (tabular)" format='tabular' /> |
18 </outputs> | 40 </outputs> |
41 | |
19 <tests> | 42 <tests> |
20 <test> | 43 <test> |
21 <param name="input1" value="1.tsv,2.tsv,3.tsv,4.tsv,5.tsv,6.tsv"/> | 44 <param name="method" value="advance"/> |
45 <param name="classlabel" value="class_label" /> | |
46 <param name="input1" value="1.tsv,2.tsv"/> | |
47 <output name="output1" file="out1.tsv" /> | |
48 </test> | |
49 <test> | |
50 <param name="method" value="default" /> | |
51 <param name="input1" value="1.tsv,2.tsv"/> | |
22 <output name="output1" file="out.tsv" /> | 52 <output name="output1" file="out.tsv" /> |
23 </test> | 53 </test> |
24 </tests> | 54 </tests> |
25 <help><![CDATA[ | 55 <help><![CDATA[ |
26 .. class:: infomark | 56 .. class:: infomark |
30 This tool merges two data frames. | 60 This tool merges two data frames. |
31 | 61 |
32 ----- | 62 ----- |
33 | 63 |
34 **Inputs** | 64 **Inputs** |
35 * Tabular data file (example input1.tsv and input2.tsv ). | 65 * Tabular data file (example input1.tsv and input2.tsv). |
66 * Option to merge data adds class label after merging the tabular data. | |
36 | 67 |
37 ----- | 68 ----- |
38 | 69 |
39 **Outputs** | 70 **Outputs** |
40 * Returns merged tabular data file. | 71 * Returns merged tabular data file with or without class labels. |
41 | 72 |
42 | 73 |
43 ]]></help> | 74 ]]></help> |
44 <citations> | 75 <citations> |
45 <citation type="bibtex"> | 76 <citation type="bibtex"> |