annotate define_clones.xml @ 0:183edf446dcf draft default tip

Uploaded
author davidvanzessen
date Mon, 17 Jul 2017 07:44:27 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
1 <tool id="change_o_define_clones_galaxy" name="Define Clones" version="1.0">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
2 <description>Change-O</description>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
3 <command interpreter="bash">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
4 #if $input_type.input_type_select=="bygroup"
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
5 define_clones.sh bygroup $input $input_type.mode $input_type.act $input_type.model $input_type.norm $input_type.sym $input_type.link $input_type.dist $out_file $out_file2
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
6 #else
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
7 define_clones.sh hclust $input $input_type.method $out_file $out_file2
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
8 #end if
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
9 </command>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
10 <inputs>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
11 <param name="input" type="data" format="tabular" label="A Change-O DB file" />
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
12 <conditional name="input_type">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
13 <param name="input_type_select" type="select" label="Input type">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
14 <option value="bygroup" selected="true">Define clones by V assignment, J assignment and junction length</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
15 <option value="hclust">Define clones by specified distance metric on CDR3s and cutting of hierarchical clustering tree</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
16 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
17 <when value="bygroup">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
18 <param name="mode" type="select" label="Specifies whether to use the V(D)J allele or gene for initial grouping.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
19 <option value="allele">Allele</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
20 <option value="gene" selected="true">Gene</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
21 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
22 <param name="act" type="select" label="Specifies how to handle multiple V(D)J assignments for initial grouping.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
23 <option value="first" selected="true">First</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
24 <option value="set">Set</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
25 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
26 <param name="model" type="select" label="Specifies which substitution model to use for calculating distance between sequences.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
27 <option value="aa">AA hamming distance</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
28 <option value="ham" selected="true">Nucleotide hamming distance</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
29 <option value="m1n">Mouse single nucleotide (Smith et al, 1996)</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
30 <option value="hs1f">Human single nucleotide (Yaari et al, 2013)</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
31 <option value="hs5f">Human S5F (Yaari et al, 2013)</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
32 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
33 <param name="norm" type="select" label="Specifies how to normalize distances.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
34 <option value="none" selected="true">Do not normalize</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
35 <option value="mut">Normalize by number of mutations</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
36 <option value="len">Normalize by length</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
37 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
38 <param name="sym" type="select" label="Specifies how to combine asymmetric distances.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
39 <option value="avg">Average</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
40 <option value="min" selected="true">Minimum</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
41 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
42 <param name="link" type="select" label="Type of linkage to use for hierarchical clustering.">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
43 <option value="single">Single</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
44 <option value="average">Average</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
45 <option value="complete" selected="true">Complete</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
46 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
47 <param name="dist" size="4" type="float" value="0.0" label="The distance threshold for clonal grouping" />
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
48 </when>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
49 <when value="hclust">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
50 <param name="method" type="select" label="Specifies which cloning method to use for calculating distance between CDR3s">
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
51 <option value="chen2010" selected="true">Chen et al 2010</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
52 <option value="ademokun2011">Ademokun et al 2011</option>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
53 </param>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
54 </when>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
55 </conditional>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
56 </inputs>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
57 <outputs>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
58 <data format="tabular" name="out_file" label = "Change-o DB clones ${input.name}"/>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
59 <data format="tabular" name="out_file2" label = "Change-o DB clones info ${input.name}"/>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
60 </outputs>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
61 <citations>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
62 <citation type="doi">10.1093/bioinformatics/btv359</citation>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
63 </citations>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
64 <help>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
65
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
66
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
67 </help>
183edf446dcf Uploaded
davidvanzessen
parents:
diff changeset
68 </tool>