Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BlobToolkit to the list of interactive tools #18630

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/galaxy/config/sample/tool_conf.xml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
<section id="interactivetools" name="Interactive tools">
<tool file="interactive/interactivetool_askomics.xml" />
<tool file="interactive/interactivetool_bam_iobio.xml" />
<tool file="interactive/interactivetool_blobtoolkit.xml" />
<tool file="interactive/interactivetool_cellxgene_0.16.2.xml" />
<tool file="interactive/interactivetool_cellxgene_1.1.1.xml" />
<tool file="interactive/interactivetool_ethercalc.xml" />
Expand Down
53 changes: 53 additions & 0 deletions tools/interactive/interactivetool_blobtoolkit.xml
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@">1</token>
Delphine-L marked this conversation as resolved.
Show resolved Hide resolved
</macros>
<requirements>
<container type="docker">quay.io/galaxy/blobtoolkit-server:4.1.0</container>
Delphine-L marked this conversation as resolved.
Show resolved Hide resolved
</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 &&
Comment on lines +17 to +20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this some old copy and paste ? If there is a problem with embeded pulsar and the temp dir handling issue should be opened.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bgruening @kysrpex do you know where this originated from, is this still needed ?

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>
Loading