Hi,
i'm writing a galaxy wrapper for bismark and trim-galore. Both are plain
perl scripts, that wraps around other dependencies (e.g. Bowtie). The
idea was to include the perl-scripts directly in the galaxy-wrapper and
update the PATH to the REPOSITORY_INSTALL_DIR in the tool_dependency.xml
file.
----
<package name="bismark" version="0.7.7">
<install version="1.0">
<actions>
<action type="set_environment">
<environment_variable name="PATH"
action="prepend_to">$REPOSITORY_INSTALL_DIR</environment_variable>
</action>
</actions>
</install>
<readme>
bismark, bismark_genome_preparation and bismark_methylation_extractor
are shipped with that wrapper
</readme>
</package>
----
Unfortunately, that was not supported because the toolshed expected at
least one "action_type". The attached patch should add that feature.
Furthermore, bowtie2 is only available as zip archive and afaik that was
not handled in the toolshed. The attached patch also added
check_zipfile(), extract_zip() and zip_extraction_directory() to fully
support zip archives.
Thanks!
Bjoern