annotate samtools_slice_bam.xml @ 1:74a8d2d60258 draft

Uploaded tool and dependency definitions that specify samtools version 0.1.19.
author devteam
date Thu, 27 Mar 2014 15:28:06 -0400
parents 68ba55e96489
children 2b474ebbfc7d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
74a8d2d60258 Uploaded tool and dependency definitions that specify samtools version 0.1.19.
devteam
parents: 0
diff changeset
1 <tool id="samtools_slice_bam" name="Slice BAM" version="0.0.2">
0
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description>by provided regions</description>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
3 <requirements>
1
74a8d2d60258 Uploaded tool and dependency definitions that specify samtools version 0.1.19.
devteam
parents: 0
diff changeset
4 <requirement type="package" version="0.1.19">samtools</requirement>
0
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
5 </requirements>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
6 <command interpreter="python">samtools_slice_bam.py
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
7 "${input_bam}"
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
8 "${input_bam.metadata.bam_index}"
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
9 "${input_interval}"
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
10 "${output_bam}"
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
11 </command>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
12 <inputs>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
13 <param name="input_bam" type="data" format="bam" label="BAM file" />
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
14 <param name="input_interval" type="data" format="bed" label="BED file" />
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
15 </inputs>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
16 <outputs>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
17 <data format="bam" name="output_bam"/>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
18 </outputs>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
19 <tests>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
20 <test>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
21 <param name="input_bam" value="gatk/fake_phiX_reads_1.bam" ftype="bam" />
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
22 <param name="input_interval" value="gatk/fake_phiX_variant_locations.bed" ftype="bed" />
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
23 <output name="output_bam" file="gatk/fake_phiX_reads_1.bam" ftype="bam" />
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
24 </test>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
25 </tests>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
26 <help>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
27 **What it does**
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
28
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
29 Accepts an input BAM file and an input BED file and creates an output BAM file containing only those alignments that overlap the provided BED intervals.
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
30
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
31 ------
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
32
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
33 **Citation**
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
34
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
35 For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. &lt;http://www.ncbi.nlm.nih.gov/pubmed/19505943&gt;`_
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
36
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
37 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
38
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
39 </help>
68ba55e96489 Uploaded tool tarball.
devteam
parents:
diff changeset
40 </tool>