# HG changeset patch # User iuc # Date 1538053388 14400 # Node ID 04d5581db1f51bc30ceee0ae42705aaee1766aa2 # Parent 88b8c2916784edd480105d6f3a4f30b18a14df21 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_idxstats commit 70b38ebad0d0936f102e3e7cb70f1060347ea8c4 diff -r 88b8c2916784 -r 04d5581db1f5 macros.xml --- a/macros.xml Tue May 09 11:19:02 2017 -0400 +++ b/macros.xml Thu Sep 27 09:03:08 2018 -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 88b8c2916784 -r 04d5581db1f5 samtools_idxstats.xml --- a/samtools_idxstats.xml Tue May 09 11:19:02 2017 -0400 +++ b/samtools_idxstats.xml Thu Sep 27 09:03:08 2018 -0400 @@ -1,4 +1,4 @@ - + reports stats of the BAM index file macros.xml @@ -7,18 +7,23 @@ '${output}' + @PREPARE_IDX@ + samtools idxstats infile > '${output}' ]]> - + + + + + + + diff -r 88b8c2916784 -r 04d5581db1f5 test-data/test_input_1_a.bam Binary file test-data/test_input_1_a.bam has changed diff -r 88b8c2916784 -r 04d5581db1f5 test-data/test_input_1_a.bam.expected --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test_input_1_a.bam.expected Thu Sep 27 09:03:08 2018 -0400 @@ -0,0 +1,5 @@ +insert 599 2 0 +ref1 45 6 0 +ref2 40 6 0 +ref3 4 0 0 +* 0 0 1