annotate build_ucsc_custom_track.xml @ 2:f1fd9e6e026e draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
author devteam
date Mon, 28 Feb 2022 20:05:39 +0000
parents 2e057d4433b2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
1 <tool id="build_ucsc_custom_track_1" name="Build custom track" version="1.0.1" profile="21.01">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
2 <description>for UCSC genome browser</description>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
3 <requirements>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
4 <requirement type="package" version="3.10">python</requirement>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
5 </requirements>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
6 <code file="build_ucsc_custom_track_code.py" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
8 python '$__tool_directory__/build_ucsc_custom_track.py'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
9 '$out_file1'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
10 #for $t in $tracks
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
11 '${t.input.file_name}'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
12 '${t.input.ext}'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
13 #if $t.input.ext == "interval"
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
14 '${t.input.metadata.chromCol},${t.input.metadata.startCol},${t.input.metadata.endCol},${t.input.metadata.strandCol}'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
15 #else
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
16 "NA"
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
17 #end if
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
18 '${t.name}'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
19 '${t.description}'
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
20 "${t.color}"
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
21 ${t.visibility}
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
22 #end for
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
23 ]]></command>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
24 <inputs>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
25 <repeat name="tracks" title="Track">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
26 <param name="input" type="data" format="interval,wig" label="Dataset"/>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
27 <param name="name" type="text" value="User Track">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
28 <validator type="length" max="15"/>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
29 </param>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
30 <param name="description" type="text" value="User Supplied Track (from Galaxy)">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
31 <validator type="length" max="60"/>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
32 </param>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
33 <param name="color" type="select" label="Color">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
34 <option selected="yes" value="0-0-0">Black</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
35 <option value="255-0-0">Red</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
36 <option value="0-255-0">Green</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
37 <option value="0-0-255">Blue</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
38 <option value="255-0-255">Magenta</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
39 <option value="0-255-255">Cyan</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
40 <option value="255-215-0">Gold</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
41 <option value="160-32-240">Purple</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
42 <option value="255-140-0">Orange</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
43 <option value="255-20-147">Pink</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
44 <option value="92-51-23">Dark Chocolate</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
45 <option value="85-107-47">Olive green</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
46 </param>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
47 <param name="visibility" type="select" label="Visibility">
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
48 <option selected="yes" value="1">Dense</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
49 <option value="2">Full</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
50 <option value="3">Pack</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
51 <option value="4">Squish</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
52 <option value="0">Hide</option>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
53 </param>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
54 </repeat>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
55 </inputs>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
56 <outputs>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
57 <data name="out_file1" format="customtrack" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
58 </outputs>
0
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
59 <tests>
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
60 <!--TODO: add a 2nd test here that includes 2 tracks -->
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
61 <test>
2
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
62 <param name="input" value="customTrack1.bed" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
63 <param name="name" value="User Track" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
64 <param name="description" value="User Supplied Track (from Galaxy)" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
65 <param name="color" value="0-0-0" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
66 <param name="visibility" value="1" />
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
67 <output name="out_file1" file="build_ucsc_custom_track_out1.customtrack" />
0
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
68 </test>
2
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
69 </tests>
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
70 <help><![CDATA[
0
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
71 .. class:: infomark
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
72
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
73 This tool allows you to build custom tracks using datasets in your history for the UCSC genome browser. You can view these custom tracks on the UCSC genome browser by clicking on **display at UCSC main/test** link in the history panel of the output dataset.
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
74
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
75 -----
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
76
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
77 .. class:: warningmark
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
78
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
79 Please note that this tool requires **all input datasets(tracks) to have the same genome build**. The tool throws an error when this requirement is not met. You may then have to choose a valid dataset or remove invalid tracks.
2
f1fd9e6e026e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/main/tools/ucsc_custom_track commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
devteam
parents: 1
diff changeset
80 ]]></help>
0
783448899c63 Imported from capsule None
devteam
parents:
diff changeset
81 </tool>