# HG changeset patch # User iuc # Date 1593681902 14400 # Node ID 30388d878f817aa95c14c6ef5d2de8a35568ebea # Parent db000c6007a0199ce80580f4a6241d97fed6dbfa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_reheader commit f667915d861dbf0a25cc8fd132cc956d82e73ee9" diff -r db000c6007a0 -r 30388d878f81 macros.xml --- a/macros.xml Tue May 09 11:18:23 2017 -0400 +++ b/macros.xml Thu Jul 02 05:25:02 2020 -0400 @@ -1,11 +1,131 @@ - samtools + samtools - 1.3.1 + 1.9 + #set $flags = sum(map(int, str($filter).split(','))) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ^[^\s'\":]+(:\d+(-\d+){0,1}){0,1}$ + + + + + + + + + @@ -49,21 +169,4 @@ - ------ - -.. class:: warningmark - -**No options available? How to re-detect metadata** - -If you see a "No options available" within the "**Select references (chromosomes and contigs) you would like to restrict bam to**" drop down, you need to re-detect metadata for the dataset you are trying to process. To do this follow these steps: - -1. Click on the **pencil** icon adjacent to the dataset in the history -2. A new menu will appear in the center pane of the interface -3. Click **Datatype** tab -4. Set **New Type** to **BAM** -5. Click **Save** - -The medatada will be re-detected and you will be able to see the list of reference sequences in the "**Select references (chromosomes and contigs) you would like to restrict bam to**" drop-down. - diff -r db000c6007a0 -r 30388d878f81 samtools_reheader.xml --- a/samtools_reheader.xml Tue May 09 11:18:23 2017 -0400 +++ b/samtools_reheader.xml Thu Jul 02 05:25:02 2020 -0400 @@ -1,4 +1,4 @@ - + copy SAM/BAM header between datasets macros.xml @@ -10,11 +10,15 @@ samtools reheader '${input_header}' '${input_file}' + ${no_pg} > '${output}' ]]> + @@ -25,11 +29,17 @@ + + + + + + **What it does** -Copies header from *source* dataset into *target* dataset using ``samtools reheader`` command. +Generates a new BAM dataset with the contents of *target* dataset, but the header of *source* dataset using the ``samtools reheader`` command.