annotate tagBed.xml @ 4:607c0576c6ab draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
author iuc
date Wed, 27 Jan 2016 15:15:59 -0500
parents 82aac94b06c3
children 95a3b2c25bd1
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_tagbed" name="TagBed" version="@WRAPPER_VERSION@.0">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
2 <description>tag BAM alignments based on overlaps with interval files</description>
0
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>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
9 <![CDATA[
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
10 #set files = '" "'.join( [ str( $file ) for $file in $inputB ] )
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 bedtools tag
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
12 -i "${inputA}"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
13 -files "${files}"
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 -f $overlap
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 $strand
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
16 -tag "${tag}"
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 $field
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
18 > "${output}"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
19 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <inputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
22 <param name="inputA" format="bam" type="data" label="BAM file"/>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
23 <param name="inputB" format="bed,gff,vcf" multiple="True" type="data" label="BED/VCF/GFF file" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <expand macro="strand2" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 <expand macro="overlap" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
26 <param name="tag" type="text" value="YB" label="Specify the tag to use" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
27 <param name="field" type="select" label="Field from the annotation files to populate tags?">
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
28 <option value="-labels" selected="True">Labels</option>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <option value="-scores">Scores</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 <option value="-names">Names</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31 <option value="-labels -intervals">Intervals</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 <outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 <data format="bam" name="output"/>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
37 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
38 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
39 <param name="inputA" value="srma_in3.bam" ftype="bam" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
40 <param name="inputB" value="tagBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
41 <param name="field" value="-names" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
42 <output name="output" file="tagBed_result1.bam" ftype="bam" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
43 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
44 </tests>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 <help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
46 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
49 Annotates a BAM file based on overlaps with multiple BED/GFF/VCF files on the intervals in an input bam file
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
50
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 @REFERENCES@
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
52 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
53 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
54 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
55 </tool>