# HG changeset patch # User iuc # Date 1660554512 0 # Node ID ad06afad0c449cfaa59f462f7d72749bb675189e # Parent 6bb273ed8785fefb2ec4afcebf8e765a52851ae4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit 5cb103832529f17e5c72e7f122758c13519fbe5e diff -r 6bb273ed8785 -r ad06afad0c44 macros.xml --- a/macros.xml Tue Sep 28 15:59:58 2021 +0000 +++ b/macros.xml Mon Aug 15 09:08:32 2022 +0000 @@ -5,7 +5,7 @@ - 1.13 + 1.15.1 20.05 &2 && + gzip -dc \$reffa > reference.fa && + reffa="reference.fa" && + samtools faidx \$reffa; + } + } && + #end if + reffai=\$reffa.fai && #elif $addref_cond.addref_select == "cached": - #set reffa=str($addref_cond.ref.fields.path) - #set reffai=str($addref_cond.ref.fields.path)+".fai" + ## in case of cached the absolute path is used which allows to read + ## a cram file without specifying the reference + reffa='${addref_cond.ref.fields.path}' && + reffai=\$reffa.fai && #else - #set reffa=None - #set reffai=None + #set use_ref=False #end if ]]> - + @HELP@ diff -r 6bb273ed8785 -r ad06afad0c44 samtools_depth.xml --- a/samtools_depth.xml Tue Sep 28 15:59:58 2021 +0000 +++ b/samtools_depth.xml Mon Aug 15 09:08:32 2022 +0000 @@ -1,4 +1,4 @@ - + compute the depth at each position or region macros.xml