comparison clusterBed.xml @ 1:82aac94b06c3 draft

Uploaded
author iuc
date Thu, 08 Jan 2015 14:25:51 -0500
parents b8348686a0b9
children 607c0576c6ab
comparison
equal deleted inserted replaced
0:b8348686a0b9 1:82aac94b06c3
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <expand macro="stdio" /> 7 <expand macro="stdio" />
8 <command> 8 <command>
9 <![CDATA[
9 bedtools cluster 10 bedtools cluster
10 $strand 11 $strand
11 -d $distance 12 -d $distance
12 -i $inputA 13 -i $inputA
13 &gt; $output 14 > $output
15 ]]>
14 </command> 16 </command>
15 <inputs> 17 <inputs>
16 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/> 18 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
17 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Force strandedness." 19 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Force strandedness."
18 help="That is, only cluster features that are the same strand. By default, this is disabled." /> 20 help="That is, only cluster features that are the same strand. By default, this is disabled." />
19 <param name="distance" type="integer" value="0" 21 <param name="distance" type="integer" value="0"
20 label="Maximum distance between features allowed for features to be clustered" 22 label="Maximum distance between features allowed for features to be clustered"
21 help="Default is 0. That is, overlapping and/or book-ended features are clustered." /> 23 help="Default is 0. That is, overlapping and/or book-ended features are clustered." />
22 </inputs> 24 </inputs>
23 <outputs> 25 <outputs>
24 <data format_source="inputA" name="output" metadata_source="inputA" label=""/> 26 <data format_source="inputA" name="output" metadata_source="inputA"/>
25 </outputs> 27 </outputs>
28 <tests>
29 <test>
30 <param name="inputA" value="mergedBed1.bed" ftype="bed" />
31 <output name="output" file="clusterBed_result.bed" ftype="bed" />
32 </test>
33 </tests>
26 <help> 34 <help>
27 35 <![CDATA[
28 **What it does** 36 **What it does**
29 37
30 Similar to merge, cluster report each set of overlapping or “book-ended” features in an interval file. In contrast to merge, cluster does not flatten the cluster of intervals into a new meta-interval; instead, it assigns an unique cluster ID to each record in each cluster. This is useful for having fine control over how sets of overlapping intervals in a single interval file are combined. 38 Similar to merge, cluster report each set of overlapping or “book-ended” features in an interval file. In contrast to merge, cluster does not flatten the cluster of intervals into a new meta-interval; instead, it assigns an unique cluster ID to each record in each cluster. This is useful for having fine control over how sets of overlapping intervals in a single interval file are combined.
31 39
32 .. image:: $PATH_TO_IMAGES/cluster-glyph.png 40 .. image:: $PATH_TO_IMAGES/cluster-glyph.png
34 .. class:: warningmark 42 .. class:: warningmark
35 43
36 bedtools cluster requires that you presort your data by chromosome and then by start position (e.g., sort -k1,1 -k2,2n in.bed > in.sorted.bed for BED files). 44 bedtools cluster requires that you presort your data by chromosome and then by start position (e.g., sort -k1,1 -k2,2n in.bed > in.sorted.bed for BED files).
37 45
38 @REFERENCES@ 46 @REFERENCES@
47 ]]>
39 </help> 48 </help>
40 <expand macro="citations" /> 49 <expand macro="citations" />
41 </tool> 50 </tool>