annotate samtools_reheader.xml @ 0:c50efc142ad0 draft

Uploaded initial tool definition.
author devteam
date Fri, 17 Oct 2014 14:03:47 -0400
parents
children 77a6694ebf7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
1 <tool id="samtools_reheader" name="Replace header" version="1.0.0">
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
2 <description>on a BAM or SAM file</description>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
3 <requirements>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
4 <requirement type="package" version="1.1">samtools</requirement>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
5 </requirements>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
6 <version_command>samtools --version | head -n 1 | awk '{ print $2 }'</version_command>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
7 <command><![CDATA[samtools reheader "${input_header}" "${input_file}" > "${output}"]]></command>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
8 <stdio>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
9 <exit_code range="1:" level="fatal" description="Error" />
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
10 </stdio>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
11 <inputs>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
12 <param name="input_header" type="data" format="sam" label="SAM file or header" />
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
13 <param name="input_file" type="data" format="sam,bam" label="File to reheader" />
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
14 </inputs>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
15 <outputs>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
16 <data format="bam" name="output" label="${tool.name} on ${on_string}" />
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
17 </outputs>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
18 <tests>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
19 </tests>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
20 <help>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
21 **What it does**
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
22
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
23 This tool runs the ``samtools reheader`` command in the SAMtools toolkit.
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
24
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
25 Replace the header for a SAM or BAM file with a different header.
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
26
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
27 **Citation**
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
28
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
29 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;`_
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
30
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
31
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
32 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
33 </help>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
34 </tool>
c50efc142ad0 Uploaded initial tool definition.
devteam
parents:
diff changeset
35