comparison ARTS/galaxy_arts_score.xml @ 0:3723b54935cb draft

Uploaded
author mmaiensc
date Wed, 13 Nov 2013 16:13:17 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3723b54935cb
1 <tool id="ARTSscore" name="ARTS Score">
2 <description>compute the score for a study randomization</description>
3 <command interpreter="perl">ARTS.pl -i $input -p $batch -c "$column" -cc $conts -cd $dates -cb $bins -mmi -v l > $out </command>
4 <inputs>
5 <param name="input" type="data" format="tabular" label="Input traits per sample" help="Ensure input is formatted as tabular"/>
6 <param name="batch" type="data_column" data_ref="input" multiple="False" numerical="False" label="Batch column to use" help="Select which column corresponds to the batching you want to score." />
7 <param name="column" type="data_column" data_ref="input" multiple="True" numerical="False" label="Trait columns" help="Multi-select list - hold the appropriate key while clicking to select multiple columns." />
8 <param name="conts" type="data_column" data_ref="input" multiple="True" numerical="False" optional="True" label="Continuous- and date-valued columns for binning (if any)" help="Multi-select list. Values should be numbers." />
9 <param name="dates" type="data_column" data_ref="input" multiple="True" numerical="False" optional="True" label="Date-valued columns for binning (if any)" help="Multi-select list. Dates should be M/D/Y, where M, D, and Y are all integers (e.g., 7/9/1985)." />
10 <param name="bins" type="text" size="40" label="Bin sizes (for continuously-valued columns)" value="5" optional="False" help="Set to a single number, or a comma-delimited list. If given as a list, will be used in same order as continuous columns."/>
11 </inputs>
12 <outputs>
13 <data format="tabular" name="out" />
14 </outputs>
15 <help>
16
17 **Purpose**
18
19 This tool computes the score for a completed study randomization (e.g., by ARTS) for a selected number of traits over the samples in your data, and a particular column giving the batch assignments. The output here is identical to the stdout obtained from a standard ARTS run.
20
21 -----
22
23 **Input traits per sample**
24
25 - A list of traits associated with each sample, including a header line giving the name of each type of trait, and a batch column. For example::
26
27 ID Sex Age Sample date Diseased Batch
28 Sample1 M 15 6/7/2011 Y 1
29 Sample2 M 25 8/5/2012 Y 2
30 Sample3 F 23 1/30/2012 N 1
31 Sample4 F 45 4/1/2013 N 1
32 Sample5 M 52 3/21/2011 Y 2
33 Sample6 F 37 3/12/2013 N 2
34 Sample7 M 31 7/17/2011 N 2
35
36 -----
37
38 **Batch column to use**
39
40 - Which column indicate the batch assignment. In the example above, this would be c6 (batch).
41
42 -----
43
44 **Traits to randomize**
45
46 - Which traits should be randomized. On Macs, hold command to multi-select. You do not need to select all columns (it would be silly, for example, to randomize over sample ID).
47
48 - Note missing values for traits will be treated as an additional trait value (i.e., empty).
49
50 - For the example above, we would select c2, c3, c4, and c5 (Sex, Age, Sample date, and Diseased). Not all traits need be selected, just the relevant ones (we may not care about Sample date, for example).
51
52 -----
53
54 **Continuous- and date-valued columns (optional)**
55
56 - Use if you have columns with continuous values (e.g., age, blood pressure) or dates. They will be discretized prior to running.
57
58 - For the example above, we would select c3 and c4 (Age, Sample date).
59
60 -----
61
62 **Date-valued columns (optional)**
63
64 - Use if any of the columns selected as continuous are dates (MUST be formatted M/D/Y, where month is a number, for example 7/9/1985).
65
66 - For the example above, we would select c4 (Sample date).
67
68 -----
69
70 **Bin sizes**
71
72 - This only relates to any columns selected as continuous, and determines how many discrete bins the data will be split up in to.
73
74 - You can set it to a single number, and all columns will use that number of bins. Or you can set it to a list of numbers to specify a different number of bins for each column.
75
76 - For the example above, where we selected c3 and c4 as continuous, we could set::
77
78 Bin sizes=5,6
79
80 - which would split the Age column (c3) into 5 bins, and the Sample date column (c4) into 6 bins.
81
82
83 </help>
84 </tool>