comparison tagBed.xml @ 6:75d323631dce draft

Uploaded
author bernhardlutz
date Wed, 18 Jun 2014 12:40:28 -0400
parents
children 893617de95e5
comparison
equal deleted inserted replaced
5:b78d20957e7f 6:75d323631dce
1 <tool id="bedtools_tagbed" name="TagBed" version="0.2.0">
2 <description></description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="stdio" />
8 <command>
9 bedtools tag
10 -i $inputA
11 -files
12 #for $bed in beds:
13 $bed.input
14 #end for
15 -f $overlap
16 $strand
17 -tag $tag
18 $field
19 &gt; $output
20 </command>
21 <inputs>
22 <param format="bam" name="inputA" type="data" label="BAM file"/>
23
24 <repeat name="beds" title="Add files" >
25 <param name="input" format="bed,gff,vcf" type="data" label="BED/VCF/GFF file" />
26 </repeat>
27 <expand macro="strand2" />
28 <expand macro="overlap" />
29
30 <param name="tag" type="text" value="YB" label="Dictate what the tag should be." />
31 <param name="field" type="select" label="Use which field from the annotation files to populate tags?">
32 <option value="-labels" selected="True">labels</option>
33 <option value="-scores">Scores</option>
34 <option value="-names">Names</option>
35 <option value="-labels -intervals">Intervals</option>
36 </param>
37 </inputs>
38 </inputs>
39
40 <outputs>
41 <data format="bed" name="output" label="" />
42 </outputs>
43 <help>
44
45 **What it does**
46
47 Annotates a BAM file based on overlaps with multiple BED/GFF/VCF files on the intervals in an input bam file
48
49 @REFERENCES@
50
51 </help>
52 </tool>