Mercurial > repos > jay > pdaug_addclasslabel
view PDAUG_AddClassLabel/PDAUG_AddClassLabel.xml @ 9:7160bfd77aef draft default tip
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit d396d7ff89705cc0dd626ed32c45a9f4029b1b05"
author | jay |
---|---|
date | Wed, 12 Jan 2022 20:34:53 +0000 |
parents | 2df11ea23f10 |
children |
line wrap: on
line source
<tool id="pdaug_addclasslabel" name="PDAUG Add Class Label" version="0.1.0"> <description> Add class label to the training data set</description> <requirements> <requirement type="package" version="2.7.18">python</requirement> <requirement type="package" version="0.24.2">pandas</requirement> </requirements> <stdio> <exit_code range="1" level="fatal" /> </stdio> <command detect_errors="exit_code"><![CDATA[ python '$__tool_directory__/PDAUG_AddClassLabel.py' -I '$input1' -C '$ClassLabel' -O '$OutFile1' -t '$ClassLabelTitle' ]]></command> <inputs> <param name="input1" type="data" label="Input file" format="tabular" multiple="true" argument= "--InFile" help="Input tabular data file."/> <param name="ClassLabel" type='text' label="Class Label" value="0" argument="--ClassLabel" help="Class Label ex. 0 or 1"/> <param name="ClassLabelTitle" label="Class Label Title" type='text' value="Class_label" argument="--ClassLabelTitle" help="Name of the Column."/> </inputs> <outputs> <data name='OutFile1' format='tabular' label="${tool.name} on $on_string - (tabular)" /> </outputs> <tests> <test> <param name="input1" value="new.tsv"/> <output name="OutFile1" file="out.tsv"/> </test> </tests> <help><![CDATA[ .. class:: infomark **What it does** This tool adds class labels to a dataframe. ----- **Inputs** * **--InFile** Takes input as Tabular data file. * **--ClassLabel** Class label. * **--ClassLLabelTitle** Column name of class label. ----- **Outputs** * **--OutFile** Returns a tabular file with the 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>