Mercurial > repos > iuc > bedtools
annotate closestBed.xml @ 44:589e7e57fd6d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 03a91f6c42c75dc36d09505c2e6a2236178e4695
author | iuc |
---|---|
date | Mon, 20 Feb 2023 21:49:48 +0000 |
parents | 07e8b80f278c |
children |
rev | line source |
---|---|
39
3e38c9b3214f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 1e25e8d0bd1ebeb2b94c4bbdff222e56defc1fc2"
iuc
parents:
34
diff
changeset
|
1 <tool id="bedtools_closestbed" name="bedtools ClosestBed" version="@TOOL_VERSION@" profile="@PROFILE@"> |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
2 <description>find the closest, potentially non-overlapping interval</description> |
0 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
41
7ab85ac5f64b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 500a03281ea704abc7a16d9af63d67dbdcc5cd0b"
iuc
parents:
39
diff
changeset
|
6 <expand macro="bio_tools" /> |
0 | 7 <expand macro="requirements" /> |
8 <expand macro="stdio" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
9 <command><![CDATA[ |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
10 closestBed |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
11 $strand |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
12 $addition |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
13 #if $addition2.addition2_select: |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
14 -D $addition2.addition2_select |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
15 $addition2.iu |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
16 $addition2.id |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
17 #end if |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
18 $io |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
19 -mdb $mdb |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
20 -t $ties |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
21 #if str($k): |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
22 -k $k |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
23 #end if |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
24 -a '$inputA' |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
25 #if str($overlap_with.source) == "data_table": |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
26 -b '$overlap_with.table.fields.path' |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
27 #else |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
28 -b |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
29 #for $file in $overlap_with.inputB: |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
30 '$file' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
31 #end for |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
32 #end if |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
33 > '$output' |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
34 ]]></command> |
0 | 35 <inputs> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
36 <param name="inputA" argument="-a" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
37 <!-- overlap with file (inputB) --> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
38 <conditional name="overlap_with"> |
26
95a3b2c25bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents:
15
diff
changeset
|
39 <param name="source" type="select" label="Overlap with: will you select a @STD_BEDTOOLS_INPUT_LABEL@ file from your history or use a built-in GFF file?" help="Built-in GFF files contain full annotation of a reference genome"> |
95a3b2c25bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents:
15
diff
changeset
|
40 <option value="history" selected="true">Use a @STD_BEDTOOLS_INPUT_LABEL@ file from the history</option> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
41 <option value="data_table">Use a built-in GFF file</option> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
42 </param> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
43 <when value="data_table"> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
44 <param name="table" type="select" label="Select reference GFF" help="If your genome of interest is not listed, contact the Galaxy team"> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
45 <options from_data_table="all_gff"> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
46 <filter type="sort_by" column="2"/> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
47 <validator type="no_options" message="No files are available"/> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
48 </options> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
49 </param> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
50 </when> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
51 <when value="history"> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
52 <param name="inputB" argument="-b" type="data" format="@STD_BEDTOOLS_INPUTS@" multiple="true" label="Select a @STD_BEDTOOLS_INPUT_LABEL@ file" /> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
53 </when> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
54 </conditional> |
0 | 55 |
1 | 56 <param name="ties" type="select" |
57 label="How ties for closest feature should be handled" | |
58 help="This occurs when two features in B have exactly the same overlap with a feature in A."> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
59 <option value="all" selected="true">all - Report all ties (default)</option> |
0 | 60 <option value="first">first - Report the first tie that occurred in the B file</option> |
61 <option value="last">last - Report the last tie that occurred in the B file</option> | |
62 </param> | |
63 | |
1 | 64 <expand macro="strand2" /> |
65 | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
66 <param name="addition" argument="-d" type="boolean" truevalue="-d" falsevalue="" checked="false" |
5
f8b7dc21b4ee
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 33ef87ff883d6a5814ab5b4552d7b597711cae4c
iuc
parents:
4
diff
changeset
|
67 label="In addition to the closest feature in B, report its distance to A as an extra column" |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
68 help="The reported distance for overlapping features will be 0" /> |
1 | 69 |
70 <conditional name="addition2"> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
71 <param name="addition2_select" argument="-D" type="select" |
5
f8b7dc21b4ee
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 33ef87ff883d6a5814ab5b4552d7b597711cae4c
iuc
parents:
4
diff
changeset
|
72 label="Add additional columns to report distance to upstream feature. Distance defintion" |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
73 help="Like -d, report the closest feature in B, and its distance to A as an extra column. However unlike -d, use negative distances to report upstream features"> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
74 <option value="" selected="true">Do not report the distance et all.</option> |
1 | 75 <option value="ref">Report distance with respect to the reference genome. B features with a lower (start, stop) are upstream. (-ref)</option> |
76 <option value="a">Report distance with respect to A. When A is on the - strand, "upstream" means B has a higher (start,stop). (-a)</option> | |
77 <option value="b">Report distance with respect to B. When B is on the - strand, "upstream" means A has a higher (start,stop). (-b)</option> | |
78 </param> | |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
79 <when value="" /> |
1 | 80 <when value="ref"> |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
81 <expand macro="closest_D_option" /> |
1 | 82 </when> |
83 <when value="a"> | |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
84 <expand macro="closest_D_option" /> |
1 | 85 </when> |
86 <when value="b"> | |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
87 <expand macro="closest_D_option" /> |
1 | 88 </when> |
89 </conditional> | |
90 | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
91 <param argument="-k" type="integer" min="1" value="1" optional="true" |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
92 label="Report the k closest hits" /> |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
93 |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
94 <param argument="-io" type="boolean" truevalue="-io" falsevalue="" checked="false" |
5
f8b7dc21b4ee
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 33ef87ff883d6a5814ab5b4552d7b597711cae4c
iuc
parents:
4
diff
changeset
|
95 label="Ignore features in B that overlap A" |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
96 help="That is, we want close, yet not touching features only" /> |
1 | 97 |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
98 <param argument="-mdb" type="select" |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
99 label="How multiple databases are resolved"> |
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
100 <option value="each" selected="true">Report closest records for each database. (-each)</option> |
1 | 101 <option value="all">Report closest records among all databases. (-all)</option> |
102 </param> | |
0 | 103 </inputs> |
104 <outputs> | |
5
f8b7dc21b4ee
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 33ef87ff883d6a5814ab5b4552d7b597711cae4c
iuc
parents:
4
diff
changeset
|
105 <!-- Would like to use a nicer name, but since there are possibly many inputB datasets, falling back to ${on_string} --> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
106 <!-- <data name="output" format_source="inputA" metadata_source="inputA" label="Closest regions from ${inputB[0].name} to ${inputA.name}"/> --> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
107 <data name="output" format_source="inputA" metadata_source="inputA" label="Closest regions from ${on_string}" /> |
0 | 108 </outputs> |
1 | 109 <tests> |
110 <test> | |
111 <param name="inputA" value="closestBedA.bed" ftype="bed" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
112 <param name="source" value="history" /> |
1 | 113 <param name="inputB" value="closestBedB.bed" ftype="bed" /> |
114 <output name="output" file="closestBed_result1.bed" ftype="bed" /> | |
115 </test> | |
116 <test> | |
117 <param name="inputA" value="closestBed_a.bed" ftype="bed" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
118 <param name="source" value="history" /> |
1 | 119 <param name="inputB" value="closestBed_b1.bed,closestBed_b2.bed" ftype="bed" /> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
120 <param name="addition" value="true" /> |
1 | 121 <output name="output" file="closestBed_result2.bed" ftype="bed" /> |
122 </test> | |
123 <test> | |
124 <param name="inputA" value="closestBed_a.bed" ftype="bed" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
125 <param name="source" value="history" /> |
1 | 126 <param name="inputB" value="closestBed_b1.bed,closestBed_b2.bed" ftype="bed" /> |
127 <param name="addition" value="True" /> | |
128 <param name="mdb" value="all" /> | |
129 <output name="output" file="closestBed_result3.bed" ftype="bed" /> | |
130 </test> | |
131 <test> | |
132 <param name="inputA" value="closestBed_c.bed" ftype="bed" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
133 <param name="source" value="history" /> |
1 | 134 <param name="inputB" value="closestBed_d.bed" ftype="bed" /> |
135 <param name="addition2_select" value="ref" /> | |
136 <output name="output" file="closestBed_result4.bed" ftype="bed" /> | |
137 </test> | |
138 <test> | |
139 <param name="inputA" value="closestBed_c.bed" ftype="bed" /> | |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
140 <param name="source" value="history" /> |
1 | 141 <param name="inputB" value="closestBed_d.bed" ftype="bed" /> |
142 <param name="addition2_select" value="a" /> | |
143 <output name="output" file="closestBed_result5.bed" ftype="bed" /> | |
144 </test> | |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
145 <test> |
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
146 <param name="inputA" value="closestBedA.bed" ftype="bed" /> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
147 <param name="source" value="history" /> |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
148 <param name="inputB" value="a.bed" ftype="bed" /> |
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
149 <param name="k" value="3" /> |
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
150 <output name="output" file="closestBed_result6.bed" ftype="bed" /> |
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
151 </test> |
43
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
152 <test> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
153 <param name="inputA" value="closestBedA.bed" ftype="bed" /> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
154 <param name="source" value="data_table" /> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
155 <param name="inputB" value="testid" /> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
156 <param name="k" value="3" /> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
157 <output name="output" file="closestBed_result6.bed" ftype="bed" /> |
07e8b80f278c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents:
41
diff
changeset
|
158 </test> |
1 | 159 </tests> |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
160 <help><![CDATA[ |
0 | 161 **What it does** |
162 | |
163 Similar to intersectBed, closestBed searches for overlapping features in A and B. In the event that no feature in B overlaps the current feature in A, closestBed will report the closest (that is, least genomic distance from the start or end of A) feature in B. For example, one might want to find which is the closest gene to a significant GWAS polymorphism. Note that closestBed will report an overlapping feature as the closest—that is, it does not restrict to closest non-overlapping feature. | |
164 | |
1 | 165 .. image:: $PATH_TO_IMAGES/closest-glyph.png |
166 | |
0 | 167 @REFERENCES@ |
15
b73962f8fcbf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit c5007eff737fcabb28fa726ac40f13a1cd4893c1
iuc
parents:
11
diff
changeset
|
168 ]]></help> |
0 | 169 <expand macro="citations" /> |
170 </tool> |