|
0
|
1 <tool id="reheader" name="Reheader BAM file">
|
|
|
2 <description>From a BAM file generate a new file with the original header (if any) replaced by that found in a second SAM file</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="3.4.1">python3</requirement>
|
|
|
5 <requirement type="package" version="0.1.3_9af04e0e9125">MiModD</requirement>
|
|
|
6 </requirements>
|
|
|
7 <command>
|
|
|
8 mimodd reheader $template $input -o $output --verbose
|
|
|
9 </command>
|
|
|
10
|
|
|
11 <inputs>
|
|
|
12 <param name="input" type="data" format="bam" label="Input file in BAM format" help="The file to reheader." />
|
|
|
13 <param name="template" type="data" format="sam" label="Header template file in SAM format" help="Use the header information of this file" />
|
|
|
14 </inputs>
|
|
|
15
|
|
|
16 <outputs>
|
|
|
17 <data name="output" format="bam" label="(Re)headered bam file from MiModd ${tool.name} on ${on_string}">
|
|
|
18 </data>
|
|
|
19 </outputs>
|
|
|
20
|
|
|
21 <help>
|
|
|
22 .. class:: infomark
|
|
|
23
|
|
|
24 **What it does**
|
|
|
25
|
|
|
26 The tool replaces the header of the input BAM file (i.e., its metadata) with that found in the template SAM file and writes the result to a new BAM file.
|
|
|
27
|
|
|
28 Typically, you will generate the header template file with the *NGS Run Annotation* tool, but any SAM file with header information can be used instead.
|
|
|
29
|
|
|
30 </help>
|
|
|
31
|
|
|
32 </tool>
|
|
|
33
|