comparison jbrowse_hub.xml @ 0:e4f3f2ed4fa5 draft

planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit f18ea51d27ec7addfa6413716391cfefebc8acbc-dirty
author yating-l
date Fri, 10 Mar 2017 13:48:19 -0500
parents
children 472f074fbf1f
comparison
equal deleted inserted replaced
-1:000000000000 0:e4f3f2ed4fa5
1 <tool id="jbrowse_hub" name="JBrowse Hub Creator" version="1.0">
2 <description>
3 This Galaxy tool is used to prepare your files to be ready for displaying on JBrowse
4 </description>
5
6 <requirements>
7 <requirement type="package" version="1.67">package_biopython_1_67</requirement>
8 </requirements>
9
10 <stdio>
11 </stdio>
12
13 <command detect_errors="exit_code"><![CDATA[
14 python $__tool_directory__/jbrowse_hub.py
15 --fasta '$reference'
16 #for $f in $format
17 #if $f.formatChoice.format_select == 'bed'
18 #if $f.formatChoice.bedChoice.bed_select == 'bed_simple_repeats_option'
19 --bedSimpleRepeats $f.formatChoice.bedChoice.BED_simple_repeats
20 #elif $f.formatChoice.bedChoice.bed_select == 'bed_splice_junctions_option'
21 --bedSpliceJunctions $f.formatChoice.bedChoice.BED_splice_junctions
22 #end if
23 #end if
24 #if $f.formatChoice.format_select == 'bam'
25 --bam $f.formatChoice.BAM
26 #end if
27 #if $f.formatChoice.format_select == 'gff3'
28 --gff3 $f.formatChoice.GFF3
29 #end if
30 #if $f.formatChoice.format_select == 'blastxml'
31 --blastxml $f.formatChoice.BlastXML
32 #end if
33 #if $f.formatChoice.format_select == 'gtf'
34 --gtf $f.formatChoice.GTF
35 #end if
36 #if $f.formatChoice.format_select == 'bigwig'
37 --bigwig $f.formatChoice.BIGWIG
38 #end if
39 #end for
40 --out $output
41 ]]></command>
42
43 <inputs>
44 <param name="reference" type="data" format="fasta" label="Reference Genome" />
45 <param name="output" type="text" size="30" value="unknown" label="Output folder" />
46 <repeat name="format" title="New track">
47 <conditional name="formatChoice">
48 <param name="format_select" type="select" label="Format">
49 <option value="bam" selected="true">BAM</option>
50 <option value="bed">BED</option>
51 <option value="blastxml">BLASTXML</option>
52 <option value="bigwig">BIGWIG</option>
53 <option value="gff3">GFF3</option>
54 <option value="gtf">GTF</option>
55 </param>
56
57 <when value="bam">
58 <param
59 format="bam"
60 name="BAM"
61 type="data"
62 label="BAM File"
63 />
64 </when>
65 <when value="bed">
66 <conditional name="bedChoice">
67 <param name="bed_select" type="select" label="Bed Choice">
68 <option value="bed_simple_repeats_option">BED Simple repeat (bed4+12 / simpleRepeat.as)</option>
69 <option value="bed_splice_junctions_option">BED Splice junctions (bed12+1 / spliceJunctions.as)</option>
70 </param>
71 <when value="bed_simple_repeats_option">
72 <param
73 format="bed"
74 name="BED_simple_repeats"
75 type="data"
76 label="Bed Simple Repeats (Bed4+12) File"
77 />
78 </when>
79 <when value="bed_splice_junctions_option">
80 <param
81 format="bed"
82 name="BED_splice_junctions"
83 type="data"
84 label="Bed Splice Junctions (Bed12+1) File"
85 />
86 </when>
87 </conditional>
88 </when>
89 <when value="blastxml">
90 <param
91 format="blastxml"
92 name="BlastXML"
93 type="data"
94 label="Blast Alignments File"
95 />
96 </when>
97 <when value="bigwig">
98 <param
99 format="bigwig"
100 name="BIGWIG"
101 type="data"
102 label="BIGWIG File"
103 />
104 </when>
105 <when value="gff3">
106 <param
107 format="gff3"
108 name="GFF3"
109 type="data"
110 label="GFF3 File"
111 />
112 </when>
113 <when value="gtf">
114 <param
115 format="gtf"
116 name="GTF"
117 type="data"
118 label="GTF File"
119 />
120 </when>
121 </conditional>
122 </repeat>
123 </inputs>
124
125 <outputs>
126 <data format="tar" name="JBrowseHub" label="${tool.name} on ${output}" />
127 </outputs>
128 <tests>
129 <test>
130 <param name="reference" value="dbia3/raw/dbia3.fa" />
131 <param name="output" value="hubtest" />
132 <repeat name="format">
133 <conditional name="formatChoice">
134 <param name="format_select" value="gff3"/>
135 <param name="GFF3" value="dbia3/raw/Augustus_on_data_3__GTF_GFF.gff3" />
136 </conditional>
137 </repeat>
138 <output name="JBrowseHub" file="hubtest.tar" />
139 </test>
140 </tests>
141 <help>
142 This Galaxy tool will create a tar file which including raw datasets and json datasets that can be used for
143 JBrowse visualization.
144 </help>
145 <citations>
146 </citations>
147 </tool>