comparison jbrowse.xml @ 8:ad4b9d7eae6a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 9a243c616a4a3156347e38fdb5f35863ae5133f9
author iuc
date Tue, 29 Nov 2016 10:55:30 -0500
parents ecbdfc775b9a
children 1a6d882d340d
comparison
equal deleted inserted replaced
7:1e74f16adaa1 8:ad4b9d7eae6a
1 <tool id="jbrowse" name="JBrowse" version="0.5.2"> 1 <tool id="jbrowse" name="JBrowse" version="@WRAPPER_VERSION@">
2 <description>genome browser</description> 2 <description>genome browser</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <expand macro="stdio"/> 7 <expand macro="stdio"/>
8 <version_command>python jbrowse.py --version</version_command>
9 <command><![CDATA[ 8 <command><![CDATA[
10 9
11 #if $action.action_select == "create": 10 #if $action.action_select == "create":
12 mkdir -p $output.files_path; 11 mkdir -p $output.files_path &&
13 #else: 12 #else:
14 cp -R $action.update_jbrowse.extra_files_path $output.files_path; 13 cp -R $action.update_jbrowse.extra_files_path $output.files_path &&
15 #end if 14 #end if
16 15
17 ## Copy the XML file into the directory, mostly for debugging 16 ## Copy the XML file into the directory, mostly for debugging
18 ## but nice if users want to reproduce locally 17 ## but nice if users want to reproduce locally
19 cp $trackxml $output.files_path/galaxy.xml && 18 cp $trackxml $output.files_path/galaxy.xml &&
25 #if str($standalone) == "Complete": 24 #if str($standalone) == "Complete":
26 --standalone 25 --standalone
27 #end if 26 #end if
28 27
29 --outdir $output.files_path 28 --outdir $output.files_path
30 $trackxml; 29 $trackxml &&
31 30
32 #if str($standalone) == "Complete": 31 #if str($standalone) == "Complete":
33 mv $output.files_path/index.html $output; 32 mv $output.files_path/index.html $output;
34 #else: 33 #else:
35 mv $dummyIndex $output; 34 mv $dummyIndex $output;
70 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?> 69 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?>
71 <root> 70 <root>
72 <metadata> 71 <metadata>
73 <gencode>$gencode</gencode> 72 <gencode>$gencode</gencode>
74 <genomes> 73 <genomes>
75 #if str($action.reference_genome.genome_type_select) == "indexed": 74 #if str($reference_genome.genome_type_select) == "indexed":
76 <genome>${action.reference_genome.genomes.fields.path}</genome> 75 <genome>${reference_genome.genomes.fields.path}</genome>
77 #else 76 #else
78 #for $genome in $action.reference_genome.genomes: 77 #for $genome in $reference_genome.genomes:
79 <genome>$genome</genome> 78 <genome>$genome</genome>
80 #end for 79 #end for
81 #end if 80 #end if
82 </genomes> 81 </genomes>
83 <general> 82 <general>
84 <defaultLocation>${jbgen.defaultLocation}</defaultLocation> 83 <defaultLocation>${jbgen.defaultLocation}</defaultLocation>
85 <trackPadding>${jbgen.trackPadding}</trackPadding> 84 <trackPadding>${jbgen.trackPadding}</trackPadding>
86 85
143 #end if 142 #end if
144 #end if 143 #end if
145 </scheme> 144 </scheme>
146 #end if 145 #end if
147 </scaling> 146 </scaling>
147 <menus>
148 #for $menu_item in $track.data_format.jbmenu.track_menu:
149 <menu>
150 <action>${menu_item.menu_action}</action>
151 #if str($menu_item.menu_label) != "":
152 <label>${menu_item.menu_label}</label>
153 #end if
154 #if str($menu_item.menu_title) != "":
155 <title>${menu_item.menu_title}</title>
156 #end if
157 #if str($menu_item.menu_url) != "":
158 <url>${menu_item.menu_url.replace("&", "&amp;").replace("\"", "&quot;")}</url>
159 #end if
160 #if str($menu_item.menu_icon) != "":
161 <iconClass>${menu_item.menu_icon}</iconClass>
162 #end if
163 </menu>
164 #end for
165 </menus>
148 #end if 166 #end if
149 167
150 #if str($track.data_format.data_format_select) == "wiggle": 168 #if str($track.data_format.data_format_select) == "wiggle":
151 <wiggle> 169 <wiggle>
152 <type>${track.data_format.xyplot}</type> 170 <type>${track.data_format.xyplot}</type>
192 #if str($track.data_format.blast_parent) != "": 210 #if str($track.data_format.blast_parent) != "":
193 <parent>${track.data_format.blast_parent}</parent> 211 <parent>${track.data_format.blast_parent}</parent>
194 #end if 212 #end if
195 <protein>${track.data_format.is_protein}</protein> 213 <protein>${track.data_format.is_protein}</protein>
196 <min_gap>${track.data_format.min_gap}</min_gap> 214 <min_gap>${track.data_format.min_gap}</min_gap>
215 <index>${track.data_format.index}</index>
197 </blast> 216 </blast>
198 #else if str($track.data_format.data_format_select) == "gene_calls": 217 #else if str($track.data_format.data_format_select) == "gene_calls":
199 <gff> 218 <gff>
200 <trackType>${track.data_format.track_class}</trackType> 219 <trackType>${track.data_format.track_class}</trackType>
201 #if $track.data_format.match_part.match_part_select: 220 #if $track.data_format.match_part.match_part_select:
202 <match>${track.data_format.match_part.name}</match> 221 <match>${track.data_format.match_part.name}</match>
203 #end if 222 #end if
223 <index>${track.data_format.index}</index>
204 </gff> 224 </gff>
205 ## #else if str($track.data_format.data_format_select) == "sparql": 225 ## #else if str($track.data_format.data_format_select) == "sparql":
206 ## <sparql> 226 ## <sparql>
207 ## <url>${track.data_format.url}</url> 227 ## <url>${track.data_format.url}</url>
208 ## <label>${track.data_format.label}</label> 228 ## <label>${track.data_format.label}</label>
214 </track> 234 </track>
215 #end for 235 #end for
216 #end for 236 #end for
217 </tracks> 237 </tracks>
218 </root> 238 </root>
219 ]]> 239 ]]></configfile>
220 </configfile>
221 </configfiles> 240 </configfiles>
222 <inputs> 241 <inputs>
223 <conditional name="action" label="Action"> 242 <conditional name="reference_genome">
224 <param type="select" label="JBrowse-in-Galaxy Action" name="action_select"> 243 <param help="Built-in references" label="Reference genome to display" name="genome_type_select" type="select">
225 <option value="create">New JBrowse Instance</option> 244 <option selected="True" value="indexed">Use a built-in genome</option>
226 <option value="update">Update exising JBrowse Instance</option> 245 <option value="history">Use a genome from history</option>
227 </param> 246 </param>
228 <when value="create"> 247 <when value="indexed">
229 <expand macro="genome_selector" /> 248 <param
230 </when> 249 help="If your genome of interest is not listed, contact the Galaxy team"
231 <when value="update"> 250 label="Select a reference genome"
232 <expand macro="genome_selector" 251 name="genomes"
233 label="Additional Fasta Sequence(s)" 252 type="select"
234 help="If sequences are selected, they will be added to the existing JBrowse instance. You should not select any sequences if you are simply updating an existing JBrowse instance which already has the required reference sequences." 253 >
235 optional="True"/> 254 <options from_data_table="all_fasta">
236 <param label="Previous JBrowse Instance" 255 <filter column="2" type="sort_by" />
237 name="update_jbrowse" 256 <validator message="No genomes are available for the selected input dataset" type="no_options" />
238 type="data" 257 </options>
239 format="html" /> 258 </param>
259 </when>
260 <when value="history">
261 <param
262 format="fasta"
263 label="Select the reference genome"
264 name="genomes"
265 type="data"
266 multiple="True" />
240 </when> 267 </when>
241 </conditional> 268 </conditional>
242 269
243 <param name="standalone" label="Produce Standalone Instance" type="boolean" truevalue="Complete" falsevalue="Data Directory" help="Produce a full, working JBrowse instance or just the data directory. Data dir mode is experimental and intended to be used with Apollo" checked="True"/> 270 <param name="standalone" label="Produce Standalone Instance" type="boolean" truevalue="Complete" falsevalue="Data Directory" help="Produce a full, working JBrowse instance or just the data directory. Data dir mode is experimental and intended to be used with Apollo" checked="True"/>
271
244 272
245 <param label="Genetic Code" name="gencode" type="select"> 273 <param label="Genetic Code" name="gencode" type="select">
246 <option value="1">1. The Standard Code</option> 274 <option value="1">1. The Standard Code</option>
247 <option value="2">2. The Vertebrate Mitochondrial Code</option> 275 <option value="2">2. The Vertebrate Mitochondrial Code</option>
248 <option value="3">3. The Yeast Mitochondrial Code</option> 276 <option value="3">3. The Yeast Mitochondrial Code</option>
261 <option value="23">23. Thraustochytrium Mitochondrial Code</option> 289 <option value="23">23. Thraustochytrium Mitochondrial Code</option>
262 <option value="24">24. Pterobranchia Mitochondrial Code</option> 290 <option value="24">24. Pterobranchia Mitochondrial Code</option>
263 <option value="25">25. Candidate Division SR1 and Gracilibacteria Code</option> 291 <option value="25">25. Candidate Division SR1 and Gracilibacteria Code</option>
264 </param> 292 </param>
265 293
294 <conditional name="action">
295 <param type="select" label="JBrowse-in-Galaxy Action" name="action_select">
296 <option value="create">New JBrowse Instance</option>
297 <option value="update">Update exising JBrowse Instance</option>
298 </param>
299 <when value="create" />
300 <when value="update">
301 <param label="Previous JBrowse Instance"
302 name="update_jbrowse"
303 type="data"
304 format="html" />
305 </when>
306 </conditional>
307
266 <repeat name="track_groups" title="Track Group"> 308 <repeat name="track_groups" title="Track Group">
267 <param label="Track Category" 309 <param label="Track Category"
268 name="category" 310 name="category"
269 type="text" 311 type="text"
270 value="Default" 312 value="Default"
271 help="Organise your tracks into Categories for a nicer end-user experience" optional="False"/> 313 help="Organise your tracks into Categories for a nicer end-user experience" optional="False"/>
272 <repeat name="data_tracks" title="Annotation Track"> 314 <repeat name="data_tracks" title="Annotation Track">
273 <conditional name="data_format" label="Track Options"> 315 <conditional name="data_format">
274 <param type="select" label="Track Type" name="data_format_select"> 316 <param type="select" label="Track Type" name="data_format_select">
275 <option value="gene_calls">GFF/GFF3/BED/GBK Features</option> 317 <option value="gene_calls">GFF/GFF3/BED/GBK Features</option>
276 <option value="pileup">BAM Pileups</option> 318 <option value="pileup">BAM Pileups</option>
277 <option value="blast">Blast XML</option> 319 <option value="blast">Blast XML</option>
278 <option value="wiggle">BigWig XY</option> 320 <option value="wiggle">BigWig XY</option>
299 type="boolean" 341 type="boolean"
300 name="is_protein" 342 name="is_protein"
301 truevalue="true" 343 truevalue="true"
302 falsevalue="false" /> 344 falsevalue="false" />
303 345
346 <param label="Index this track" name="index" type="boolean" checked="false" truevalue="true" falsevalue="false" />
347
304 <expand macro="track_styling" 348 <expand macro="track_styling"
305 classname="feature" 349 classname="feature"
306 label="description" 350 label="description"
307 description="Hit_titles" 351 description="Hit_titles"
308 height="600px"/> 352 height="600px"/>
309 <expand macro="color_selection" 353 <expand macro="color_selection"
310 token_scaling_lin_select="false" 354 token_scaling_lin_select="false"
311 token_scaling_log_select="true" /> 355 token_scaling_log_select="true" />
356 <expand macro="track_menu" />
312 <expand macro="track_display" /> 357 <expand macro="track_display" />
313 </when> 358 </when>
314 <when value="vcf"> 359 <when value="vcf">
315 <expand macro="input_conditional" label="SNP Track Data" format="vcf" /> 360 <expand macro="input_conditional" label="SNP Track Data" format="vcf" />
316 <expand macro="track_display" /> 361 <expand macro="track_display" />
317 </when> 362 </when>
318 <when value="gene_calls"> 363 <when value="gene_calls">
319 <expand macro="input_conditional" label="GFF/GFF3/BED Track Data" format="gff,gff3,bed" /> 364 <expand macro="input_conditional" label="GFF/GFF3/BED Track Data" format="gff,gff3,bed" />
320 <conditional name="match_part" label="match/match_part data"> 365 <conditional name="match_part">
321 <param label="This is match/match_part data" 366 <param label="This is match/match_part data"
322 type="boolean" 367 type="boolean"
323 name="match_part_select" 368 name="match_part_select"
324 truevalue="true" 369 truevalue="true"
325 falsevalue="false" /> 370 falsevalue="false" />
331 help="Match_parts have several options for the parent feature type, such as cDNA_match, match, translated_nucleotide_match, etc. Please select the appropriate one here" 376 help="Match_parts have several options for the parent feature type, such as cDNA_match, match, translated_nucleotide_match, etc. Please select the appropriate one here"
332 optional="False"/> 377 optional="False"/>
333 </when> 378 </when>
334 <when value="false" /> 379 <when value="false" />
335 </conditional> 380 </conditional>
381
382 <param label="Index this track" name="index" type="boolean" checked="false" truevalue="true" falsevalue="false" />
383
336 <param type="select" label="JBrowse Track Type [Advanced]" name="track_class"> 384 <param type="select" label="JBrowse Track Type [Advanced]" name="track_class">
337 <option value="JBrowse/View/Track/HTMLFeatures">HTML Features</option> 385 <option value="JBrowse/View/Track/HTMLFeatures">HTML Features</option>
338 <option value="JBrowse/View/Track/CanvasFeatures" selected="true">Canvas Features</option> 386 <option value="JBrowse/View/Track/CanvasFeatures" selected="true">Canvas Features</option>
339 </param> 387 </param>
340 <expand macro="track_styling" /> 388 <expand macro="track_styling" />
341 <expand macro="color_selection" /> 389 <expand macro="color_selection" />
390 <expand macro="track_menu" />
342 <expand macro="track_display" /> 391 <expand macro="track_display" />
343 </when> 392 </when>
344 <when value="pileup"> 393 <when value="pileup">
345 <expand macro="input_conditional" label="BAM Track Data" format="bam" /> 394 <expand macro="input_conditional" label="BAM Track Data" format="bam" />
346 <param label="Autogenerate SNP Track" 395 <param label="Autogenerate SNP Track"
365 type="boolean" 414 type="boolean"
366 name="var_band" 415 name="var_band"
367 truevalue="true" 416 truevalue="true"
368 falsevalue="false" /> 417 falsevalue="false" />
369 418
370 <conditional name="scaling" label="Scaling"> 419 <conditional name="scaling">
371 <param type="select" label="Track Scaling" name="scale_select"> 420 <param type="select" label="Track Scaling" name="scale_select">
372 <option value="auto_local">Autoscale (local)</option> 421 <option value="auto_local">Autoscale (local)</option>
373 <option value="auto_global" selected="true">Autoscale (global)</option> 422 <option value="auto_global" selected="true">Autoscale (global)</option>
374 <option value="fixed">Specify Min/Max</option> 423 <option value="fixed">Specify Min/Max</option>
375 </param> 424 </param>
404 <data format="html" name="output" label="JBrowse on $on_string - $standalone"/> 453 <data format="html" name="output" label="JBrowse on $on_string - $standalone"/>
405 </outputs> 454 </outputs>
406 <tests> 455 <tests>
407 <test> 456 <test>
408 <!-- gencode --> 457 <!-- gencode -->
409 <param name="genomes" value="merlin.fa"/> 458 <param name="reference_genome|genome_type_select" value="history"/>
459 <param name="reference_genome|genomes" value="merlin.fa"/>
410 <param name="gencode" value="1" /> 460 <param name="gencode" value="1" />
411 <param name="standalone" value="Data Directory" /> 461 <param name="standalone" value="Data Directory" />
412 <param name="uglyTestingHack" value="enabled" /> 462 <param name="uglyTestingHack" value="enabled" />
413 <output name="output" file="gencode/test-1.xml" lines_diff="4" /> 463 <output name="output" file="gencode/test-1.xml" lines_diff="4" />
414 </test> 464 </test>
415 <test> 465 <test>
416 <param name="genomes" value="merlin.fa"/> 466 <param name="reference_genome|genome_type_select" value="history"/>
467 <param name="reference_genome|genomes" value="merlin.fa"/>
417 <param name="gencode" value="11" /> 468 <param name="gencode" value="11" />
418 <param name="standalone" value="Data Directory" /> 469 <param name="standalone" value="Data Directory" />
419 <param name="uglyTestingHack" value="enabled" /> 470 <param name="uglyTestingHack" value="enabled" />
420 <output name="output" file="gencode/test.xml" lines_diff="4"/> 471 <output name="output" file="gencode/test.xml" lines_diff="4"/>
421 </test> 472 </test>
422 <!--
423 <test> 473 <test>
424 <param name="genomes" value="merlin.fa"/> 474 <param name="reference_genome|genome_type_select" value="history"/>
475 <param name="reference_genome|genomes" value="merlin.fa"/>
425 <param name="gencode" value="11" /> 476 <param name="gencode" value="11" />
426 <param name="standalone" value="Data Directory" /> 477 <param name="standalone" value="Data Directory" />
427 <param name="track_groups_0|category" value="Auto Coloured" /> 478 <repeat name="track_groups">
428 <param name="track_groups_0|data_tracks_0|data_format" value="gene_calls"/> 479 <param name="category" value="Auto Coloured" />
429 <param name="track_groups_0|data_tracks_0|annotation" value="gff3/A.gff,gff3/B.gff,gff3/C.gff,gff3/D.gff"/> 480 <repeat name="data_tracks">
430 <param name="track_groups_0|data_tracks_0|match_part|match_part_select" value="false"/> 481 <conditional name="data_format">
431 <param name="track_groups_0|data_tracks_0|jbcolor_scale|color_score|color_score_select" value="none"/> 482 <param name="data_format_select" value="gene_calls"/>
432 <param name="track_groups_0|data_tracks_0|jbcolor_scale|color|color_select" value="automatic"/> 483 <param name="annotation" value="gff3/A.gff,gff3/B.gff,gff3/C.gff,gff3/D.gff"/>
433 484 <conditional name="match_part">
434 485 <param name="match_part_select" value="false"/>
435 <param name="track_groups_1|category" value="Ignore Scale" /> 486 </conditional>
436 <param name="track_groups_1|data_tracks_0|data_format" value="gene_calls"/> 487 <section name="jbcolor_scale">
437 <param name="track_groups_1|data_tracks_0|annotation" value="gff3/1.gff"/> 488 <conditional name="color_score">
438 <param name="track_groups_1|data_tracks_0|match_part|match_part_select" value="false"/> 489 <param name="color_score_select" value="none"/>
439 <param name="track_groups_1|data_tracks_0|jbcolor_scale|color_score|color_score_select" value="none"/> 490 </conditional>
440 <param name="track_groups_1|data_tracks_0|jbcolor_scale|color_score|color|color_select" value="manual"/> 491 <conditional name="color">
441 <param name="track_groups_1|data_tracks_0|jbcolor_scale|color_score|color|style_color" value="#ff00ff"/> 492 <param name="color_select" value="automatic"/>
442 493 </conditional>
443 <param name="track_groups_2|category" value="Scaled Colour" /> 494 </section>
444 <param name="track_groups_2|data_tracks_0|data_format" value="gene_calls"/> 495 </conditional>
445 <param name="track_groups_2|data_tracks_0|annotation" value="gff3/1.gff"/> 496 </repeat>
446 <param name="track_groups_2|data_tracks_0|match_part|match_part_select" value="false"/> 497 </repeat>
447 <param name="track_groups_2|data_tracks_0|jbcolor_scale|color_score|color_score_select" value="score"/> 498
448 <param name="track_groups_2|data_tracks_0|jbcolor_scale|color_score|score_scaling" value="linear"/> 499 <repeat name="track_groups">
449 <param name="track_groups_2|data_tracks_0|jbcolor_scale|color_score|score_scales|scale_select" value="automatic"/> 500 <param name="category" value="Ignore Scale" />
450 <param name="track_groups_2|data_tracks_0|jbcolor_scale|color_score|color_scheme|score_scheme" value="opacity"/> 501 <repeat name="data_tracks">
451 <param name="track_groups_2|data_tracks_0|jbcolor_scale|color_score|color_scheme|color_select" value="automatic"/> 502 <conditional name="data_format">
452 <param name="track_groups_2|data_tracks_1|data_format" value="gene_calls"/> 503 <param name="data_format_select" value="gene_calls"/>
453 <param name="track_groups_2|data_tracks_1|annotation" value="gff3/1.gff"/> 504 <param name="annotation" value="gff3/1.gff"/>
454 <param name="track_groups_2|data_tracks_1|match_part|match_part_select" value="false"/> 505 <conditional name="match_part">
455 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|color_score_select" value="score"/> 506 <param name="match_part_select" value="false"/>
456 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|score_scaling" value="linear"/> 507 </conditional>
457 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|score_scales|scale_select" value="automatic"/> 508 <section name="jbcolor_scale">
458 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|color_scheme|score_scheme" value="opacity"/> 509 <conditional name="color_score">
459 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|color_scheme|color_select" value="manual"/> 510 <param name="color_score_select" value="none"/>
460 <param name="track_groups_2|data_tracks_1|jbcolor_scale|color_score|color_scheme|style_color" value="#0000ff"/> 511 <conditional name="color">
461 <param name="track_groups_2|data_tracks_2|data_format" value="gene_calls"/> 512 <param name="color_select" value="manual"/>
462 <param name="track_groups_2|data_tracks_2|annotation" value="gff3/1.gff"/> 513 <param name="style_color" value="#ff00ff"/>
463 <param name="track_groups_2|data_tracks_2|match_part|match_part_select" value="false"/> 514 </conditional>
464 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|color_score_select" value="score"/> 515 </conditional>
465 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|score_scaling" value="linear"/> 516 </section>
466 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|score_scales|scale_select" value="automatic"/> 517 </conditional>
467 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|score_scales|minimum" value="0"/> 518 </repeat>
468 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|score_scales|maximum" value="1000"/> 519 </repeat>
469 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|color_scheme|score_scheme" value="opacity"/> 520
470 <param name="track_groups_2|data_tracks_2|jbcolor_scale|color_score|color_scheme|color_select" value="automatic"/> 521 <repeat name="track_groups">
471 <param name="track_groups_2|data_tracks_3|data_format" value="gene_calls"/> 522 <param name="category" value="Scaled Colour" />
472 <param name="track_groups_2|data_tracks_3|annotation" value="gff3/1.gff"/> 523 <repeat name="data_tracks">
473 <param name="track_groups_2|data_tracks_3|match_part|match_part_select" value="false"/> 524 <conditional name="data_format">
474 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|color_score_select" value="score"/> 525 <param name="data_format_select" value="gene_calls"/>
475 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|score_scaling" value="linear"/> 526 <param name="annotation" value="gff3/1.gff"/>
476 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|score_scales|scale_select" value="automatic"/> 527 <conditional name="match_part">
477 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|score_scales|minimum" value="0"/> 528 <param name="match_part_select" value="false"/>
478 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|score_scales|maximum" value="1000"/> 529 </conditional>
479 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|color_scheme|score_scheme" value="opacity"/> 530 <section name="jbcolor_scale">
480 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|color_scheme|color_select" value="manual"/> 531 <conditional name="color_score">
481 <param name="track_groups_2|data_tracks_3|jbcolor_scale|color_score|color_scheme|style_color" value="#ff0000"/> 532 <param name="color_score_select" value="score"/>
482 533 <param name="score_scaling" value="linear"/>
483 <param name="track_groups_3|category" value="Realistic" /> 534 <conditional name="score_scales">
484 <param name="track_groups_3|data_tracks_0|data_format" value="gene_calls"/> 535 <param name="scale_select" value="automatic"/>
485 <param name="track_groups_3|data_tracks_0|annotation" value="gff3/interpro.gff"/> 536 </conditional>
486 <param name="track_groups_3|data_tracks_0|match_part|match_part_select" value="false"/> 537 <conditional name="color_scheme">
487 <param name="track_groups_3|data_tracks_0|jbcolor_scale|color_score|color_score_select" value="none"/> 538 <param name="score_scheme" value="opacity"/>
488 <param name="track_groups_3|data_tracks_0|jbcolor_scale|color|color_select" value="automatic"/> 539 <conditional name="color">
489 <param name="track_groups_3|data_tracks_1|data_format" value="gene_calls"/> 540 <param name="color_select" value="automatic"/>
490 <param name="track_groups_3|data_tracks_1|annotation" value="gff3/2.gff"/> 541 </conditional>
491 <param name="track_groups_3|data_tracks_1|match_part|match_part_select" value="true"/> 542 </conditional>
492 <param name="track_groups_3|data_tracks_1|match_part|name" value="cDNA_match"/> 543 </conditional>
493 <param name="track_groups_3|data_tracks_1|jbcolor_scale|color_score|color_score_select" value="none"/> 544 </section>
494 <param name="track_groups_3|data_tracks_1|jbcolor_scale|color|color_select" value="automatic"/> 545 </conditional>
546 </repeat>
547 <repeat name="data_tracks">
548 <conditional name="data_format">
549 <param name="data_format_select" value="gene_calls"/>
550 <param name="annotation" value="gff3/1.gff"/>
551 <conditional name="match_part">
552 <param name="match_part_select" value="false"/>
553 </conditional>
554 <section name="jbcolor_scale">
555 <conditional name="color_score">
556 <param name="color_score_select" value="score"/>
557 <param name="score_scaling" value="linear"/>
558 <conditional name="score_scales">
559 <param name="scale_select" value="automatic"/>
560 </conditional>
561 <conditional name="color_scheme">
562 <param name="score_scheme" value="opacity"/>
563 <conditional name="color">
564 <param name="color_select" value="manual"/>
565 <param name="style_color" value="#0000ff"/>
566 </conditional>
567 </conditional>
568 </conditional>
569 </section>
570 </conditional>
571 </repeat>
572 <repeat name="data_tracks">
573 <conditional name="data_format">
574 <param name="data_format_select" value="gene_calls"/>
575 <param name="annotation" value="gff3/1.gff"/>
576 <conditional name="match_part">
577 <param name="match_part_select" value="false"/>
578 </conditional>
579 <section name="jbcolor_scale">
580 <conditional name="color_score">
581 <param name="color_score_select" value="score"/>
582 <param name="score_scaling" value="linear"/>
583 <conditional name="score_scales">
584 <param name="scale_select" value="manual"/>
585 <param name="minimum" value="0"/>
586 <param name="maximum" value="1000"/>
587 </conditional>
588 <conditional name="color_scheme">
589 <param name="score_scheme" value="opacity"/>
590 <conditional name="color">
591 <param name="color_select" value="automatic"/>
592 </conditional>
593 </conditional>
594 </conditional>
595 </section>
596 </conditional>
597 </repeat>
598 <repeat name="data_tracks">
599 <conditional name="data_format">
600 <param name="data_format_select" value="gene_calls"/>
601 <param name="annotation" value="gff3/1.gff"/>
602 <conditional name="match_part">
603 <param name="match_part_select" value="false"/>
604 </conditional>
605 <section name="jbcolor_scale">
606 <conditional name="color_score">
607 <param name="color_score_select" value="score"/>
608 <param name="score_scaling" value="linear"/>
609 <conditional name="score_scales">
610 <param name="scale_select" value="manual"/>
611 <param name="minimum" value="0"/>
612 <param name="maximum" value="1000"/>
613 </conditional>
614 <conditional name="color_scheme">
615 <param name="score_scheme" value="opacity"/>
616 <conditional name="color">
617 <param name="color_select" value="manual"/>
618 <param name="style_color" value="#ff0000"/>
619 </conditional>
620 </conditional>
621 </conditional>
622 </section>
623 </conditional>
624 </repeat>
625 </repeat>
626
627 <repeat name="track_groups">
628 <param name="category" value="Realistic" />
629 <repeat name="data_tracks">
630 <conditional name="data_format">
631 <param name="data_format_select" value="gene_calls"/>
632 <param name="annotation" value="gff3/interpro.gff"/>
633 <conditional name="match_part">
634 <param name="match_part_select" value="false"/>
635 </conditional>
636 <section name="jbcolor_scale">
637 <conditional name="color_score">
638 <param name="color_score_select" value="none"/>
639 </conditional>
640 <conditional name="color">
641 <param name="color_select" value="automatic"/>
642 </conditional>
643 </section>
644 </conditional>
645 </repeat>
646 <repeat name="data_tracks">
647 <conditional name="data_format">
648 <param name="data_format_select" value="gene_calls"/>
649 <param name="annotation" value="gff3/2.gff"/>
650 <conditional name="match_part">
651 <param name="match_part_select" value="true"/>
652 <param name="name" value="cDNA_match"/>
653 </conditional>
654 <section name="jbcolor_scale">
655 <conditional name="color_score">
656 <param name="color_score_select" value="none"/>
657 </conditional>
658 <conditional name="color">
659 <param name="color_select" value="automatic"/>
660 </conditional>
661 </section>
662 </conditional>
663 </repeat>
664 </repeat>
495 665
496 <param name="uglyTestingHack" value="enabled" /> 666 <param name="uglyTestingHack" value="enabled" />
497 <output name="output" file="gff3/test.xml" /> 667 <output name="output" file="gff3/test.xml" lines_diff="24" />
498 </test> 668 </test>
499 --> 669 <test>
670 <param name="reference_genome|genome_type_select" value="history"/>
671 <param name="reference_genome|genomes" value="merlin.fa"/>
672 <param name="gencode" value="11" />
673 <param name="standalone" value="Data Directory" />
674
675 <repeat name="track_groups">
676 <param name="category" value="With menu or index" />
677 <repeat name="data_tracks">
678 <conditional name="data_format">
679 <param name="data_format_select" value="gene_calls"/>
680 <param name="annotation" value="gff3/1.gff"/>
681 <conditional name="match_part">
682 <param name="match_part_select" value="false"/>
683 </conditional>
684 <section name="jbcolor_scale">
685 <conditional name="color_score">
686 <param name="color_score_select" value="none"/>
687 </conditional>
688 <conditional name="color">
689 <param name="color_select" value="automatic"/>
690 </conditional>
691 </section>
692 <section name="jbmenu">
693 <repeat name="track_menu">
694 <param name="menu_action" value="iframeDialog"/>
695 <param name="menu_label" value="Some menu item"/>
696 <param name="menu_title" value="Frame title"/>
697 <param name="menu_url" value="https://example.com/#!/?id={name}&amp;q={type}&amp;z=&quot;{end}&quot;"/>
698 <param name="menu_icon" value="dijitIconNewTask"/>
699 </repeat>
700 <repeat name="track_menu">
701 <param name="menu_action" value="newWindow"/>
702 <param name="menu_label" value="Another menu item"/>
703 <param name="menu_title" value="Frame title 2"/>
704 <param name="menu_url" value="https://example.com/#!/?id={name}&amp;q={type}&amp;z=&quot;{end}&quot;"/>
705 </repeat>
706 </section>
707 </conditional>
708 </repeat>
709 <repeat name="data_tracks">
710 <conditional name="data_format">
711 <param name="data_format_select" value="gene_calls"/>
712 <param name="annotation" value="gff3/1.gff"/>
713 <param name="index" value="true"/>
714 <conditional name="match_part">
715 <param name="match_part_select" value="false"/>
716 </conditional>
717 <section name="jbcolor_scale">
718 <conditional name="color_score">
719 <param name="color_score_select" value="none"/>
720 </conditional>
721 <conditional name="color">
722 <param name="color_select" value="automatic"/>
723 </conditional>
724 </section>
725 </conditional>
726 </repeat>
727 </repeat>
728
729 <param name="uglyTestingHack" value="enabled" />
730 <output name="output" file="menus/test.xml" lines_diff="6"/>
731 </test>
500 </tests> 732 </tests>
501 <help><![CDATA[ 733 <help><![CDATA[
502 JBrowse-in-Galaxy 734 JBrowse-in-Galaxy
503 ================= 735 =================
504 736
505 JBrowse-in-Galaxy offers a highly configurable, workflow-compatible 737 JBrowse-in-Galaxy offers a highly configurable, workflow-compatible
506 alternative to Trackster. 738 alternative to Trackster.
507
508 Overview
509 --------
510
511 JBrowse is a fast, embeddable genome browser built completely with
512 JavaScript and HTML5.
513 739
514 The JBrowse-in-Galaxy (JiG) tool was written to help build complex 740 The JBrowse-in-Galaxy (JiG) tool was written to help build complex
515 JBrowse installations straight from Galaxy, taking advantage of the 741 JBrowse installations straight from Galaxy, taking advantage of the
516 latest Galaxy features such as dataset collections, sections, and colour 742 latest Galaxy features such as dataset collections, sections, and colour
517 pickers. It allows you to build up a JBrowse instance without worrying 743 pickers. It allows you to build up a JBrowse instance without worrying
585 811
586 The data may be of a subclass we call **match/match part** data. This 812 The data may be of a subclass we call **match/match part** data. This
587 consists of top level ``match`` features, with a child ``match_part`` 813 consists of top level ``match`` features, with a child ``match_part``
588 feature, and is often used in displaying alignments. (See "Alignments" 814 feature, and is often used in displaying alignments. (See "Alignments"
589 section on the `GFF3 815 section on the `GFF3
590 specification <http://www.sequenceontology.org/gff3.shtml>`__ for more 816 specification <https://github.com/The-Sequence-Ontology/Specifications/blob/master/gff3.md>`__ for more
591 information). If the data is match/match part, you will need to specify 817 information). If the data is match/match part, you will need to specify
592 the top level match feature name, as it can be one of a few different SO 818 the top level match feature name, as it can be one of a few different SO
593 terms, and JiG does not yet have the ability to understand SO terms. 819 terms, and JiG does not yet have the ability to understand SO terms.
594 820
595 Next up is the **Styling Options** section, which lets you control a few 821 Next up is the **Styling Options** section, which lets you control a few
753 not use varied colours based on scores to avoid this issue. 979 not use varied colours based on scores to avoid this issue.
754 980
755 981
756 @ATTRIBUTION@ 982 @ATTRIBUTION@
757 ]]></help> 983 ]]></help>
758 <citations> 984 <expand macro="citations"/>
759 <citation type="doi">10.1101/gr.094607.109</citation>
760 </citations>
761 </tool> 985 </tool>
762