Mercurial > repos > jay > pdaug_merge_dataframes
view PDAUG_Merge_Dataframes/PDAUG_Merge_Dataframes.xml @ 8:4056124db7c8 draft
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit d396d7ff89705cc0dd626ed32c45a9f4029b1b05"
author | jay |
---|---|
date | Mon, 10 Jan 2022 04:23:30 +0000 |
parents | b5a9f541c6f8 |
children |
line wrap: on
line source
<tool id="pdaug_merge_dataframes" name="PDAUG Merge Dataframes" version="0.1.0" python_template_version="3.5"> <description>Merge two data frames</description> <requirements> <requirement version="0.24.2" type="package" >pandas </requirement> </requirements> <command detect_errors="exit_code"><![CDATA[ python $__tool_directory__/PDAUG_Merge_Dataframes.py -I '$input1' -O '$output1' #if $selmethod.method == 'advance' -L "True" -C '$selmethod.classlabel' #end if ]]></command> <inputs> <param type="data" name="input1" label="Input files" format="tabular" multiple="true" help="Input tabular data files"/> <conditional name='selmethod' > <param name="method" type="select" label="Option to merg data" argument="--Method" help="Split file if class labels are present" > <option value="advance"> Merge data and add class labels</option> <option value="default" selected="true" > Merge data without adding class labels</option> </param> <when value="advance"> <param name="classlabel" type="text" label="Name the column for class label" argument= "--SlcClassLabel" help="Select Class Label"/> </when> <when value="default"> </when> </conditional> </inputs> <outputs> <data name='output1' label="${tool.name} on $on_string - (tabular)" format='tabular' /> </outputs> <tests> <test> <param name="method" value="advance"/> <param name="classlabel" value="class_label" /> <param name="input1" value="1.tsv,2.tsv"/> <output name="output1" file="out1.tsv" /> </test> <test> <param name="method" value="default" /> <param name="input1" value="1.tsv,2.tsv"/> <output name="output1" file="out.tsv" /> </test> </tests> <help><![CDATA[ .. class:: infomark **What it does** This tool merges two data frames. ----- **Inputs** * Tabular data file (example input1.tsv and input2.tsv). * Option to merge data adds class label after merging the tabular data. ----- **Outputs** * Returns merged tabular data file with or without class labels. ]]></help> <citations> <citation type="bibtex"> @misc{PDAUGGITHUB, author = {Joshi, Jayadev and Blankenberg, Daniel}, year = {2020}, title ={PDAUG - a Galaxy based toolset for peptide library analysis, visualization, and machine learning modeling}, publisher = {GitHub}, journal = {GitHub repository}, url = {https://github.com/jaidevjoshi83/pdaug.git}, }</citation> </citations> </tool>