annotate intersectBed.xml @ 32:4f7a5ccd2ae9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
author iuc
date Tue, 11 Dec 2018 14:01:26 -0500
parents 6283d16e40ed
children dde39ba9c031
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
1 <tool id="bedtools_intersectbed" name="bedtools Intersect intervals" version="@WRAPPER_VERSION@">
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 overlapping intervals in various ways</description>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
6 <expand macro="requirements">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
7 <requirement type="package" version="@SAMTOOLS_VERSION@">samtools</requirement>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
8 </expand>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
9 <expand macro="stdio" />
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
10 <command><![CDATA[
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
11 #import re
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
12 #set modes = ' '.join( str($overlap_mode).split(',') )
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
13
28
6283d16e40ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 393e1fef41cfb7e28005a98fd5043a3f42347686
iuc
parents: 26
diff changeset
14 #if $modes == "None":
6283d16e40ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 393e1fef41cfb7e28005a98fd5043a3f42347686
iuc
parents: 26
diff changeset
15 #set modes = ''
6283d16e40ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 393e1fef41cfb7e28005a98fd5043a3f42347686
iuc
parents: 26
diff changeset
16 #end if
6283d16e40ed planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 393e1fef41cfb7e28005a98fd5043a3f42347686
iuc
parents: 26
diff changeset
17
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
18 bedtools intersect
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
19 #if $inputA.is_of_type('bam'):
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
20 -abam '${inputA}'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
21 #else:
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
22 -a '${inputA}'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
23 #end if
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
25 #if str($reduce_or_iterate.reduce_or_iterate_selector) == 'iterate':
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
26 -b '$reduce_or_iterate.inputB'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
27 #else:
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
28 #set inputBs = "' '".join([str($file) for $file in $reduce_or_iterate.inputB])
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
29 -b '$inputBs'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
30 #if $reduce_or_iterate.names:
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
31 #set namesB = "' '".join([re.sub('[^\s\w\-]', '_', str($file.element_identifier)) for $file in $reduce_or_iterate.inputB])
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
32 -names '$namesB'
20
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
33 #end if
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
34 #end if
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
35 $split
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
36 $strand
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
37 #if $fraction_cond.fraction_select == "specify":
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
38 -f '${fraction_cond.overlap}'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
39 $fraction_cond.reciprocal_cond.reciprocal
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
40 #if str($fraction_cond.reciprocal_cond.reciprocal) == '':
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
41 -F '${fraction_cond.reciprocal_cond.overlapB}'
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
42 $fraction_cond.reciprocal_cond.disjoint
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
43 #end if
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
44 #end if
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
45 $invert
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
46 $once
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
47 $header
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
48 $modes
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
49 $sorted
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
50 #if str($sorted) != '':
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
51 #if str($reduce_or_iterate.reduce_or_iterate_selector) == 'iterate' and $reduce_or_iterate.inputB.is_of_type('bam'):
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
52 -g <(samtools view -H $reduce_or_iterate.inputB | tr ':' '\t' | grep SN | cut -f 3,5)
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
53 #else if str($reduce_or_iterate.reduce_or_iterate_selector) == 'reduce' and str($reduce_or_iterate.inputB) != 'None' and $reduce_or_iterate.inputB[0].is_of_type('bam'):
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
54 -g <(samtools view -H $reduce_or_iterate.inputB[0] | tr ':' '\t' | grep SN | cut -f 3,5)
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
55 #end if
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
56 #end if
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
57 $bed
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
58 $count
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
59 > '${output}'
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
60 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
61 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
62 <inputs>
26
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
63 <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="File A to intersect with B" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format" />
20
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
64 <conditional name="reduce_or_iterate">
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
65 <param name='reduce_or_iterate_selector' type='select' label='Combined or separate output files'>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
66 <option value='iterate' selected='true'>One output file per 'input B' file</option>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
67 <option value='reduce'>Single output containing intersections of any 'input B' lines with A </option>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
68 </param>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
69 <when value='iterate'>
26
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
70 <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputB" type="data"
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
71 label="File(s) B to intersect with A" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format"/>
20
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
72 </when>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
73 <when value='reduce'>
26
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
74 <param format="bam,@STD_BEDTOOLS_INPUTS@" name="inputB" type="data" multiple="true"
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
75 label="File(s) B to intersect with A" help="BAM/@STD_BEDTOOLS_INPUT_LABEL@ format"/>
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
76 <param argument="names" type="boolean" truevalue="yes" falsevalue="no" label="add data set names instead of indices" help=""/>
20
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
77 </when>
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
78 </conditional>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
79 <expand macro="strand2" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
80 <param name="overlap_mode" type="select" multiple="True" label="What should be written to the output file?">
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
81 <option value="-wa">Write the original entry in A for each overlap (-wa)</option>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
82 <option value="-wb">Write the original entry in B for each overlap. Useful for knowing what A overlaps. Restricted by the fraction- and reciprocal option (-wb)</option>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
83 <option value="-wo">Write the original A and B entries plus the number of base pairs of overlap between the two features. Only A features with overlap are reported. Restricted by the fraction- and reciprocal option (-wo)</option>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
84 <option value="-wao">Write the original A and B entries plus the number of base pairs of overlap between the two features. However, A features w/o overlap are also reported with a NULL B feature and overlap = 0. Restricted by the fraction- and reciprocal option (-wao)</option>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
85 <option value="-loj">Perform a "left outer join". That is, for each feature in A report each overlap with B. If no overlaps are found, report a NULL feature for B (-loj)</option>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
86 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
87
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
88 <expand macro="split" />
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
89 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
90 <param name='fraction_select' type='select' label='Required overlap'>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
91 <option value='default' selected='true'>Default: 1bp</option>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
92 <option value='specify'>Specify minimum overlap(s)</option>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
93 </param>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
94 <when value="default"/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
95 <when value='specify'>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
96 <expand macro="overlap" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
97 <conditional name="reciprocal_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
98 <expand macro="reciprocal" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
99 <when value="-r"/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
100 <when value="">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
101 <expand macro="overlapB" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
102 <param name="disjoint" argument="-e" type="boolean" checked="false" truevalue="-e" falsevalue=""
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
103 label="Require that the fraction of overlap is fulfilled for A OR B." help="If enabled, then for -f 0.90 and -F 0.10 this requires that either 90% of A is covered OR 10% of B is covered, otherwise, both fractions would have to be satisfied."/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
104 </when>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
105 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
106 </when>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
107 </conditional>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
108 <!-- -v -->
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
109 <param name="invert" type="boolean" checked="false" truevalue="-v" falsevalue=""
20
df56e1b12d0c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 9f7b029951fa0f854c9c6a5f241ce9a20ae4f22a
iuc
parents: 13
diff changeset
110 label="Report only those alignments that **do not** overlap with file(s) B"
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
111 help="(-v)"/>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
112 <!-- -u -->
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
113 <param name="once" type="boolean" checked="false" truevalue="-u" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
114 label="Write the original A entry _once_ if _any_ overlaps found in B."
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
115 help="Just report the fact >=1 hit was found. (-u)" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
116 <!-- -c -->
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
117 <param name="count" type="boolean" checked="false" truevalue="-c" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
118 label="For each entry in A, report the number of overlaps with B."
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
119 help="Reports 0 for A entries that have no overlap with B. (-c)" />
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
120 <!-- -bed -->
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
121 <param argument="-bed" type="boolean" checked="false" truevalue="-bed" falsevalue=""
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
122 label="When using BAM input (-abam), write output as BED instead of BAM." />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
123 <!-- -sorted -g -->
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
124 <param argument="-sorted" type="boolean" checked="false" truevalue="-sorted" falsevalue=""
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
125 label="For coordinate sorted input file the more efficient sweeping algorithm is enabled." />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
126 <expand macro="print_header" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
127 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
128 <outputs>
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
129 <data format_source="inputA" name="output" metadata_source="inputA">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
130 <change_format>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
131 <when input="bed" value="-bed" format="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
132 </change_format>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
133 </data>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
134 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
135 <tests>
32
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
136 <!-- test adapted from the tutorial https://bedtools.readthedocs.io/en/latest/content/tools/intersect.html -->
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
137 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
138 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
139 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
140 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
141 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
142 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
143 <output name="output" file="intersect-default.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
144 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
145 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
146 <param name="inputA" value="intersect-query.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
147 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
148 <param name='reduce_or_iterate_selector' value="reduce" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
149 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
150 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
151 <output name="output" file="intersect-multiple.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
152 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
153 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
154 <param name="inputA" value="intersect-query.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
155 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
156 <param name='reduce_or_iterate_selector' value="reduce" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
157 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
158 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
159 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
160 <param name="sorted" value="-sorted" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
161 <output name="output" file="intersect-multiple-wa-wb.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
162 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
163 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
164 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
165 <param name="inputA" value="intersect-query.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
166 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
167 <param name='reduce_or_iterate_selector' value="reduce" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
168 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
169 <param name="names" value="yes" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
170 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
171 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
172 <param name="sorted" value="-sorted" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
173 <output name="output" file="intersect-multiple-wa-wb-wnames.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
174 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
175 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
176 <param name="inputA" value="intersect-query.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
177 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
178 <param name='reduce_or_iterate_selector' value="reduce" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
179 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
180 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
181 <param name="invert" value="-v" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
182 <param name="sorted" value="-sorted" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
183 <output name="output" file="intersect-multiple-invert.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
184 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
185 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
186 <param name="inputA" value="intersect-query.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
187 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
188 <param name='reduce_or_iterate_selector' value="reduce" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
189 <param name="inputB" value="intersect-d1.bed,intersect-d2.bed,intersect-d3.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
190 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
191 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
192 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
193 <param name='fraction_select' value='specify'/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
194 <param name="overlap" value="1.0" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
195 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
196 <param name="sorted" value="-sorted" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
197 <output name="output" file="intersect-multiple-fracA.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
198 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
199 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
200 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
201 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
202 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
203 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
204 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
205 <param name="overlap_mode" value="-wa" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
206 <output name="output" file="intersect-wa.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
207 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
208 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
209 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
210 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
211 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
212 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
213 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
214 <param name="overlap_mode" value="-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
215 <output name="output" file="intersect-wb.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
216 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
217 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
218 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
219 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
220 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
221 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
222 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
223 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
224 <output name="output" file="intersect-wa-wb.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
225 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
226 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
227 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
228 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
229 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
230 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
231 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
232 <param name="overlap_mode" value="-loj" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
233 <output name="output" file="intersect-loj.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
234 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
235 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
236 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
237 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
238 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
239 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
240 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
241 <param name="overlap_mode" value="-wo" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
242 <output name="output" file="intersect-wo.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
243 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
244 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
245 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
246 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
247 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
248 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
249 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
250 <param name="overlap_mode" value="-wao" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
251 <output name="output" file="intersect-wao.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
252 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
253 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
254 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
255 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
256 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
257 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
258 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
259 <param name="once" value="-u" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
260 <output name="output" file="intersect-unique.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
261 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
262 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
263 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
264 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
265 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
266 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
267 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
268 <param name="count" value="-c"/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
269 <output name="output" file="intersect-count.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
270 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
271 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
272 <param name="inputA" value="intersect-A.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
273 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
274 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
275 <param name="inputB" value="intersect-B.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
276 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
277 <param name="invert" value="-v"/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
278 <output name="output" file="intersect-invert.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
279 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
280 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
281 <param name="inputA" value="intersect-A2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
282 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
283 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
284 <param name="inputB" value="intersect-B2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
285 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
286 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
287 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
288 <param name='fraction_select' value='specify'/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
289 <param name="overlap" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
290 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
291 <output name="output" file="intersect-fracA.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
292 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
293 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
294 <param name="inputA" value="intersect-A2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
295 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
296 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
297 <param name="inputB" value="intersect-B2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
298 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
299 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
300 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
301 <param name='fraction_select' value='specify'/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
302 <param name="overlap" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
303 <conditional name="reciprocal_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
304 <param name="reciprocal" value="-r" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
305 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
306 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
307 <output name="output" file="intersect-fracA-rec.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
308 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
309 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
310 <param name="inputA" value="intersect-A2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
311 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
312 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
313 <param name="inputB" value="intersect-B2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
314 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
315 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
316 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
317 <param name='fraction_select' value='specify'/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
318 <param name="overlap" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
319 <conditional name="reciprocal_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
320 <param name="overlapB" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
321 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
322 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
323 <output name="output" file="intersect-fracA-rec.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
324 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
325 <test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
326 <param name="inputA" value="intersect-A2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
327 <conditional name="reduce_or_iterate">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
328 <param name='reduce_or_iterate_selector' value="iterate" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
329 <param name="inputB" value="intersect-B2.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
330 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
331 <param name="overlap_mode" value="-wa,-wb" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
332 <conditional name="fraction_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
333 <param name='fraction_select' value='specify'/>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
334 <param name="overlap" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
335 <conditional name="reciprocal_cond">
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
336 <param name="overlapB" value="0.5" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
337 <param name="disjoint" value="-e" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
338 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
339 </conditional>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
340 <output name="output" file="intersect-fracA.bed" ftype="bed" />
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
341 </test>
4f7a5ccd2ae9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents: 28
diff changeset
342 <!-- old tests -->
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
343 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
344 <param name="inputA" value="intersectBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
345 <param name="inputB" value="intersectBed2.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
346 <param name="overlap_mode" value="-wa" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
347 <param name="split" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
348 <output name="output" file="intersectBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
349 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
350 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
351 <param name="inputA" value="intersectBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
352 <param name="inputB" value="intersectBed2.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
353 <param name="overlap_mode" value="-wa,-wb" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
354 <param name="split" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
355 <output name="output" file="intersectBed_result2.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
356 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
357 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
358 <param name="inputA" value="intersectBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
359 <param name="inputB" value="intersectBed2.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
360 <param name="invert" value="True" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
361 <param name="split" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
362 <output name="output" file="intersectBed_result3.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
363 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
364 </tests>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
365 <help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
366 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
367 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
368
26
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 20
diff changeset
369 By far, the most common question asked of two sets of genomic features is whether or not any of the features in the two sets “overlap” with one another. This is known as feature intersection. bedtools intersect allows one to screen for overlaps between two sets of genomic features. Moreover, it allows one to have fine control as to how the intersections are reported. bedtools intersect works with both @STD_BEDTOOLS_INPUT_LABEL@ and BAM files as input.
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
370
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
371 .. image:: $PATH_TO_IMAGES/intersect-glyph.png
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
372
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
373 .. class:: infomark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
374
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
375 Note that each BAM alignment is treated individually. Therefore, if one end of a paired-end alignment overlaps an interval in the BED file, yet the other end does not, the output file will only include the overlapping end.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
376
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
377 .. class:: infomark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
378
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
379 Note that a BAM alignment will be sent to the output file **once** even if it overlaps more than one interval in the BED file.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
380
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
381 @REFERENCES@
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
382 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
383 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
384 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
385 </tool>