Mercurial > repos > devteam > samtools_reheader
annotate samtools_reheader.xml @ 8:4a1733940291 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 9c5a35ce695c3d134e41d8695487edd5f71ea33c
author | iuc |
---|---|
date | Sun, 08 Sep 2024 03:23:06 +0000 |
parents | 71db7f3a33b9 |
children |
rev | line source |
---|---|
8
4a1733940291
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 9c5a35ce695c3d134e41d8695487edd5f71ea33c
iuc
parents:
7
diff
changeset
|
1 <tool id="samtools_reheader" name="Samtools reheader" version="2.0.3" profile="@PROFILE@"> |
2
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> |
4
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
4 <import>macros.xml</import> |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
5 </macros> |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
6 <expand macro="requirements"/> |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
7 <expand macro="stdio"/> |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
8 <expand macro="version_command"/> |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
9 <command><![CDATA[ |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
10 samtools reheader |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
11 '${input_header}' |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
12 '${input_file}' |
6
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
13 ${no_pg} |
4
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
14 > '${output}' |
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
15 ]]></command> |
0 | 16 <inputs> |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
17 <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
|
18 <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."/> |
6
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
19 <param argument="--no-PG" name="no_pg" type="boolean" truevalue="--no-PG" falsevalue="" |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
20 label="Keep the new header unmodified?" |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
21 help="By default, samtools reheader will add itself to the chain of tools used to manipulate the target dataset, which will cause one or more @PG records to be inserted into the new header. If you want the output dataset to end up with the header of the source dataset exactly, you should activate this option." /> |
0 | 22 </inputs> |
23 <outputs> | |
24 <data format="bam" name="output" label="${tool.name} on ${on_string}" /> | |
25 </outputs> | |
26 <tests> | |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
27 <test> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
28 <param name="input_header" ftype="bam" value="reheader_input_header.bam"/> |
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
29 <param name="input_file" ftype="bam" value="reheader_input_file.bam"/> |
4
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
30 <output name="output" ftype="bam" file="reheader_out.bam" lines_diff="1"/><!-- samtools adds reheader line --> |
2
77a6694ebf7a
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
31 </test> |
6
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
32 <test> |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
33 <param name="input_header" ftype="bam" value="reheader_input_header.bam"/> |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
34 <param name="input_file" ftype="bam" value="reheader_input_file.bam"/> |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
35 <param name="no_pg" value="true"/> |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
36 <output name="output" ftype="bam" file="reheader_out.bam" /> |
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
37 </test> |
0 | 38 </tests> |
39 <help> | |
40 **What it does** | |
41 | |
6
747cd1b9ae98
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9"
iuc
parents:
4
diff
changeset
|
42 Generates a new BAM dataset with the contents of *target* dataset, but the header of *source* dataset using the ``samtools reheader`` command. |
0 | 43 </help> |
4
0b97d4e945ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
2
diff
changeset
|
44 <expand macro="citations"/> |
0 | 45 </tool> |