annotate flanking_features.xml @ 3:94248d5b9b8b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
author devteam
date Thu, 22 Jun 2017 18:39:31 -0400
parents e928e029f6eb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="flanking_features_1" name="Fetch closest non-overlapping feature" version="4.0.1">
3
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
2 <description>for every interval</description>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
3 <macros>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
4 <import>macros.xml</import>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
5 </macros>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
6 <expand macro="requirements" />
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
7 <command><![CDATA[
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
8 python '$__tool_directory__/flanking_features.py'
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
9 '$input1'
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
10 '$input2'
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
11 '$out_file1'
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
12 $direction
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
13
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
14 #if $input1.is_of_type('gff')
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
15 -1 1,4,5,7 --gff1
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
16 #else:
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
17 -1 ${input1.metadata.chromCol},${input1.metadata.startCol},${input1.metadata.endCol},${input1.metadata.strandCol}
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
18 #end if
0
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
19
3
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
20 #if $input2.is_of_type('gff')
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
21 -2 1,4,5,7 --gff2
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
22 #else:
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
23 -2 ${input2.metadata.chromCol},${input2.metadata.startCol},${input2.metadata.endCol},${input2.metadata.strandCol}
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
24 #end if
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
25 ]]></command>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
26 <inputs>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
27 <param name="input1" type="data" format="interval,gff" label="For every interval in"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
28 <param name="input2" type="data" format="interval,gff" label="Fetch closest feature(s) from"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
29 <param name="direction" type="select" label="Located">
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
30 <option value="Either">Either Upstream or Downstream</option>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
31 <option value="Both">Both Upstream and Downstream</option>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
32 <option value="Upstream">Upstream</option>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
33 <option value="Downstream">Downstream</option>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
34 </param>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
35 </inputs>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
36 <outputs>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
37 <data name="out_file1" format_source="input1" metadata_source="input1"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
38 </outputs>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
39 <tests>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
40 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
41 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
42 <param name="input2" value="4_windows_2.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
43 <param name="direction" value="Either"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
44 <output name="out_file1" file="closest_features_either.interval"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
45 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
46 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
47 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
48 <param name="input2" value="4_windows_2.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
49 <param name="direction" value="Both"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
50 <output name="out_file1" file="closest_features.interval"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
51 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
52 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
53 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
54 <param name="input2" value="4_windows_2.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
55 <param name="direction" value="Upstream"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
56 <output name="out_file1" file="closest_features_up.interval"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
57 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
58 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
59 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
60 <param name="input2" value="4_windows_2.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
61 <param name="direction" value="Downstream"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
62 <output name="out_file1" file="closest_features_down.interval"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
63 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
64 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
65 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
66 <param name="input2" value="4_windows_3.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
67 <param name="direction" value="Both"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
68 <output name="out_file1" file="closest_features_both.interval"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
69 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
70 <!-- Tests for GFF functionality. -->
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
71 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
72 <param name="input1" value="4_windows.bed"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
73 <param name="input2" value="4_windows_2.gff" ftype="gff" />
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
74 <param name="direction" value="Either"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
75 <output name="out_file1" file="closest_features_both.gff"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
76 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
77 <test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
78 <param name="input1" value="4_windows.gff" ftype="gff" />
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
79 <param name="input2" value="4_windows_2.gff" ftype="gff" />
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
80 <param name="direction" value="Either"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
81 <output name="out_file1" file="closest_features_both2.gff"/>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
82 </test>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
83 </tests>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
84 <help><![CDATA[
0
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
85 .. class:: infomark
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
86
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
87 **What it does**
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
88
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
89 For every interval in the **interval** dataset, this tool fetches the **closest non-overlapping** upstream and / or downstream features from the **features** dataset.
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
90
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
91 -----
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
92
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
93 .. class:: warningmark
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
94
3
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
95 **Note:**
0
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
96
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
97 Every line should contain at least 3 columns: chromosome number, start and stop coordinates. If any of these columns is missing or if start and stop coordinates are not numerical, the lines will be treated as invalid and skipped. The number of skipped lines is documented in the resulting history item as a "data issue".
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
98
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
99 If the strand column is missing from your input interval dataset, the intervals will be considered to be on positive strand. You can add a strand column to your input dataset by using the *Text Manipulation->Add column* tool.
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
100
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
101 For GFF files, features are added as a GTF-style attribute at the end of the line.
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
102
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
103 -----
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
104
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
105 **Example**
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
106
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
107 If the **intervals** are::
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
108
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
109 chr1 10 100 Query1.1
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
110 chr1 500 1000 Query1.2
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
111 chr1 1100 1250 Query1.3
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
112
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
113 and the **features** are::
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
114
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
115 chr1 120 180 Query2.1
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
116 chr1 140 200 Query2.2
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
117 chr1 580 1050 Query2.3
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
118 chr1 2000 2204 Query2.4
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
119 chr1 2500 3000 Query2.5
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
120
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
121 Running this tool for **Both Upstream and Downstream** will return::
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
122
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
123 chr1 10 100 Query1.1 chr1 120 180 Query2.1
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
124 chr1 500 1000 Query1.2 chr1 140 200 Query2.2
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
125 chr1 500 1000 Query1.2 chr1 2000 2204 Query2.4
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
126 chr1 1100 1250 Query1.3 chr1 580 1050 Query2.3
e928e029f6eb Imported from capsule None
devteam
parents:
diff changeset
127 chr1 1100 1250 Query1.3 chr1 2000 2204 Query2.4
3
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
128 ]]></help>
94248d5b9b8b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/flanking_features commit cae3e05d02e60f595bb8b6d77a84f030e9bd1689
devteam
parents: 0
diff changeset
129 </tool>