|
0
|
1 <tool id="reorient_coordinates" name="Reorient Coordinates" version="0.1.0">
|
|
|
2 <description>Switches Start and End if needed</description>
|
|
|
3
|
|
|
4 <command interpreter="perl">reorient_coordinates.pl $input_file $output_file</command>
|
|
|
5
|
|
|
6 <inputs>
|
|
|
7 <param name="input_file" type="data" format="tabular" label="3-column tabular file with columns 2 and 3 indicating genomic positions"/>
|
|
|
8 </inputs>
|
|
|
9
|
|
|
10 <outputs>
|
|
|
11 <data name="output_file" format="tabular" />
|
|
|
12 </outputs>
|
|
|
13
|
|
|
14 <!-- TODO implement tests: namely generate test data and put it in place
|
|
|
15 <tests>
|
|
|
16 <test>
|
|
|
17 <param name="input_file" value="test_transcript_count.bam" />
|
|
|
18 <param name="coherent" value="1" />
|
|
|
19 <output name="output_file" file="test_transcript_count.tab" />
|
|
|
20 </test>
|
|
|
21 </tests>
|
|
|
22 -->
|
|
|
23 <help>
|
|
|
24
|
|
|
25 Switches positions in a tabular file to guarantee that the 2nd colum is always less or the same as the 3rd column.
|
|
|
26
|
|
|
27 E.g.
|
|
|
28 datafile:
|
|
|
29 entry1 100 200
|
|
|
30 entry2 200 200
|
|
|
31 entry3 300 200
|
|
|
32
|
|
|
33 Output:
|
|
|
34 entry1 100 200
|
|
|
35 entry2 200 200
|
|
|
36 entry3 200 300
|
|
|
37
|
|
|
38 ------
|
|
|
39
|
|
|
40 **Citation**
|
|
|
41
|
|
|
42 This tools and Galaxy wrapper was developed by the IGC Bioinformatics unit (author: Daniel Sobral dsobral@igc.gulbenkian.pt)
|
|
|
43
|
|
|
44 </help>
|
|
|
45
|
|
|
46 </tool> |