comparison jbrowse2.xml @ 19:bde6b1d09f7d draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 1290bf486bc55c02fecd0327de10a28655a18e81-dirty
author fubar
date Tue, 30 Jan 2024 06:05:03 +0000
parents 2e6c48910819
children 8e34214ccee4
comparison
equal deleted inserted replaced
18:2e6c48910819 19:bde6b1d09f7d
1 <tool id="jbrowse2" name="jbrowse2" version="@TOOL_VERSION@+@WRAPPER_VERSION@_2" profile="22.05"> 1 <tool id="jbrowse2" name="jbrowse2" version="@TOOL_VERSION@+@WRAPPER_VERSION@_3" 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"/>
29 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?> 29 <configfile name="trackxml"><![CDATA[<?xml version="1.0"?>
30 <root> 30 <root>
31 <metadata> 31 <metadata>
32 <genomes> 32 <genomes>
33 #if str($reference_genome.genome_type_select) == "indexed": 33 #if str($reference_genome.genome_type_select) == "indexed":
34 <genome path="${reference_genome.genomes.fields.path}" label="${reference_genome.genomes.fields.name}"> 34 <genome path="${reference_genome.genome.fields.path}" label="${reference_genome.genome.fields.name}">
35 <metadata /> 35 <metadata>
36 <dataset
37 dname = "${reference_genome.genome.name}" />
38 </metadata>
36 </genome> 39 </genome>
37 #else 40 #else
38 <genome path="$reference_genome.genome" label="${reference_genome.genome.element_identifier}"> 41 <genome path="$reference_genome.genome" label="${reference_genome.genome.name}">
39 <metadata> 42 <metadata>
40 <dataset id="${__app__.security.encode_id($reference_genome.genome.id)}" hid="${reference_genome.genome.hid}" 43 <dataset id="${__app__.security.encode_id($reference_genome.genome.id)}" hid="${reference_genome.genome.hid}"
41 size="${reference_genome.genome.get_size(nice_size=True)}" 44 size="${reference_genome.genome.get_size(nice_size=True)}"
42 edam_format="${reference_genome.genome.datatype.edam_format}" 45 edam_format="${reference_genome.genome.datatype.edam_format}"
43 file_ext="${reference_genome.genome.ext}" 46 file_ext="${reference_genome.genome.ext}"
44 dname = "${reference_genome.genome.element_identifier}" /> 47 dname = "${reference_genome.genome.name}" />
45 <history id="${__app__.security.encode_id($reference_genome.genome.history_id)}" 48 <history id="${__app__.security.encode_id($reference_genome.genome.history_id)}"
46 #if $reference_genome.genome.history.user: 49 #if $reference_genome.genome.history.user:
47 user_email="${reference_genome.genome.history.user.email}" 50 user_email="${reference_genome.genome.history.user.email}"
48 user_id="${reference_genome.genome.history.user_id}" 51 user_id="${reference_genome.genome.history.user_id}"
49 display_name="${reference_genome.genome.history.get_display_name()}"/> 52 display_name="${reference_genome.genome.history.get_display_name()}"/>
163 #end if 166 #end if
164 </gff> 167 </gff>
165 #else if str($track.data_format.data_format_select) == "synteny": 168 #else if str($track.data_format.data_format_select) == "synteny":
166 <synteny> 169 <synteny>
167 <genome>${track.data_format.synteny_genome}</genome> 170 <genome>${track.data_format.synteny_genome}</genome>
168 <genome_label>${track.data_format.synteny_genome.element_identifier}</genome_label> 171 <genome_label>${track.data_format.synteny_genome.name}</genome_label>
169 </synteny> 172 </synteny>
170 #else if str($track.data_format.data_format_select) == "hic": 173 #else if str($track.data_format.data_format_select) == "hic":
171 <hic> 174 <hic>
172 </hic> 175 </hic>
173 #else if str($track.data_format.data_format_select) == "sparql": 176 #else if str($track.data_format.data_format_select) == "sparql":
225 <repeat name="data_tracks" title="Annotation Track"> 228 <repeat name="data_tracks" title="Annotation Track">
226 <conditional name="data_format" label="Track Data Selection Options"> 229 <conditional name="data_format" label="Track Data Selection Options">
227 <param type="select" label="Track Type" name="data_format_select"> 230 <param type="select" label="Track Type" name="data_format_select">
228 <option value="pileup">BAM Pileup track</option> 231 <option value="pileup">BAM Pileup track</option>
229 <option value="wiggle">BigWig track</option> 232 <option value="wiggle">BigWig track</option>
230 <!-- <option value="blast">Blast XML track - converted to GFF</option> --> 233 <option value="blast">Blast XML track - converted to GFF</option>
231 <option value="cram">CRAM</option> 234 <option value="cram">CRAM</option>
232 <option value="gene_calls" selected="true">GFF/GFF3/BED feature track</option> 235 <option value="gene_calls" selected="true">GFF/GFF3/BED feature track</option>
233 <option value="hic">HiC (compressed binary) track. Existing cool format must be converted to binary hic - hic_matrix will NOT work.</option> 236 <option value="hic">HiC (compressed binary) track. Existing cool format must be converted to binary hic - hic_matrix will NOT work.</option>
237 <option value="maf">Multiple alignment format track. Reference name must match the MAF name exactly to work correctly</option>
234 <option value="sparql">SPARQL</option> 238 <option value="sparql">SPARQL</option>
235 <option value="synteny">Synteny track with PAF data</option> 239 <option value="synteny">Synteny track with PAF data</option>
236 <option value="vcf">VCF SNP annotation</option> 240 <option value="vcf">VCF SNP annotation</option>
237 </param> 241 </param>
238 <!--
239 <when value="blast"> 242 <when value="blast">
240 <expand macro="input_conditional" label="BlastXML Track Data" format="blastxml" /> 243 <expand macro="input_conditional" label="BlastXML Track Data" format="blastxml" />
241 244
242 <param label="Features used in Blast Search" 245 <param label="Features used in Blast Search"
243 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." 246 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."
256 type="boolean" 259 type="boolean"
257 name="is_protein" 260 name="is_protein"
258 truevalue="true" 261 truevalue="true"
259 falsevalue="false" /> 262 falsevalue="false" />
260 <expand macro="track_visibility" /> 263 <expand macro="track_visibility" />
261 </when> --> 264 </when>
262 <when value="vcf"> 265 <when value="vcf">
263 <expand macro="input_conditional" label="SNP Track Data" format="vcf,vcf_bgzip" /> 266 <expand macro="input_conditional" label="SNP Track Data" format="vcf,vcf_bgzip" />
264 <expand macro="track_styling_vcf"/> 267 <expand macro="track_styling_vcf"/>
265 <expand macro="track_visibility" /> 268 <expand macro="track_visibility" />
266 </when> 269 </when>
289 </when> 292 </when>
290 <when value="cram"> 293 <when value="cram">
291 <expand macro="input_conditional" label="CRAM Track Data" format="cram" /> 294 <expand macro="input_conditional" label="CRAM Track Data" format="cram" />
292 <expand macro="track_visibility" /> 295 <expand macro="track_visibility" />
293 </when> 296 </when>
297 <when value="maf">
298 <expand macro="input_conditional" label="MAF Track Data" format="maf" />
299 <expand macro="track_visibility" />
300 </when>
294 <when value="wiggle"> 301 <when value="wiggle">
295 <expand macro="input_conditional" label="BigWig Track Data" format="bigwig" /> 302 <expand macro="input_conditional" label="BigWig Track Data" format="bigwig" />
296 <expand macro="track_visibility" /> 303 <expand macro="track_visibility" />
297 304 </when>
298 </when>
299
300 <when value="synteny"> 305 <when value="synteny">
301 <param label="Comparison genome sequence" help="Paf must use this as the reference to map the real reference sequence" 306 <param label="Comparison genome sequence" help="Paf must use this as the reference to map the real reference sequence"
302 format="fasta" 307 format="fasta"
303 name="synteny_genome" 308 name="synteny_genome"
304 type="data" /> 309 type="data" />
305
306 <expand macro="input_conditional" label="Synteny data" format="paf" help="Make paf with minimap2 mapping real reference onto desired syntenic reference"/> 310 <expand macro="input_conditional" label="Synteny data" format="paf" help="Make paf with minimap2 mapping real reference onto desired syntenic reference"/>
307 <expand macro="track_visibility" /> 311 <expand macro="track_visibility" />
308 </when> 312 </when>
309 313
310 <when value="hic"> 314 <when value="hic">
311 <!-- TODO no hic datatype by default, but input for hicConvertFormat? hic_matrix datatype on .eu -->
312 <expand macro="input_conditional" label="HiC data" format="hic" /> 315 <expand macro="input_conditional" label="HiC data" format="hic" />
313 <expand macro="track_visibility" /> 316 <expand macro="track_visibility" />
314 </when> 317 </when>
315 318
316 <when value="sparql"> 319 <when value="sparql">
369 <expand macro="general_options" /> 372 <expand macro="general_options" />
370 373
371 <param type="hidden" name="uglyTestingHack" value="" /> 374 <param type="hidden" name="uglyTestingHack" value="" />
372 </inputs> 375 </inputs>
373 <outputs> 376 <outputs>
374 <data format="html" name="output" label="JBrowse2 on $reference_genome.genome.element_identifier"/> 377 <data format="html" name="output" label="JBrowse2 on $reference_genome.genome.name"/>
375 </outputs> 378 </outputs>
376 <tests> 379 <tests>
377 <test> 380 <test>
378 <param name="reference_genome|genome_type_select" value="history"/> 381 <param name="reference_genome|genome_type_select" value="history"/>
379 <param name="reference_genome|genome" value="merlin.fa"/> 382 <param name="reference_genome|genome" value="merlin.fa"/>