Mercurial > repos > jay > pdaug_addclasslabel
diff PDAUG_AddClassLabel/PDAUG_AddClassLabel.xml @ 0:2df11ea23f10 draft
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit a9bd83f6a1afa6338cb6e4358b63ebff5bed155e"
author | jay |
---|---|
date | Wed, 28 Oct 2020 02:36:27 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PDAUG_AddClassLabel/PDAUG_AddClassLabel.xml Wed Oct 28 02:36:27 2020 +0000 @@ -0,0 +1,71 @@ +<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> +