# HG changeset patch
# User iuc
# Date 1639929406 0
# Node ID 8c440c3002bc868419d6e2fbaee0e3ff625381e5
# Parent d0a568e1904b44d71e2fe197abfad209e6f1d189
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_markdup commit 1354b1358df89a922c3243f7e27ce789094b8644"
diff -r d0a568e1904b -r 8c440c3002bc macros.xml
--- a/macros.xml Tue Sep 28 16:14:29 2021 +0000
+++ b/macros.xml Sun Dec 19 15:56:46 2021 +0000
@@ -50,23 +50,56 @@
#end for
]]>
&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
]]>
diff -r d0a568e1904b -r 8c440c3002bc samtools_markdup.xml
--- a/samtools_markdup.xml Tue Sep 28 16:14:29 2021 +0000
+++ b/samtools_markdup.xml Sun Dec 19 15:56:46 2021 +0000
@@ -137,13 +137,13 @@
-
+
-
+