annotate annotateBed.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children 82aac94b06c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="bedtools_annotatebed" name="AnnotateBed" version="@WRAPPER_VERSION@.0">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
2 <description></description>
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>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="stdio" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
9 bedtools annotate
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
10 -i $inputA
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 -files
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
12 #for $bed in $names.beds:
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 $bed.input
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 #end for
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 #if $names.names_select == 'yes':
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 -names
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 #for $bed in $names.beds:
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 $bed.inputName
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 #end for
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 #end if
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22 $strand
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 $counts
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 $both
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 &gt; $output
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27 <inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
28 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <!-- Additional files, if the user needs more -->
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 <conditional name="names">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31 <param name="names_select" type="select" label="Specify names for each file">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 <option value="no" selected="True">No</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33 <option value="yes">Yes</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
35 <when value="yes">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36 <repeat name="beds" title="Add BED files and names" >
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37 <param name="input" format="bed" type="data" label="BED file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 <param name="inputName" type="text" label="Name of the file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39 </repeat>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 </when>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41 <when value="no">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42 <repeat name="beds" title="Add BED files" >
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43 <param name="input" format="bed" type="data" label="BED file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44 </repeat>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 </when>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 </conditional>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48 <expand macro="strand2" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
49 <param name="counts" type="boolean" checked="false" truevalue="-counts" falsevalue="" label="Report the count of features followed by the % coverage for each annotation file. Default is to report solely the fraction of -i covered by each file." />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
50 <param name="both" type="boolean" checked="false" truevalue="-both" falsevalue="" label="Report the count of features followed by the % coverage for each annotation file. Default is to report solely the fraction of the input file covered by each file." />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
52
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
53 <outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
54 <data format="bed" name="output" label="" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
55 </outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
56 <help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
57
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
58 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
59
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
60 bedtools annotate, well, annotates one BED/VCF/GFF file with the coverage and number of overlaps observed from multiple other BED/VCF/GFF files. In this way, it allows one to ask to what degree one feature coincides with multiple other feature types with a single command.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
61
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
62 @REFERENCES@
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
63
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
64 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
65 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
66 </tool>