annotate hubArchiveCreator.xml @ 17:c02720d1afee draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
author rmarenco
date Fri, 30 Sep 2016 15:14:24 -0400
parents 3233451a3bd6
children d786bca6a75d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
d05236b15f81 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 3760d0c8353b924ecf994131a5c2eb381aa81fb2
rmarenco
parents: 10
diff changeset
1 <tool id="hubArchiveCreator" name="Hub Archive Creator" version="2.3.0">
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
2 <description>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
3 This Galaxy tool permits to prepare your files to be ready for
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
4 Assembly Hub visualization.
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
5 </description>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
6
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
7 <requirements>
15
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
8 <!-- Conda dependencies -->
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
9 <requirement type="package" version="332">ucsc-bedtobigbed</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
10 <requirement type="package" version="332">ucsc-fatotwobit</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
11 <requirement type="package" version="332">ucsc-genepredtobed</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
12 <requirement type="package" version="332">ucsc-genepredtobiggenepred</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
13 <requirement type="package" version="332">ucsc-gff3togenepred</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
14 <requirement type="package" version="332">ucsc-gtftogenepred</requirement>
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
15 <!-- TODO: Change the conda ucsc-psltobigpsl and take one > v337 because of bugs before -->
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
16 <!-- <requirement type="package" version="332">ucsc-psltobigpsl</requirement> -->
15
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
17 <requirement type="package" version="332">ucsc-twobitinfo</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
18 <requirement type="package" version="1.3">samtools</requirement>
2a45cd656e8e planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit f11032a9df62c79a46f6e4a055a3c7ae981ea721
rmarenco
parents: 14
diff changeset
19 <!-- ToolShed dependencies -->
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
20 <requirement type="package" version="312">ucsc_tools</requirement>
4
1b653b332695 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 64cfc08088d11f6818c1b4e5514ef9e67969eaff-dirty
rmarenco
parents: 3
diff changeset
21 <requirement type="package" version="0.0.1">gff3ToGenePred</requirement>
1b653b332695 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 64cfc08088d11f6818c1b4e5514ef9e67969eaff-dirty
rmarenco
parents: 3
diff changeset
22 <requirement type="package" version="0.0.1">gtfToGenePred</requirement>
1b653b332695 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 64cfc08088d11f6818c1b4e5514ef9e67969eaff-dirty
rmarenco
parents: 3
diff changeset
23 <requirement type="package" version="0.0.1">genePredToBed</requirement>
14
cbd8982c9f51 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 38f01a73fea83321618501978a3a505b5e8ab527
rmarenco
parents: 13
diff changeset
24 <requirement type="package" version="0.0.1">genePredToBigGenePred</requirement>
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
25 <requirement type="package" version="0.0.1">pslToBigPsl</requirement>
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
26 <requirement type="package" version="1.2">samtools</requirement>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
27 </requirements>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
28
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
29 <stdio>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
30 <regex match="^pass1"
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
31 source="stderr"
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
32 level="log"
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
33 description="bedToBigBed"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
34 <!-- TODO: Add the case pass1 and 0 chroms -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
35 <!-- TODO: Add the case pass2 and 0 records or 0 fields -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
36 </stdio>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
37
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
38 <!-- Idea: python \ -augustus [parameters] \ -trfBig [parameters] -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
39 <command detect_errors="exit_code"><![CDATA[
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
40 mkdir -p $output.extra_files_path;
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
41 python $__tool_directory__/hubArchiveCreator.py
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
42
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
43 ## Ask the user to enter the genome name
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
44 --genome_name '$genome_name'
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
45
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
46 #import json
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
47
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
48 #set global data_parameter_dict = {}
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
49
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
50 ## Function to retrieve the data of the inputs
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
51 #def prepare_json($input_to_prepare, $order_index, $extra_data_dict={})
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
52 #set false_path = str($input_to_prepare)
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
53 #set name = $input_to_prepare.name
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
54
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
55 #set data_dict = {"name": $name}
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
56 #silent data_dict.update($extra_data_dict)
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
57
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
58 ## Add the ordering by taking the tool form indexes
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
59 #silent $data_dict.update({"order_index": $order_index + 1})
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
60
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
61 #silent $data_parameter_dict.update({$false_path: $data_dict})
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
62
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
63 #end def
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
64
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
65 #for $i_g, $g in enumerate( $group )
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
66 #for $i, $f in enumerate( $g.format )
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
67
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
68 ## For each format, we have a few mandatory fields we store in a dict
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
69 #set track_color = str($f.formatChoice.track_color)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
70 #set group_name = str($g.group_name)
16
3233451a3bd6 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit fc73ec22a0db3ab09c4ac13dc58f0b54ae37845c
rmarenco
parents: 15
diff changeset
71
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
72 #set extra_data_dict = {"track_color": $track_color,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
73 "group_name": $group_name}
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
74
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
75 #if $f.formatChoice.format_select == "bam"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
76 --bam $f.formatChoice.BAM
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
77 #set bam_index = $f.formatChoice.BAM.metadata.bam_index
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
78
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
79 ## Add Bam format specific fields
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
80 #silent extra_data_dict.update({"index": $bam_index})
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
81
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
82 #silent $prepare_json($f.formatChoice.BAM, $i, extra_data_dict)
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
83 #end if
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
84 #if $f.formatChoice.format_select == "bed"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
85 #if $f.formatChoice.bedChoice.bed_select == "bed"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
86 --bed $f.formatChoice.bedChoice.BED
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
87 #silent $prepare_json($f.formatChoice.bedChoice.BED, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
88 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
89 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
90 #if $f.formatChoice.bedChoice.bed_select == "bed_simple_repeats_option"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
91 --bedSimpleRepeats $f.formatChoice.bedChoice.BED_simple_repeats
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
92 #silent $prepare_json($f.formatChoice.bedChoice.BED_simple_repeats, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
93 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
94 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
95 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
96 #if $f.formatChoice.format_select == "psl"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
97 --psl $f.formatChoice.PSL
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
98 #silent $prepare_json($f.formatChoice.PSL, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
99 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
100 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
101 #if $f.formatChoice.format_select == "bigwig"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
102 --bigwig $f.formatChoice.BIGWIG
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
103 #silent $prepare_json($f.formatChoice.BIGWIG, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
104 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
105 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
106 #if $f.formatChoice.format_select == "gff3"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
107 --gff3 $f.formatChoice.GFF3
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
108 #silent $prepare_json($f.formatChoice.GFF3, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
109 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
110 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
111 #if $f.formatChoice.format_select == "gtf"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
112 ## Add also GTF from Agustus? See https://github.com/ENCODE-DCC/kentUtils/issues/8
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
113 --gtf $f.formatChoice.GTF
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
114 #silent $prepare_json($f.formatChoice.GTF, $i,
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
115 extra_data_dict)
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
116 #end if
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
117 #end for
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
118 #end for
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
119
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
120 ## We combine the fasta file dataset name with his false path in a JSON object
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
121 #set fasta_json = json.dumps({"false_path": str($fasta_file), "name": $fasta_file.name})
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
122 -f '$fasta_json'
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
123
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
124 ## Dump the final json
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
125 #set all_data_json = json.dumps($data_parameter_dict)
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
126
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
127 --data_json '$all_data_json'
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
128
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
129 ## Retrieve the user email
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
130 --user_email $__user_email__
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
131
13
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
132 -d $__tool_directory__
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
133
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
134 -e $output.files_path
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
135
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
136 $advanced_options.debug_mode
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
137
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
138 -o $output;
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
139 ]]></command>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
140
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
141 <inputs>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
142 <param
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
143 name="genome_name"
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
144 type="text"
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
145 size="30"
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
146 value="unknown"
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
147 label="UCSC Genome Browser assembly ID"
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
148 />
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
149 <param
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
150 format="fasta"
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
151 name="fasta_file"
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
152 type="data"
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
153 label="Reference genome"
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
154 />
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
155 <repeat name="group" title="New group">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
156 <param type="text" name="group_name" label="Group name" value="Default group"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
157 <repeat name="format" title="New track">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
158 <conditional name="formatChoice">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
159 <param name="format_select" type="select" label="Format">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
160 <option value="bam" selected="true">BAM</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
161 <option value="bed">BED</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
162 <option value="psl">PSL</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
163 <option value="bigwig">BIGWIG</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
164 <option value="gff3">GFF3</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
165 <option value="gtf">GTF</option>
16
3233451a3bd6 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit fc73ec22a0db3ab09c4ac13dc58f0b54ae37845c
rmarenco
parents: 15
diff changeset
166 </param>
17
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
167
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
168 <when value="bam">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
169 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
170 format="bam"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
171 name="BAM"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
172 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
173 label="BAM File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
174 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
175 <!-- TODO: Find a solution to avoid repetition and to generate a new color depending on the others -->
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
176 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
177 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
178 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
179 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
180 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
181 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
182 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
183 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
184 <when value="bed">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
185 <conditional name="bedChoice">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
186 <param name="bed_select" type="select" label="Bed Choice">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
187 <option value="bed" selected="true">BED Generic (bed3+)</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
188 <option value="bed_simple_repeats_option">BED Simple repeat (bed4+12 / simpleRepeat.as)</option>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
189 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
190 <when value="bed">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
191 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
192 format="bed"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
193 name="BED"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
194 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
195 label="Generic Bed File Choice"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
196 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
197
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
198 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
199 <when value="bed_simple_repeats_option">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
200 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
201 format="bed"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
202 name="BED_simple_repeats"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
203 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
204 label="Bed Simple Repeats (Bed4+12) File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
205 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
206 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
207 </conditional>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
208 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
209 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
210 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
211 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
212 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
213 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
214 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
215 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
216 <when value="psl">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
217 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
218 format="psl"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
219 name="PSL"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
220 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
221 label="PSL File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
222 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
223 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
224 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
225 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
226 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
227 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
228 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
229 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
230 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
231 <when value="bigwig">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
232 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
233 format="bigwig"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
234 name="BIGWIG"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
235 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
236 label="BIGWIG File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
237 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
238 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
239 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
240 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
241 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
242 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
243 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
244 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
245 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
246 <when value="gff3">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
247 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
248 format="gff3"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
249 name="GFF3"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
250 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
251 label="GFF3 File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
252 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
253 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
254 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
255 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
256 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
257 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
258 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
259 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
260 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
261 <when value="gtf">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
262 <param
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
263 format="gtf"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
264 name="GTF"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
265 type="data"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
266 label="GTF File"
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
267 />
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
268 <param name="track_color" type="color" label="Track color" value="#000000">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
269 <sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
270 <valid initial="string.letters,string.digits">
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
271 <add value="#"/>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
272 </valid>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
273 </sanitizer>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
274 </param>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
275 </when>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
276 </conditional>
c02720d1afee planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1adbf397de1fc7af4d91e026093d7fff983e21cf
rmarenco
parents: 16
diff changeset
277 </repeat>
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
278 </repeat>
13
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
279 <conditional name="advanced_options">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
280 <param name="advanced_options_selector" type="select" label="Advanced options">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
281 <option value="off" selected="true">Hide advanced options</option>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
282 <option value="on">Display advanced options</option>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
283 </param>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
284 <!-- TODO: Avoid redundancy here -->
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
285 <when value="on">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
286 <param name="debug_mode" type="boolean"
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
287 label="Activate debug mode" checked="false"
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
288 truevalue="--debug_mode" falsevalue="">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
289 <help>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
290 Use this option if you are a G-OnRamp developer
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
291 </help>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
292 </param>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
293 </when>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
294 <when value="off">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
295 <param name="debug_mode" type="hidden"
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
296 value="">
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
297 </param>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
298 </when>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
299 </conditional>
25809f699cb3 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 65ab931ef2b05a5acf06cbde3a746c94a0a0a4cb
rmarenco
parents: 11
diff changeset
300 </inputs>
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
301
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
302 <outputs>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
303 <data format="trackhub" name="output"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
304 </outputs>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
305
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
306 <tests>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
307 <!-- Can also use assert_command to test command -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
308 <!-- Testing GFF3 input -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
309 <test>
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
310 <param name="fasta_file" value="dbia3.fa"/>
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
311 <repeat name="format">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
312 <conditional name="formatChoice">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
313 <param name="format_select" value="gff3"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
314 <param name="GFF3" value="augustusDbia3.gff3"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
315 </conditional>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
316 </repeat>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
317 <repeat name="format">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
318 <param name="BED_simple_repeats" value="dbia3_trfBig_unsorted.bed"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
319 <!-- TODO: Ask why the tests are not passing with this xml:
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
320 Error creating a job for these tool inputs - Error executing tool: 'NoneType' object has no attribute 'current_history'
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
321 <conditional name="formatChoice">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
322 <param name="format_select" value="bed"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
323 <conditional name="bedChoice">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
324 <param name="bed_select" value="bed_simple_repeats_option"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
325 <param name="BED_simple_repeats" value="dbia3_trfBig_unsorted.bed"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
326 </conditional>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
327 </conditional>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
328 -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
329 </repeat>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
330
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
331 <output name="output">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
332 <assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
333 <has_text text="myHub"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
334 </assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
335 <assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
336 <has_text text="dbia3_trfBig.bb"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
337 </assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
338 <assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
339 <has_text text="SAODOAii qwwqod92921"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
340 </assert_contents>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
341 </output>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
342 </test>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
343 <test>
10
acc233161f50 planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b1063f90004764bcf504f4340738eca5c4b1f9d
rmarenco
parents: 4
diff changeset
344 <param name="fasta_file" value="dbia3.fa"/>
0
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
345 <param name="GFF3" value="augustusDbia3.gff3"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
346 <output name="output" file="augustusOutput.html" lines_diff="2">
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
347 <extra_files type="directory" value="myHub"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
348 <extra_files type="file" name="myHub/dbia3/tracks/augustusDbia3.bb" value="augustusDbia3.bb"/>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
349 </output>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
350 </test>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
351 <!-- Testing Generic BED input -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
352 <!-- Testing Bed Simple repeat input -->
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
353 </tests>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
354
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
355 <help>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
356 This Galaxy tool permits to prepare your files to be ready for
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
357 Assembly Hub visualization.
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
358 </help>
0f3bc17e5ede Uploaded
rmarenco
parents:
diff changeset
359 </tool>