forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request galaxyproject#18630 from Delphine-L/blobtoolkit
Add BlobToolkit to the list of interactive tools
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<tool id="interactive_tool_blobtoolkit" tool_type="interactive" name="Interactive BlobToolKit" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> | ||
<description>genome assembly QC viewer</description> | ||
<macros> | ||
<token name="@TOOL_VERSION@">4.1.0</token> | ||
<token name="@VERSION_SUFFIX@">0</token> | ||
</macros> | ||
<requirements> | ||
<container type="docker">quay.io/galaxy/blobtoolkit-server:@TOOL_VERSION@</container> | ||
</requirements> | ||
<entry_points> | ||
<entry_point name="Blobtoolkit View" requires_domain="True"> | ||
<port>80</port> | ||
<url>view/all</url> | ||
</entry_point> | ||
</entry_points> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
## The following is a hack. Our embedded pulsar is not respecting the Galaxy jwd-tmp dir. | ||
export TEMP=\$PWD && | ||
export TMP=\$PWD && | ||
export TMPDIR=\$PWD && | ||
mkdir datasets && | ||
cd datasets && | ||
mkdir './Blobdir' && | ||
#if $blobdir: | ||
#if $blobdir.is_of_type("tgz") | ||
tar -zxf '${blobdir}' -C './Blobdir' && | ||
#else | ||
tar -xf '${blobdir}' -C './Blobdir' && | ||
#end if | ||
cd .. && | ||
export BTK_FILE_PATH=\$PWD/datasets && | ||
startup.sh | ||
#else: | ||
cd .. && | ||
startup.sh | ||
#end if | ||
]]></command> | ||
<inputs> | ||
<param name="blobdir" type="data" format="tgz,tar" optional="true" label="Blobdir file" help="This file should be generated by the module create. The collection of JSON files should be packed in the tarbal file without directory structure." /> | ||
</inputs> | ||
<outputs> | ||
<data name="Interactive BlobToolKit on data ${on_string}" format="txt"/> | ||
</outputs> | ||
<tests> | ||
</tests> | ||
<help><![CDATA[ | ||
BlobToolKit is a software suite to aid researchers in identifying and isolating non-target data in draft and publicly available genome assemblies. It can be used to process assembly, | ||
read and analysis files for fully reproducible interactive exploration in the browser-based Viewer. BlobToolKit can be used during assembly to filter non-target DNA, helping researchers produce assemblies with high biological credibility. | ||
]]></help> | ||
<citations> | ||
<citation type="doi">10.1534/g3.119.400908</citation> | ||
</citations> | ||
</tool> |