Mercurial > repos > devteam > samtools_reheader
annotate samtools_reheader.xml @ 2:77a6694ebf7a draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author | devteam |
---|---|
date | Tue, 13 Oct 2015 12:55:18 -0400 |
parents | c50efc142ad0 |
children | 0b97d4e945ab |
rev | line source |
---|---|
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
1 <tool id="samtools_reheader" name="Reheader" version="2.0"> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
2 <description>copy SAM/BAM header between datasets</description> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
3 <macros> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
4 <import>macros.xml</import> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
5 </macros> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
6 <expand macro="requirements"></expand> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
7 <expand macro="stdio"></expand> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
8 <expand macro="version_command"></expand> |
0 | 9 <command><![CDATA[samtools reheader "${input_header}" "${input_file}" > "${output}"]]></command> |
10 <inputs> | |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
11 <param name="input_header" type="data" format="sam,bam" label="Select source dataset" help="Header from this dataset will be used to replace header in the target dataset. May be either SAM or BAM dataset."/> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
12 <param name="input_file" type="data" format="bam" label="Select target dataset" help="Header from the source dataset will be inserted here. Should be a BAM dataset."/> |
0 | 13 </inputs> |
14 <outputs> | |
15 <data format="bam" name="output" label="${tool.name} on ${on_string}" /> | |
16 </outputs> | |
17 <tests> | |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
18 <test> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
19 <param name="input_header" ftype="bam" value="reheader_input_header.bam"/> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
20 <param name="input_file" ftype="bam" value="reheader_input_file.bam"/> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
21 <output name="output" ftype="bam" file="reheader_out.bam"/> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
22 </test> |
0 | 23 </tests> |
24 <help> | |
25 **What it does** | |
26 | |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
27 Copies header from *source* dataset into *target* dataset using ``samtools reheader`` command. |
0 | 28 |
29 </help> | |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
30 <expand macro="citations"></expand> |
0 | 31 </tool> |
32 |