0
|
1 <tool id="sort_chrom_pos" name="Sort Chromosomal Position" version="1" >
|
|
2 <description> sort file by chromosome, then by position </description>
|
|
3 <command interpreter="bash">
|
|
4 sort_chromosomal_position.sh $infile $chrcol $startcol $endcol $num_headerlines $sorted_file
|
|
5 </command>
|
|
6
|
|
7
|
|
8 <inputs>
|
|
9
|
|
10 <param name="infile" type="data" label="select file to be sorted" help="must be a tab-separated file with a 1 line header"/>
|
|
11 <param name="chrcol" type="data_column" data_ref="infile" multiple="False" label="Chromosome Column" />
|
|
12 <param name="startcol" type="data_column" data_ref="infile" multiple="False" label="Start Column" />
|
|
13 <param name="endcol" type="data_column" data_ref="infile" multiple="False" label="End Column" />
|
|
14 <param name="num_headerlines" type="text" value="1" label="number of headerlines in your file" help="these lines will not be sorted"/>
|
|
15
|
|
16 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/>
|
|
17 </inputs>
|
|
18
|
|
19 <outputs>
|
|
20 <data format="tabular" name="sorted_file" label="$fname ${tool.name} Annotated region on file ${on_string}"/>
|
|
21
|
|
22 </outputs>
|
|
23
|
|
24 <help>
|
|
25
|
|
26
|
|
27 </help>
|
|
28
|
|
29 </tool>
|
|
30
|
|
31
|