Mercurial > repos > iuc > bedtools
annotate clusterBed.xml @ 48:2f457890d8c8 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
| author | iuc |
|---|---|
| date | Tue, 11 Dec 2018 13:59:34 -0500 |
| parents | d279800f4ff9 |
| children | df28283b3778 |
| rev | line source |
|---|---|
|
48
2f457890d8c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fc3616bd1463afef9681cd7c431ac29f79e37e74
iuc
parents:
42
diff
changeset
|
1 <tool id="bedtools_clusterbed" name="bedtools ClusterBed" version="@WRAPPER_VERSION@"> |
|
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
8
diff
changeset
|
2 <description>cluster overlapping/nearby intervals</description> |
| 8 | 3 <macros> |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <expand macro="stdio" /> | |
| 8 <command> | |
| 9 <![CDATA[ | |
| 10 bedtools cluster | |
| 11 $strand | |
| 12 -d $distance | |
|
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
13 -i '$inputA' |
|
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
14 > '$output' |
| 8 | 15 ]]> |
| 16 </command> | |
| 17 <inputs> | |
|
42
d279800f4ff9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents:
26
diff
changeset
|
18 <param format="@STD_BEDTOOLS_INPUTS@" name="inputA" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> |
|
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
19 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Force strandedness." |
| 8 | 20 help="That is, only cluster features that are the same strand. By default, this is disabled." /> |
|
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
21 <param name="distance" type="integer" value="0" |
|
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
22 label="Maximum distance between features allowed for features to be clustered" |
| 8 | 23 help="Default is 0. That is, overlapping and/or book-ended features are clustered." /> |
| 24 </inputs> | |
| 25 <outputs> | |
| 26 <data format_source="inputA" name="output" metadata_source="inputA"/> | |
| 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> | |
| 34 <help> | |
| 35 <![CDATA[ | |
| 36 **What it does** | |
| 37 | |
| 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. | |
| 39 | |
| 40 .. image:: $PATH_TO_IMAGES/cluster-glyph.png | |
| 41 | |
| 42 .. class:: warningmark | |
| 43 | |
| 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). | |
| 45 | |
| 46 @REFERENCES@ | |
| 47 ]]> | |
| 48 </help> | |
| 49 <expand macro="citations" /> | |
| 50 </tool> |
