annotate cdhit_macros.xml @ 5:28b7a43907f0 default tip

Fix cheetah tests of whether optional arguments are set
author Jim Johnson <jj@umn.edu>
date Thu, 29 Oct 2015 09:54:44 -0500
parents 43724ea1c85f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <macros>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <template name="common_cdhit_options">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <!-- start common cdhit options -->
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <!-- start adv. settings -->
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 #if $advanced.settings == 'yes':
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
7 #if str($advanced.band_width) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 -b $advanced.band_width
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
10 #if str($advanced.throw_away_len) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 -l $advanced.throw_away_len
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
13 #if str($advanced.description_len) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 -d $advanced.description_len
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
16 #if str($advanced.cutoff_diff_len) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 -s $advanced.cutoff_diff_len
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
19 #if str($advanced.aa_cutoff_diff_len) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 -S $advanced.aa_cutoff_diff_len
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 #if $advanced.align.style == 'local':
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 -G 0
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
24 #if str($advance.align.align_coverage_long) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 -aL $advance.align.align_coverage_long
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
27 #if str($advance.align.aa_align_coverage_long) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 -AL $advance.align.aa_align_coverage_long
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
30 #if str($advance.aling.align_coverage_short) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 -aS $advance.align.align_coverage_short
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
33 #if str($advance.aling.aa_align_coverage_short) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 -AS $advance.align.aa_align_coverage_short
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 #end if
5
28b7a43907f0 Fix cheetah tests of whether optional arguments are set
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
36 #if str($advance.align.align_coverage_min) != 'None':
3
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 -A $advance.align.aling_coverage_min
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 <!-- end adv. settings -->
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 #if $print_alignment:
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 $print_alignment
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 #if $cluster_type:
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 $cluster_type
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 </template>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 <template name="runtime_tuning">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 #if $runtime.tuning == 'tune':
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 #if $runtime.threads_num:
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 -T $runtime.threads_num
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 #if $runtime.memory_limit:
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 -M $runtime.memory_limit
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 $runtime.in_ram
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 #else
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60 \$CDHIT_SITE_OPTIONS
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 #end if
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 <!-- end runtime tuning options -->
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 </template>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 <macro name="common_cdhit_options">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 <conditional name="advanced">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 <param name="settings" type="select" label="Use adavanced settings">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 <option value="no" selected="true">No</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70 <option value="yes">Yes</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 <when value="no"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 <when value="yes">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 <param name="band_width" type="integer" value="" optional="true" label="band_width of alignment (default 20)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 <validator type="in_range" message="alignment band_width must be greater than 0" min="1"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 <param name="throw_away_len" type="integer" value="" optional="true" label="length of throw_away_sequences (default 10)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
78 <validator type="in_range" message="throw_away_sequences length must be greater than 0" min="1"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
79 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 <param name="description_len" type="integer" value="" optional="true" label="length of description in .clstr file (default 20)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
81 <help>if set to 0, it takes the fasta defline and stops at first space</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
82 <validator type="in_range" message="description length cannot be negative" min="0"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
83 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
84 <param name="cutoff_diff_len" type="float" value="" optional="true" label="length difference cutoff (default 0.0)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85 <help>if set to 0.9, the shorter sequences need to be at least 90% length of the representative of the cluster</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
86 <validator type="in_range" message="length difference cutoff must be between 0.0 and 1.0" min="0.0" max="1.0"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
88 <param name="aa_cutoff_diff_len" type="integer" value="" optional="true" label="length difference cutoff in amino acid (default 999999)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
89 <help>if set to 60, the length difference between the shorter sequences and the representative of the cluster can not be bigger than 60</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
90 <validator type="in_range" message="length difference cutoff in amino acid be greater than 0" min="0"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
91 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 <conditional name="align">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93 <param name="style" type="select" label="global or local alignments">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94 <help>local sequence identity, calculated as : number of identical amino acids in alignment divided by the length of the alignment
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 You must set alignment coverage by length or fraction.
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
96 </help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 <option value="global" selected="true">Global</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
98 <option value="local" >Local</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
99 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
100 <when value="global"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
101 <when value="local">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
102
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
103 <param name="align_coverage_long" type="float" value="" optional="true" label="alignment coverage for the longer sequence (default 0.0)">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
104 <help>if set to 0.9, the alignment must covers 90% of the sequence</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
105 <validator type="in_range" message="input must be between 0.0 and 1.0." min="0.0" max="1.0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
106 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
107 <param name="aa_align_coverage_long" type="integer" value="" optional="true" label="alignment coverage control for the longer sequence (default 99999999)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 <help>if set to 60, and the length of the sequence is 400,then the alignment must be at least 340 (400-60) residues</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
109 <validator type="in_range" message="input cannot be negative." min="0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 <param name="align_coverage_short" type="float" value="" optional="true" label="alignment coverage for the shorter sequence (default 0.0)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 <help>if set to 0.9, the alignment must covers 90% of the sequence</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 <validator type="in_range" message="input must be between 0.0 and 1.0." min="0.0" max="1.0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 <param name="aa_align_coverage_short" type="integer" value="" optional="true" label="alignment coverage control for the shorter sequence (default 99999999)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 <help>if set to 60, and the length of the sequence is 400, then the alignment must be at least 340 (400-60) residues</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 <validator type="in_range" message="input cannot be negative." min="0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 <param name="align_coverage_min" type="integer" value="" optional="true" label="minimal alignment coverage control for the both sequences (default 0)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 <help>alignment must cover at least this value for both sequences</help>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121 <validator type="in_range" message="coverage must be at least 0." min="0"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
122 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123 </when>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
124 </conditional>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
125
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
126 </when>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 </conditional>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
128
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
129 <param name="print_alignment" type="boolean" truevalue="-p 1" falsevalue="" checked="false" label="Print alignment overlap in .clstr file"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
130
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 <param name="cluster_type" type="boolean" truevalue="-g 1" falsevalue="" checked="false" label="Slow Cluster"
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
132 help="by cd-hit's default algorithm, a sequence is clustered to the first
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
133 cluster that meet the threshold (fast cluster). If set the program
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
134 will cluster it into the most similar cluster that meet the threshold
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
135 (accurate but slow mode). This won't change the representatives of final clusters"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
137 </macro>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 <macro name="runtime_tuning">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 <conditional name="runtime">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
141 <param name="tuning" type="select" label="Runtime Memory and Threads">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
142 <option value="default" selected="true">Use Default settings</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143 <option value="tune" >Set Runtime options</option>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
144 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
145 <when value="default"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
146 <when value="tune">
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 <param name="threads_num" type="integer" value="1" optional="true" label="number of threads; with 0, all CPUs will be used. (default 1)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
148 <validator type="in_range" message="input cannot be negative." min="0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
149 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
150 <param name="memory_limit" type="integer" value="800" optional="true" label="memory limit (in MB) for the program; 0 for unlimitted. (default 800)" >
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
151 <validator type="in_range" message="input cannot be negative." min="0" />
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
152 </param>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 <param name="in_ram" type="boolean" truevalue="-B 1" falsevalue="" checked="false" label="Too big for in Memory calculation"
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
154 help="Use for huge databases"/>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 </when>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 </conditional>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
157 </macro>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 <token name="@CITATION_SECTION@">------
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 **Citation**
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 For the underlying tool, please cite `DePristo MA, Banks E, Poplin R, Garimella KV, Maguire JR, Hartl C, Philippakis AA, del Angel G, Rivas MA, Hanna M, McKenna A, Fennell TJ, Kernytsky AM, Sivachenko AY, Cibulskis K, Gabriel SB, Altshuler D, Daly MJ. A framework for variation discovery and genotyping using next-generation DNA sequencing data. Nat Genet. 2011 May;43(5):491-8. &lt;http://www.ncbi.nlm.nih.gov/pubmed/21478889&gt;`_
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
166
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 </token>
43724ea1c85f Add cd-hit for protein fastas
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168 </macros>