# HG changeset patch
# User iuc
# Date 1660554967 0
# Node ID 56faa6a57e50e4b62102bdcaa6ea2a83e714c65f
# Parent 2ee8dc1aeda9bf98ba4b12395c7028390857eb04
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit 5cb103832529f17e5c72e7f122758c13519fbe5e
diff -r 2ee8dc1aeda9 -r 56faa6a57e50 macros.xml
--- a/macros.xml Tue Sep 28 16:12:22 2021 +0000
+++ b/macros.xml Mon Aug 15 09:16:07 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 2ee8dc1aeda9 -r 56faa6a57e50 samtools_depth.xml
--- a/samtools_depth.xml Tue Sep 28 16:12:22 2021 +0000
+++ b/samtools_depth.xml Mon Aug 15 09:16:07 2022 +0000
@@ -1,4 +1,4 @@
-
+
compute the depth at each position or region
macros.xml