comparison macros.xml @ 29:7e8a8b732db3 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1a81ebd0ddea950b84af3fc830e9267a4814b29f
author yating-l
date Wed, 16 May 2018 18:04:20 -0400
parents
children
comparison
equal deleted inserted replaced
28:6aa28a85cc38 29:7e8a8b732db3
1 <macros>
2 <xml name="verify_hub_structure" token_genome="Dbia3" token_test="common">
3 <!--genomes.txt -->
4 <extra_files type="file" name="myHub/genomes.txt" value="@TEST@/myHub/genomes.txt" />
5
6 <extra_files type="file" name="myHub/@GENOME@.html" value="@TEST@/myHub/@GENOME@.html"/>
7 <!-- hub.txt -->
8 <extra_files type="file" name="myHub/hub.txt" value="@TEST@/myHub/hub.txt" lines_diff="2">
9 <assert_contents>
10 <has_text text="email"/>
11 </assert_contents>
12 </extra_files>
13 <!-- 2bit file -->
14 <extra_files type="file" name="myHub/@GENOME@/@GENOME@.2bit" value="common/@GENOME@.2bit" />
15 <!-- groups.txt -->
16 <extra_files type="file" name="myHub/@GENOME@/groups.txt" value="@TEST@/myHub/@GENOME@/groups.txt" />
17 <!-- description.html -->
18 <extra_files type="file" name="myHub/@GENOME@/description.html" value="@TEST@/myHub/@GENOME@/description.html"/>
19 <!-- trackDb.txt -->
20 <extra_files type="file" name="myHub/@GENOME@/trackDb.txt">
21 <assert_contents>
22 <has_text text="track"/>
23 <has_text text="longLabel"/>
24 <has_text text="shortLabel"/>
25 <has_text text="bigDataUrl"/>
26 <has_text text="type"/>
27 <has_text text="visibility"/>
28 <has_text text="thickDrawItem"/>
29 <has_text text="priority"/>
30 <has_text text="color"/>
31 <has_text text="group"/>
32 <yield />
33 </assert_contents>
34 </extra_files>
35 </xml>
36
37 <xml name="verify_hub_structure_no_track" token_genome="Dbia3" token_test="common">
38 <!--genomes.txt -->
39 <extra_files type="file" name="myHub/genomes.txt" value="@TEST@/myHub/genomes.txt" />
40
41 <extra_files type="file" name="myHub/@GENOME@.html" value="@TEST@/myHub/@GENOME@.html"/>
42 <!-- hub.txt -->
43 <extra_files type="file" name="myHub/hub.txt" value="@TEST@/myHub/hub.txt" lines_diff="2">
44 <assert_contents>
45 <has_text text="email"/>
46 </assert_contents>
47 </extra_files>
48 <!-- 2bit file -->
49 <extra_files type="file" name="myHub/@GENOME@/@GENOME@.2bit" value="common/@GENOME@.2bit" />
50 <!-- description.html -->
51 <extra_files type="file" name="myHub/@GENOME@/description.html" value="@TEST@/myHub/@GENOME@/description.html"/>
52 </xml>
53
54
55 <xml name="add_trix_file">
56 <conditional name="add_trix_index">
57 <param name="add_trix_index_selector" type="select" label="Add Trix index that allow for fast look-up of free text associated with a list of identifiers." help="More about Trix index: https://genome.ucsc.edu/goldenpath/help/trix.html">
58 <option value="no" selected="true">No</option>
59 <option value="yes">Yes</option>
60 </param>
61 <when value="yes">
62 <param name="trix_index"
63 type="data"
64 format="txt"
65 multiple="true"
66 min="2"
67 max="2"
68 label="Specify Trix index"
69 help="Dataset collection containing ix and ixx files generated by UCSC Trix Index Generator"
70 />
71 <yield />
72 </when>
73 <when value="no">
74 </when>
75 </conditional>
76 </xml>
77
78
79 </macros>