annotate pairedbamtobed.xml @ 0:c6efe5d78140 draft default tip

Uploaded first version
author brenninc
date Tue, 10 May 2016 12:43:27 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
1 <tool id="pairedbamtobed12" name="Paired bam to bed12" version="0.1">
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
2 <description>Paired Bam to Bed. With samtools sorting by name beforehand and back to required order for galaxy afterwards.</description>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
3 <requirements>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
4 <requirement type="package" version="1.0">pairedbamtobed12</requirement>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
5 <requirement type="package" version="1.2">samtools</requirement>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
6 </requirements>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
7 <stdio>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
8 <exit_code range="1:" level="fatal" description="Error" />
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
9 </stdio>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
10 <command>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
11 <![CDATA[
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
12 samtools sort -n -O bam -T by_name -o sorted_by_name.bam "${input}" ;
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
13 pairedBamToBed12 -i sorted_by_name.bam > "${output}"
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
14 ]]>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
15 </command>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
16 <inputs>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
17 <param name="input" format="bam" label="Select BAM dataset to convert to bed" type="data" />
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
18 </inputs>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
19 <outputs>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
20 <data format="bed" name="output" label="Bed12 version of ${on_string}" />
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
21 </outputs>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
22 <tests>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
23 <!-- test data too large for toolshed
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
24 See: https://github.com/Christian-B/galaxy_shedtools/tree/master/pairedBamToBed12 -->
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
25 <!--test>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
26 <param ftype="bam" name="input" value="filtered.bam" />
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
27 <output file="paired.bed" ftype="bed" name="output" />
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
28 </test-->
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
29 </tests>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
30 <help>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
31 <![CDATA[
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
32 This tools runs pairedbamtobed12 to convert a paired bam file to a bed file.
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
33
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
34 As pairedbamtobed12 requires a bam file sorted by name, while galaxy only allows ones sorted by alignment this tool first uses Samtools to reorder the bam file.
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
35
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
36
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
37 ]]>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
38 </help>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
39 <citations>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
40 <citation type="bibtex">
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
41 @misc{
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
42 pairedBamToBed12,
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
43 author = {Nicolas Bertin, Mickaƫl Mendez, Charles Plessy},
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
44 title = {pairedBamToBed12 on GitHub},
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
45 url = {https://github.com/Population-Transcriptomics/pairedBamToBed12}
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
46 }
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
47 </citation>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
48 </citations>
c6efe5d78140 Uploaded first version
brenninc
parents:
diff changeset
49 </tool>