Mercurial > repos > malex > secimtools
comparison threshold_based_flags.xml @ 1:2e7d47c0b027 draft
"planemo upload for repository https://malex@toolshed.g2.bx.psu.edu/repos/malex/secimtools"
author | malex |
---|---|
date | Mon, 08 Mar 2021 22:04:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b54326490b4d | 1:2e7d47c0b027 |
---|---|
1 <tool id="secimtools_threshold_based_flags" name="Threshold Based Flags" version="@WRAPPER_VERSION@"> | |
2 <description>- Flag features based on a user-specified threshold.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command><![CDATA[ | |
8 threshold_based_flags.py | |
9 --input $input | |
10 --design $design | |
11 --ID $uniqID | |
12 --output $output | |
13 --group $group | |
14 | |
15 #if $cutoff: | |
16 --cutoff $cutoff | |
17 #end if | |
18 ]]></command> | |
19 <inputs> | |
20 <param name="input" type="data" format="tabular" label="Wide Dataset" help="Input your tab-separated wide format dataset. If file is not tab separated see TIP below."/> | |
21 <param name="design" type="data" format="tabular" label="Design File" help="Input your design file (tab-separated). Note you need a 'sampleID' column. If not tab separated see TIP below."/> | |
22 <param name="uniqID" type="text" size="30" value="" label="Unique Feature ID" help="Name of the column in your Wide Dataset that has unique identifiers."/> | |
23 <param name="group" type="text" size="30" label="Group/Treatment" help="Name of the column in your design file that contains group classifications. The resulting indicator flags will generated for these group categories." /> | |
24 <param name="cutoff" type="integer" optional="true" size="6" value="30000" label="Cutoff" help="Cutoff to use for which values to flag. Default = 30,000."/> | |
25 </inputs> | |
26 <outputs> | |
27 <data format="tabular" name="output" label="${tool.name} on ${on_string}" /> | |
28 </outputs> | |
29 <tests> | |
30 <test> | |
31 <param name="input" value="ST000006_data.tsv"/> | |
32 <param name="design" value="ST000006_design.tsv"/> | |
33 <param name="uniqID" value="Retention_Index" /> | |
34 <param name="group" value="White_wine_type_and_source" /> | |
35 <param name="cutoff" value="3000" /> | |
36 <output name="output" file="ST000006_threshold_based_flags_output.tsv" /> | |
37 </test> | |
38 </tests> | |
39 <help><![CDATA[ | |
40 | |
41 @TIP_AND_WARNING@ | |
42 | |
43 **Tool Description** | |
44 | |
45 This tool flags a feature in a given group with a binary indicator if, for half (or more) of the samples within the group, the feature value is below a user specified threshold or is missing. | |
46 The default threshold value of 30,000 is primarily useful for peak intensities from mass spectroscopy data and should be evaluated carefully for other types of values (e.g. for peak height). | |
47 | |
48 -------------------------------------------------------------------------------- | |
49 | |
50 | |
51 **Input** | |
52 | |
53 - Two input datasets are required. | |
54 | |
55 @WIDE@ | |
56 | |
57 **NOTE:** The sample IDs must match the sample IDs in the Design File (below). | |
58 Extra columns will automatically be ignored. | |
59 | |
60 @METADATA@ | |
61 | |
62 @UNIQID@ | |
63 | |
64 @GROUP@ | |
65 | |
66 **Cutoff Value** | |
67 | |
68 - Cutoff to use for which values to flag. Default = 30,000. | |
69 | |
70 -------------------------------------------------------------------------------- | |
71 | |
72 **Output** | |
73 | |
74 This tool outputs a TSV file containing indicator flags for each group, where the number of indicator flags is determined by the number of groups. | |
75 | |
76 ]]></help> | |
77 <expand macro="citations"/> | |
78 </tool> |