comparison jbrowse2.xml @ 98:b1260bca5fdc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 44d8fc559ecf5463a8f753561976fa26686c96f6
author bgruening
date Wed, 05 Jun 2024 10:00:07 +0000
parents 74074746ccd8
children 990291e918c7
comparison
equal deleted inserted replaced
97:74074746ccd8 98:b1260bca5fdc
1 <tool id="jbrowse2" name="JBrowse2" version="@TOOL_VERSION@+@WRAPPER_VERSION@_17" profile="22.05"> 1 <tool id="jbrowse2" name="JBrowse2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
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="edamInc"/> 6 <expand macro="edamInc"/>
7 <xrefs> 7 <xrefs>
8 <xref type="bio.tools">jbrowse2</xref> 8 <xref type="bio.tools">jbrowse2</xref>
9 </xrefs> 9 </xrefs>
10 <expand macro="requirements" /> 10 <expand macro="requirements"/>
11 <expand macro="creators"/> 11 <required_files>
12 <include path="autogenJB2.py"/>
13 <include path="blastxml_to_gapped_gff3.py"/>
14 <include path="convertMAF.sh"/>
15 <include path="gff3_rebase.py"/>
16 <include path="jb2_webserver.py"/>
17 <include path="jbrowse2.py"/>
18 <include path="maf2bed.py"/>
19 </required_files>
12 <version_command>python '${__tool_directory__}/jbrowse2.py' --version</version_command> 20 <version_command>python '${__tool_directory__}/jbrowse2.py' --version</version_command>
13 <required_files>
14 <include path="autogenJB2.py" />
15 <include path="blastxml_to_gapped_gff3.py" />
16 <include path="convertMAF.sh" />
17 <include path="gff3_rebase.py" />
18 <include path="jb2_urlconf.py" />
19 <include path="jb2_webserver.py" />
20 <include path="jbrowse2.py" />
21 <include path="maf2bed.py" />
22 </required_files>
23 <command detect_errors="aggressive"><![CDATA[ 21 <command detect_errors="aggressive"><![CDATA[
24 mkdir -p '$output.files_path' && 22 mkdir -p '$output.files_path' &&
25 cp '$trackxml' '$output.files_path/galaxy.xml' && 23 cp '$trackxml' '$output.files_path/galaxy.xml' &&
26 export JBROWSE2_PATH=\$(dirname \$(which jbrowse))/../opt/jbrowse2 && 24 export JBROWSE2_PATH=\$(dirname \$(which jbrowse))/../opt/jbrowse2 &&
27 #if $jbgen.ucol.formcoll=="collect": 25 #if $jbgen.ucol.formcoll=="collect":
28 python '$__tool_directory__/autogenJB2.py' 26 python '$__tool_directory__/autogenJB2.py'
29 #for $key in $autoCollection.keys(): 27 #for $key in $autoCollection.keys():
30 #if $autoCollection[$key].is_collection: 28 #if $autoCollection[$key].is_collection:
31 #set subCol=$autoCollection[$key] 29 #set subCol=$autoCollection[$key]
32 #set pafs=[($subCol[x],$subcol[x].ext,x) for x in $subCol.keys() if $subCol[x].ext == 'paf'] 30 #set pafs=[($subCol[x],$subcol[x].ext,x) for x in $subCol.keys() if $subCol[x].ext == 'paf']
33 #set refs=[($subCol[x],$subcol[x].ext,x) for x in $subCol.keys() if $subCol[x].ext in ['fasta.gz','fasta']]
34 #if len($pafs) > 0: 31 #if len($pafs) > 0:
35 --pafmeta '$pafs[0]' 32 --pafmeta '$pafs[0]'
33 #set refs = [($pafs[0][2],$subCol[x],x) for x in $subCol.keys() if $subCol[x].ext == 'fasta']
36 #for $ref in $refs: 34 #for $ref in $refs:
37 --pafreferencemeta '$ref' 35 --pafreferencemeta '$ref'
38 #end for 36 #end for
39 #end if 37 #end if
40 #else if $autoCollection[$key].ext == 'fasta': 38 #else if $autoCollection[$key].ext == 'fasta':
41 --referencemeta '$autoCollection[$key],$autoCollection[$key].ext,$key' 39 --referencemeta '$autoCollection[$key],$autoCollection[$key].ext,$key'
42 #else if $autoCollection[$key].ext in ['bed', 'bigwig', 'cool', 'gff', 'gff3', 'hic', 'maf', 'mcool', 'scool', 'vcf'] 40 #else if $autoCollection[$key].ext in ['bed', 'bigwig', 'cool', 'gff', 'gff3', 'hic', 'maf', 'mcool', 'scool', 'vcf']
43 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key' 41 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key'
44 #else if $autoCollection[$key].ext in ['bam',] 42 #else if $autoCollection[$key].ext in ['bam',]
45 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key,$autoCollection[$key].metadata.bam_index' 43 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key,$autoCollection[$key].metadata.bam_index'
46 #else if $autoCollection[$key].ext in ['cram',] 44 #else if $autoCollection[$key].ext in ['cram',]
47 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key,$autoCollection[$key].metadata.cram_index' 45 --trackmeta '$autoCollection[$key],$autoCollection[$key].ext,$key,$autoCollection[$key].metadata.cram_index'
48 #end if 46 #end if
49 #end for 47 #end for
50 --outdir '$output.files_path' 48 --outdir '$output.files_path'
51 --jbrowse2path \${JBROWSE2_PATH} 49 --jbrowse2path \${JBROWSE2_PATH}
52 --sessName "Autogen JBrowse" && 50 --sessName "Autogen JBrowse" &&
53 #if $jbgen.zipOut == "true": 51 #if $jbgen.zipOut == "true":
54 (cd '$output.files_path' && zip -r - . ) > '$output' 52 cd '$output.files_path' &&
53 zip -r - . > '$output'
55 #else 54 #else
56 cp '$output.files_path/index.html' '$output' 55 cp '$output.files_path/index.html' '$output'
57 #end if 56 #end if
58 #else: 57 #else:
59 python '$__tool_directory__/jbrowse2.py' 58 python '$__tool_directory__/jbrowse2.py'
60 --jbrowse2path \${JBROWSE2_PATH} 59 --jbrowse2path \${JBROWSE2_PATH}
61 --outdir '$output.files_path' 60 --outdir '$output.files_path'
62 --xml '$trackxml' && 61 --xml '$trackxml' &&
63 #if $jbgen.zipOut == "true": 62 #if $jbgen.zipOut == "true":
64 (cd '$output.files_path' && zip -r - . ) > '$output' 63 cd '$output.files_path' &&
64 zip -r - . > '$output'
65 #else 65 #else
66 cp '$output.files_path/index.html' '$output' 66 cp '$output.files_path/index.html' '$output'
67 #end if
68 ## Ugly testing hack since I cannot get <extra_files> to test the files I want to test. Hmph.
69 #if str($uglyTestingHack) == "enabled":
70 && cp '$trackxml' '$output'
71 #end if 67 #end if
72 #end if 68 #end if
73 ]]></command> 69 ]]></command>
74 <configfiles> 70 <configfiles>
75 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?> 71 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?>
144 /> 140 />
145 <tool 141 <tool
146 tool_id="${assembly.reference_genome.genome.creating_job.tool_id}" 142 tool_id="${assembly.reference_genome.genome.creating_job.tool_id}"
147 tool_version="${assembly.reference_genome.genome.creating_job.tool_version}" 143 tool_version="${assembly.reference_genome.genome.creating_job.tool_version}"
148 /> 144 />
149
150 </metadata> 145 </metadata>
151 </genome> 146 </genome>
152 #end if 147 #end if
153 </genomes> 148 </genomes>
154 </metadata> 149 </metadata>
155 <tracks> 150 <tracks>
156 #for $tg in $assembly.track_groups: 151 #for $tg in $assembly.track_groups:
157 #for $track in $tg.data_tracks: 152 #for $track in $tg.data_tracks:
158 #set input_exists = "False" 153 #set input_exists = "False"
159 #if $track.data_format.useuri.insource == "uri": 154 #if $track.data_format.useuri.insource == "uri":
160 #if $track.data_format.useuri.annouri: 155 #if $track.data_format.useuri.annouri:
161 #set input_exists = "True" 156 #set input_exists = "True"
162 <track cat="${tg.category}" format="${track.data_format.data_format_select}" visibility="${track.data_format.track_visibility}"> 157 <track cat="${tg.category}" format="${track.data_format.data_format_select}" visibility="${track.data_format.track_visibility}">
163 <files> 158 <files>
164 <trackFile path="${track.data_format.useuri.annouri}" ext="${track.data_format.data_format_select}" 159 <trackFile path="${track.data_format.useuri.annouri}" ext="${track.data_format.data_format_select}"
165 label="${track.data_format.useuri.annoname}" useuri="yes"> 160 label="${track.data_format.useuri.annoname}" useuri="yes">
166 <metadata> 161 <metadata>
167 <dataset id = "${track.data_format.useuri.annouri}" /> 162 <dataset id = "${track.data_format.useuri.annouri}" />
168 </metadata> 163 </metadata>
169 </trackFile> 164 </trackFile>
170 </files> 165 </files>
171 #end if 166 #end if
172 #else if $track.data_format.useuri.insource == "history": 167 #else if $track.data_format.useuri.insource == "history":
173 #if $track.data_format.useuri.annotation: 168 #if $track.data_format.useuri.annotation:
174 #set input_exists = "True" 169 #set input_exists = "True"
175 <track cat="${tg.category}" format="${track.data_format.data_format_select}" visibility="${track.data_format.track_visibility}"> 170 <track cat="${tg.category}" format="${track.data_format.data_format_select}" visibility="${track.data_format.track_visibility}">
176 <files> 171 <files>
177 #for $dataset in $track.data_format.useuri.annotation: 172 #for $dataset in $track.data_format.useuri.annotation:
178 <trackFile path="${dataset}" ext="${dataset.ext}" label="${dataset.name}" useuri="no"> 173 <trackFile path="${dataset}" ext="${dataset.ext}" label="${dataset.name}" useuri="no">
179 <metadata> 174 <metadata>
180
181 <dataset id="${__app__.security.encode_id($dataset.id)}" hid="${dataset.hid}" 175 <dataset id="${__app__.security.encode_id($dataset.id)}" hid="${dataset.hid}"
182 size="${dataset.get_size(nice_size=True)}" 176 size="${dataset.get_size(nice_size=True)}"
183 edam_format="${dataset.datatype.edam_format}" 177 edam_format="${dataset.datatype.edam_format}"
184 file_ext="${dataset.ext}" /> 178 file_ext="${dataset.ext}" />
185 <history id="${__app__.security.encode_id($dataset.history_id)}" 179 <history id="${__app__.security.encode_id($dataset.history_id)}"
190 #else 184 #else
191 user_email="anonymous" 185 user_email="anonymous"
192 user_id="-1" 186 user_id="-1"
193 display_name="Unnamed History"/> 187 display_name="Unnamed History"/>
194 #end if 188 #end if
195
196 <metadata 189 <metadata
197 #for (key, value) in $dataset.get_metadata().items(): 190 #for (key, value) in $dataset.get_metadata().items():
198 #if "_types" not in $key and $value is not None and len(str($value)) < 5000: 191 #if "_types" not in $key and $value is not None and len(str($value)) < 5000:
199 #if isinstance($value, list): 192 #if isinstance($value, list):
200 #set value_str = "[%s]" % ','.join([str(val) for val in value]) 193 #set value_str = "[%s]" % ','.join([str(val) for val in value])
209 tool_id="${dataset.creating_job.tool_id}" 202 tool_id="${dataset.creating_job.tool_id}"
210 tool_version="${dataset.creating_job.tool_version}" 203 tool_version="${dataset.creating_job.tool_version}"
211 /> 204 />
212 </metadata> 205 </metadata>
213 </trackFile> 206 </trackFile>
214 #end for 207 #end for
215 </files> 208 </files>
216 #end if 209 #end if
217 #end if 210 #end if
218 #if $input_exists == "True": 211 #if $input_exists == "True":
219 <options> 212 <options>
331 </param> 324 </param>
332 <when value="indexed"> 325 <when value="indexed">
333 <param name="genome" type="select" optional="true" label="Select a built in reference genome or custom genome" help="If not listed, add a custom genome, use a history genome or a remote URI tabix genome"> 326 <param name="genome" type="select" optional="true" label="Select a built in reference genome or custom genome" help="If not listed, add a custom genome, use a history genome or a remote URI tabix genome">
334 <options from_data_table="all_fasta"> 327 <options from_data_table="all_fasta">
335 <filter column="2" type="sort_by"/> 328 <filter column="2" type="sort_by"/>
336 <validator message="No genomes are available for the selected input dataset" type="no_options"> 329 <validator message="No genomes are available for the selected input dataset" type="no_options"/>
337 </validator>
338 </options> 330 </options>
339 </param> 331 </param>
340 </when> 332 </when>
341 <when value="history"> 333 <when value="history">
342 <param name="genome" type="data" format="fasta" optional="true" label="Select the reference genome"> 334 <param name="genome" type="data" format="fasta" optional="true" label="Select the reference genome"/>
343 </param>
344 </when> 335 </when>
345 <when value="uri"> 336 <when value="uri">
346 <param name="uri" type="text" label="URI pointing to tabix compressed fasta"> 337 <param name="uri" type="text" label="URI pointing to tabix compressed fasta"/>
347 </param> 338 <param name="refname" type="text" label="Reference dbkey for tracks with this genome, such as hg38 or SacCer4"/>
348 <param name="refname" type="text" label="Reference dbkey for tracks with this genome, such as hg38 or SacCer4">
349 </param>
350 </when> 339 </when>
351 </conditional> 340 </conditional>
352 <repeat name="track_groups" title="Track Group"> 341 <repeat name="track_groups" title="Track Group">
353 <param name="category" type="text" value="Default" optional="False" label="Track Category" help="Organise your tracks into Categories for a nicer end-user experience. You can use #date# and it will be replaced with the current date in 'yyyy-mm-dd' format, which is very useful for repeatedly updating a JBrowse instance when member databases / underlying tool versions are updated."/> 342 <param name="category" type="text" value="Default" optional="False" label="Track Category" help="Organise your tracks into Categories for a nicer end-user experience. You can use #date# and it will be replaced with the current date in 'yyyy-mm-dd' format, which is very useful for repeatedly updating a JBrowse instance when member databases / underlying tool versions are updated."/>
354 <repeat name="data_tracks" title="Annotation Track"> 343 <repeat name="data_tracks" title="Annotation Track">
355 <conditional name="data_format" label="Track Data Selection Options"> 344 <conditional name="data_format" label="Track Data Selection Options">
356 <param name="data_format_select" type="select" label="Track Type"> 345 <param name="data_format_select" type="select" label="Track Type">
357 <option value="bam">BAM track. Recommend convert to faster BED unless 346 <option value="bam">BAM track. Recommend convert to faster BED unless mapping annotation needed</option>
358 mapping annotation needed</option>
359 <option value="bed">BED track</option> 347 <option value="bed">BED track</option>
360 <option value="bigwig">BigWig track</option> 348 <option value="bigwig">BigWig track</option>
361 <option value="blastxml">Blast XML track (as GFF3)</option> 349 <option value="blastxml">Blast XML track (as GFF3)</option>
362 <option value="cram">CRAM track. Currently not advantageous over BAM in 350 <option value="cram">CRAM track, we recomment to convert to BED like for BAM</option>
363 Galaxy. Convert to BED like BAM.</option>
364 <option value="gff">GFF/GFF3 track</option> 351 <option value="gff">GFF/GFF3 track</option>
365 <option value="cool">HiC as cool/mcool/scool format files</option> 352 <option value="cool">HiC as cool/mcool/scool format files</option>
366 <option value="hic">HiC as juicebox_hic format file. Tabular hic_matrix 353 <option value="hic">HiC as juicebox_hic format file. Tabular hic_matrix will NOT work.</option>
367 will NOT work.</option> 354 <option value="maf">Multiple alignment format. Reference name must match the MAF name exactly to work correctly</option>
368 <option value="maf">Multiple alignment format. Reference name must match 355 <option value="paf">PAF - approximate mapping positions between two set of sequences</option>
369 the MAF name exactly to work correctly</option>
370 <option value="paf">PAF - approximate mapping positions between two set
371 of sequences</option>
372 <option value="vcf">VCF SNP track</option> 356 <option value="vcf">VCF SNP track</option>
373 </param> 357 </param>
374 <when value="blastxml"> 358 <when value="blastxml">
375 <expand macro="input_conditional" label="BlastXML Track Data" format="blastxml"/> 359 <expand macro="input_conditional" label="BlastXML Track Data" format="blastxml"/>
376 <param name="blast_parent" type="data" format="gff3" optional="true" label="Features used in Blast Search" help="in GFF3. This is used so we know where to map features. E.g. where results of which CDS Protein32 match up to. The query IDs in your blast results should MATCH some feature IDs in your GFF3 file. This is an optional field and is most useful if using JBrowse to display protein blast results on a DNA genome. blastn results don't need this, blastp results on a protein sequence don't need this."/> 360 <param name="blast_parent" type="data" format="gff3" optional="true" label="Features used in Blast Search" help="in GFF3. This is used so we know where to map features. E.g. where results of which CDS Protein32 match up to. The query IDs in your blast results should MATCH some feature IDs in your GFF3 file. This is an optional field and is most useful if using JBrowse to display protein blast results on a DNA genome. blastn results don't need this, blastp results on a protein sequence don't need this."/>
377 <param name="min_gap" type="integer" min="2" value="10" label="Minimum Gap Size" help="before a new match_part feature is created"/> 361 <param name="min_gap" type="integer" min="2" value="10" label="Minimum Gap Size" help="before a new match_part feature is created"/>
378 <param name="is_protein" type="boolean" truevalue="true" falsevalue="false" label="Is this a protein blast search?"/> 362 <param name="is_protein" type="boolean" truevalue="true" falsevalue="false" label="Is this a protein blast search?"/>
379 <expand macro="track_styling_vgp"/> 363 <expand macro="track_styling_vgp"/>
380 <expand macro="track_visibility"/> 364 <expand macro="track_visibility"/>
381 </when> 365 </when>
390 <param name="match_part_select" type="select" label="This is match/match_part data" help="Match part data selection "> 374 <param name="match_part_select" type="select" label="This is match/match_part data" help="Match part data selection ">
391 <option selected="True" value="false">Not match/match part data</option> 375 <option selected="True" value="false">Not match/match part data</option>
392 <option value="true">Match/match part data</option> 376 <option value="true">Match/match part data</option>
393 </param> 377 </param>
394 <when value="true"> 378 <when value="true">
395 <param name="name" type="text" value="match" optional="True" label="Match Part Feature Type" help="Match_parts have options for the parent feature type, such as cDNA_match, match, translated_nucleotide_match, etc. Please select the appropriate one here. You can leave empty to try autodetection (only works with CanvasFeatures track type)."/> 379 <param name="name" type="text" value="match" optional="True" label="Match Part Feature Type" help="Match_parts have options for the parent feature type, such as cDNA_match, match, translated_nucleotide_match, etc. Please select the appropriate one here. You can leave empty to try autodetection (only works with CanvasFeatures track type)."/>
396 </when> 380 </when>
397 <when value="false"/> 381 <when value="false"/>
398 </conditional> 382 </conditional>
399 <expand macro="track_styling_vgp"/> 383 <expand macro="track_styling_vgp"/>
400 <expand macro="track_visibility"/> 384 <expand macro="track_visibility"/>
437 </conditional> 421 </conditional>
438 </repeat> 422 </repeat>
439 </repeat> 423 </repeat>
440 </repeat> 424 </repeat>
441 <expand macro="general_options"/> 425 <expand macro="general_options"/>
442 <param name="uglyTestingHack" type="hidden" value=""/>
443 </inputs> 426 </inputs>
444 <outputs> 427 <outputs>
445 <data format="html" name="output" label="JBrowse2: ${jbgen.session_name}"> 428 <data format="html" name="output" label="JBrowse2: ${jbgen.session_name}">
446 <change_format> 429 <change_format>
447 <when input="zipOut" value="true" format="zip"/> 430 <when input="zipOut" value="true" format="zip"/>
745 </conditional> 728 </conditional>
746 </conditional> 729 </conditional>
747 </repeat> 730 </repeat>
748 </repeat> 731 </repeat>
749 </repeat> 732 </repeat>
750 <param name="uglyTestingHack" value="enabled"/> 733 <section name="jbgen">
734 <param name="zipOut" value="true"/>
735 </section>
751 <output name="output"> 736 <output name="output">
752 <assert_contents> 737 <assert_contents>
753 <has_text text="genome path="/> 738 <has_archive_member path="galaxy.xml">
754 <has_text text="label="/> 739 <has_text text="genome path="/>
755 <has_text text="format="/> 740 <has_text text="label="/>
756 <has_text text="metadata"/> 741 <has_text text="format="/>
757 <has_text text="useuri="/> 742 <has_text text="metadata"/>
758 <has_text text="trackFile path="/> 743 <has_text text="useuri="/>
759 <has_text text="ext=&quot;bigwig&quot;"/> 744 <has_text text="trackFile path="/>
760 <has_text text="format=&quot;bigwig&quot;"/> 745 <has_text text="ext=&quot;bigwig&quot;"/>
746 <has_text text="format=&quot;bigwig&quot;"/>
747 </has_archive_member>
761 </assert_contents> 748 </assert_contents>
762 </output> 749 </output>
763 </test> 750 </test>
764 <test> 751 <test>
765 <repeat name="assemblies"> 752 <repeat name="assemblies">
780 </conditional> 767 </conditional>
781 </conditional> 768 </conditional>
782 </repeat> 769 </repeat>
783 </repeat> 770 </repeat>
784 </repeat> 771 </repeat>
785 <param name="uglyTestingHack" value="enabled"/> 772 <section name="jbgen">
773 <param name="zipOut" value="true"/>
774 </section>
786 <output name="output"> 775 <output name="output">
787 <assert_contents> 776 <assert_contents>
788 <has_text text="genome path="/> 777 <has_archive_member path="galaxy.xml">
789 <has_text text="label="/> 778 <has_text text="genome path="/>
790 <has_text text="format="/> 779 <has_text text="label="/>
791 <has_text text="metadata"/> 780 <has_text text="format="/>
792 <has_text text="useuri="/> 781 <has_text text="metadata"/>
793 <has_text text="trackFile path="/> 782 <has_text text="useuri="/>
794 <has_text text="ext=&quot;vcf&quot; label=&quot;merlin.vcf&quot;"/> 783 <has_text text="trackFile path="/>
784 <has_text text="ext=&quot;vcf&quot; label=&quot;merlin.vcf&quot;"/>
785 </has_archive_member>
795 </assert_contents> 786 </assert_contents>
796 </output> 787 </output>
797 </test> 788 </test>
798 <test> 789 <test>
799 <repeat name="assemblies"> 790 <repeat name="assemblies">
802 <param name="genome" value="merlin.fa"/> 793 <param name="genome" value="merlin.fa"/>
803 <param name="genome.ext" value="fasta"/> 794 <param name="genome.ext" value="fasta"/>
804 <param name="genome.name" value="Merlin"/> 795 <param name="genome.name" value="Merlin"/>
805 </conditional> 796 </conditional>
806 </repeat> 797 </repeat>
807 <param name="uglyTestingHack" value="enabled"/> 798 <section name="jbgen">
799 <param name="zipOut" value="true"/>
800 </section>
808 <output name="output"> 801 <output name="output">
809 <assert_contents> 802 <assert_contents>
810 <has_text text="genome path="/> 803 <has_archive_member path="galaxy.xml">
811 <has_text text="label="/> 804 <has_text text="genome path="/>
812 <has_text text="useuri="/> 805 <has_text text="label="/>
813 <has_text text="metadata"/> 806 <has_text text="useuri="/>
807 <has_text text="metadata"/>
808 </has_archive_member>
814 </assert_contents> 809 </assert_contents>
815 </output> 810 </output>
816 </test> 811 </test>
817 <test> 812 <test>
818 <repeat name="assemblies"> 813 <repeat name="assemblies">
833 </conditional> 828 </conditional>
834 </conditional> 829 </conditional>
835 </repeat> 830 </repeat>
836 </repeat> 831 </repeat>
837 </repeat> 832 </repeat>
838 <param name="uglyTestingHack" value="enabled"/> 833 <section name="jbgen">
834 <param name="zipOut" value="true"/>
835 </section>
839 <output name="output"> 836 <output name="output">
840 <assert_contents> 837 <assert_contents>
841 <has_text text="genome path="/> 838 <has_archive_member path="galaxy.xml">
842 <has_text text="label="/> 839 <has_text text="genome path="/>
843 <has_text text="format="/> 840 <has_text text="label="/>
844 <has_text text="metadata"/> 841 <has_text text="format="/>
845 <has_text text="useuri="/> 842 <has_text text="metadata"/>
846 <has_text text="trackFile path="/> 843 <has_text text="useuri="/>
847 <has_text text="ext=&quot;vcf&quot; label=&quot;merlin.vcf&quot;"/> 844 <has_text text="trackFile path="/>
845 <has_text text="ext=&quot;vcf&quot; label=&quot;merlin.vcf&quot;"/>
846 </has_archive_member>
848 </assert_contents> 847 </assert_contents>
849 </output> 848 </output>
850 </test> 849 </test>
851 <test> 850 <test>
852 <repeat name="assemblies"> 851 <repeat name="assemblies">
1063 </section> 1062 </section>
1064 </conditional> 1063 </conditional>
1065 </repeat> 1064 </repeat>
1066 </repeat> 1065 </repeat>
1067 </repeat> 1066 </repeat>
1068 <param name="uglyTestingHack" value="enabled"/> 1067 <section name="jbgen">
1068 <param name="zipOut" value="true"/>
1069 </section>
1069 <output name="output"> 1070 <output name="output">
1070 <assert_contents> 1071 <assert_contents>
1071 <has_text text="Ignore Scale"/> 1072 <has_archive_member path="A.gff"/>
1072 <has_text text="A.gff"/> 1073 <has_archive_member path="B.gff"/>
1073 <has_text text="B.gff"/> 1074 <has_archive_member path="C.gff"/>
1074 <has_text text="C.gff"/> 1075 <has_archive_member path="interpro.gff"/>
1075 <has_text text="interpro.gff"/> 1076 <has_archive_member path="1.gff"/>
1076 <has_text text="Scaled Colour"/> 1077 <has_archive_member path="2.gff"/>
1077 <has_text text="1.gff"/> 1078 <has_archive_member path="galaxy.xml">
1078 <has_text text="2.gff"/> 1079 <is_valid_xml/>
1080 <has_n_elements_with_path path="./metadata/general/session_name" n="1"/>
1081 <element_text_is path="./metadata/general/session_name" text="New JBrowse2 session"/>
1082 </has_archive_member>
1079 </assert_contents> 1083 </assert_contents>
1080 </output> 1084 </output>
1081 </test> 1085 </test>
1082 <!-- TODO add a synteny test --> 1086 <test>
1083 <!-- TODO add a bam and a cram test --> 1087 <repeat name="assemblies">
1084 <!-- TODO add an hic test --> 1088 <conditional name="reference_genome">
1085 <!-- TODO add a vcf_bgzip test --> 1089 <param name="genome_type_select" value="history"/>
1090 <param name="genome" value="merlin.fa"/>
1091 </conditional>
1092 <repeat name="track_groups">
1093 <param name="category" value="Auto Coloured"/>
1094 <repeat name="data_tracks">
1095 <conditional name="data_format">
1096 <param name="data_format_select" value="cram"/>
1097 <param name="annotation" value="cram/merlin-sample.cram"/>
1098 </conditional>
1099 </repeat>
1100 </repeat>
1101 </repeat>
1102 <section name="jbgen">
1103 <param name="zipOut" value="true"/>
1104 </section>
1105 <output name="output" ftype="zip">
1106 <assert_contents>
1107 <!-- roughly 590 files in an archive -->
1108 <has_archive_member path=".*" n="608" delta="30"/>
1109 <has_archive_member path="index.html"/>
1110 <has_archive_member path="static/media/roboto-latin-400-normal.3f2b9a42f643e62a49b7.woff"/>
1111 <has_archive_member path="manifest.json">
1112 <has_text text="favicon.ico"/>
1113 <has_text text="background_color"/>
1114 </has_archive_member>
1115 <has_archive_member path="merlin.fa.fa.gz.fai"/>
1116 <has_archive_member path="galaxy.xml">
1117 <is_valid_xml/>
1118 <has_n_elements_with_path path="./metadata/general/session_name" n="1"/>
1119 <element_text_is path="./metadata/general/session_name" text="New JBrowse2 session"/>
1120 </has_archive_member>
1121 </assert_contents>
1122 </output>
1123 </test>
1086 </tests> 1124 </tests>
1087 <help><![CDATA[ 1125 <help><![CDATA[
1088 1126
1089 JBrowse2-in-Galaxy 1127 JBrowse2-in-Galaxy
1090 ================== 1128 ==================
1091 1129
1092 JBrowse2-in-Galaxy offers a highly configurable, workflow-compatible 1130 JBrowse2-in-Galaxy offers a highly configurable, workflow-compatible Genome viewer.
1093 alternative to JBrowse1-in-Galaxy and Trackster.
1094 1131
1095 Compared to JBrowse1-in-Galaxy, there is no support for alternative codons for unusual genomes, 1132 Compared to JBrowse1-in-Galaxy, there is no support for alternative codons for unusual genomes,
1096 and detailed track styling is not yet implemented. Send code. 1133 and detailed track styling is not yet implemented. Please contact us if you are missing features.
1097 JBrowse1 development has now ceased in favour of JBrowse2.
1098 1134
1099 Use and local viewing 1135 Use and local viewing
1100 ===================== 1136 =====================
1101 1137
1102 1138