comparison igvtools_tile.xml @ 0:2eb1e2924c1a

Uploaded
author jjohnson
date Tue, 17 Jan 2012 21:53:25 -0500
parents
children ae2bc4e5fefc
comparison
equal deleted inserted replaced
-1:000000000000 0:2eb1e2924c1a
1 <tool id="igvtools_tile" name="IGVtools tile" version="1.0">
2 <description>convert a sorted data input file to a binary tiled data (.tdf) file</description>
3 <command interpreter="bash">igvtools tile
4 #if $zoom.__str__ != '':
5 -z $zoom
6 #end if
7 #if $window_functions.__str__ != '':
8 -f '$window_functions'
9 #end if
10 #if $probe.__str__ != '':
11 -p '$probe'
12 #end if
13 ## IGVTools relies on the file extension to determine format
14 #if $input.datatype.file_ext == 'wig':
15 #set $input_name='input_file.wig'
16 #elif $input.datatype.file_ext == 'igv.snp':
17 #set $input_name='input_file.snp'
18 #elif $input.datatype.file_ext == 'igv.gct':
19 #set $input_name='input_file.gct'
20 #elif $input.datatype.file_ext == 'igv.cn':
21 #set $input_name='input_file.cn'
22 #elif $input.datatype.file_ext == 'igv':
23 #set $input_name='input_file.igv'
24 #end if
25 `ln -s $input $input_name; echo $input_name` $output_tdf $refGenomeSource.ref
26 </command>
27 <inputs>
28 <conditional name="refGenomeSource">
29 <param name="refGenomeSource_type" type="select" label="Will you select a reference genome from your history or use a built-in reference?">
30 <option value="built-in">Use a built-in reference</option>
31 <option value="history">Use one from the history</option>
32 </param>
33 <when value="built-in">
34 <param name="ref" type="select" label="Select a reference genome">
35 <options from_file="igv_indices.loc">
36 <column name="dbkey" index="0" />
37 <column name="name" index="1" />
38 <column name="value" index="2" />
39 <filter type="sort_by" column="1" />
40 <validator type="no_options" message="No indexes are available" />
41 </options>
42 </param>
43 </when>
44 <when value="history">
45 <param name="ref" type="data" format="igv.genome" metadata_name="dbkey" label="Select a reference from history" />
46 </when>
47 </conditional>
48 <param name="input" type="data" format="wig,igv,igv.cn,igv.snp,igv.gct" label="Input file" help="The input WIG,CN,IGV,GCT,SNP feature file"/>
49 <param name="zoom" type="integer" value="7" optional="true" label="-z maximum zoom level to precompute"
50 help="The default value is 7 and is sufficient for most files. To reduce file
51 size at the expense of IGV performance this value can be reduced." />
52 <param name="window_functions" type="select" display="checkboxes" multiple="True" label="-f Functions to calculate over windows"
53 help="If none are selected, will default to mean">
54 <option value="mean" selected="true">mean</option>
55 <option value="min">min</option>
56 <option value="max">max</option>
57 </param>
58 <param name="probe" type="data" format="bed" optional="true" label="Probe file for GCT input"
59 help="Specifies a bed file to be used to map probe identifiers to locations.
60 This option is useful when preprocessing .gct files.
61 The bed file should contain 4 columns:
62 chr start end name
63 where name is the probe name in the .gct file."/>
64 </inputs>
65 <outputs>
66 <data format="igv.tdf" name="output_tdf" metadata_source="input" label="${tool.name} on ${on_string}: igv.tdf" from_work_dir="output.tdf"/>
67 </outputs>
68 <tests>
69 </tests>
70 <help>
71 **What it does**
72
73 The IGVTools_ tile command converts a sorted data input file to a binary tiled data (.tdf) file. Use this command to pre-process large datasets for improved IGV performance.
74
75 .. _IGVTools: http://www.broadinstitute.org/software/igv/igvtools_commandline
76 .. _IGV: http://www.broadinstitute.org/igv/
77
78 ------
79
80 To cite your use of IGV in your publication::
81
82 James T. Robinson, Helga Thorvaldsdottir, Wendy Winckler, Mitchell Guttman, Eric S. Lander, Gad Getz, Jill P. Mesirov.
83 Integrative Genomics Viewer. Nature Biotechnology 29, 24-26 (2011)
84
85 ------
86
87 **Input formats**
88
89 Supported input file formats are: .wig, .cn, .snp, .igv, and .gct.
90
91 ------
92
93 **Outputs**
94
95 The output format is IGV tiled data file (TDF) file (.tdf)
96
97 -------
98
99
100 **IGVTools count parameter list**
101
102 This is an exhaustive list of igvtools count options:
103
104 For **count**::
105
106 -z Integer Specifies the maximum zoom level to precompute. The default
107 value is 7 and is sufficient for most files. To reduce file
108 size at the expense of IGV performance this value can be
109 reduced.
110
111 -p file Specifies a "bed" file to be used to map probe identifiers
112 to locations. This option is useful when preprocessing . gct
113 files. The bed file should contain 4 columns:
114 chr start end name
115 where name is the probe name in the .gct file.
116
117 -f list A comma delimited list specifying window functions to use
118 when reducing the data to precomputed tiles. Possible
119 values are min, max, and mean. By default only the mean
120 is calculated.
121
122
123
124 </help>
125 </tool>