annotate tagBed.xml @ 6:75d323631dce draft

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