Mercurial > repos > saskia-hiltemann > file_manipulation
comparison sort_chromosomal_position.xml @ 0:e77c9484b2d0 draft default tip
Uploaded
author | saskia-hiltemann |
---|---|
date | Thu, 22 Oct 2015 09:18:30 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e77c9484b2d0 |
---|---|
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 |