Mercurial > repos > jay > pdaug_addclasslabel
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2df11ea23f10 |
---|---|
1 <tool id="pdaug_addclasslabel" name="PDAUG Add Class Label" version="0.1.0"> | |
2 <description> Add class label to the training data set</description> | |
3 | |
4 <requirements> | |
5 <requirement type="package" version="2.7.18">python</requirement> | |
6 <requirement type="package" version="0.24.2">pandas</requirement> | |
7 </requirements> | |
8 | |
9 | |
10 <stdio> | |
11 <exit_code range="1" level="fatal" /> | |
12 </stdio> | |
13 | |
14 <command detect_errors="exit_code"><![CDATA[ | |
15 python '$__tool_directory__/PDAUG_AddClassLabel.py' -I '$input1' -C '$ClassLabel' -O '$OutFile1' -t '$ClassLabelTitle' | |
16 ]]></command> | |
17 | |
18 <inputs> | |
19 <param name="input1" type="data" label="Input file" format="tabular" multiple="true" argument= "--InFile" help="Input tabular data file."/> | |
20 <param name="ClassLabel" type='text' label="Class Label" value="0" argument="--ClassLabel" help="Class Label ex. 0 or 1"/> | |
21 <param name="ClassLabelTitle" label="Class Label Title" type='text' value="Class_label" argument="--ClassLabelTitle" help="Name of the Column."/> | |
22 </inputs> | |
23 | |
24 <outputs> | |
25 <data name='OutFile1' format='tabular' label="${tool.name} on $on_string - (tabular)" /> | |
26 </outputs> | |
27 | |
28 <tests> | |
29 <test> | |
30 <param name="input1" value="new.tsv"/> | |
31 <output name="OutFile1" file="out.tsv"/> | |
32 </test> | |
33 </tests> | |
34 | |
35 <help><![CDATA[ | |
36 .. class:: infomark | |
37 | |
38 **What it does** | |
39 | |
40 This tool adds class labels to a dataframe. | |
41 | |
42 ----- | |
43 | |
44 **Inputs** | |
45 * **--InFile** Takes input as Tabular data file. | |
46 * **--ClassLabel** Class label. | |
47 * **--ClassLLabelTitle** Column name of class label. | |
48 | |
49 ----- | |
50 | |
51 **Outputs** | |
52 * **--OutFile** Returns a tabular file with the class labels.]]></help> | |
53 | |
54 | |
55 <citations> | |
56 <citation type="bibtex"> | |
57 | |
58 @misc{PDAUGGITHUB, | |
59 author = {Joshi, Jayadev and Blankenberg, Daniel}, | |
60 year = {2020}, | |
61 title ={PDAUG - a Galaxy based toolset for peptide library analysis, visualization, and machine learning modeling}, | |
62 publisher = {GitHub}, | |
63 journal = {GitHub repository}, | |
64 url = | |
65 {https://github.com/jaidevjoshi83/pdaug.git}, | |
66 | |
67 }</citation> | |
68 </citations> | |
69 | |
70 </tool> | |
71 |