Skip to content

kmetashot works in conda not in docker #1753

@paulzierep

Description

@paulzierep

After a long time of digging, I realized this tool does not work in the current biocontainer.
This was tested on a 60 GB memory machine.
Conda test:
tool_test_output-conda.html
Container test:
tool_test_output.html

I tested the tool itself in the container:

docker run --rm -it \
  -v /vol/data/galaxytools/tools/kmetashot/test-data:/data:ro \
  quay.io/biocontainers/kmetashot:2.0--pyh7e72e81_1 \
  bash

root@069cd56dd454:/data# kMetaShot_classifier_NV.py \
-b bins \
-o output \
-r kMetaShot_reference.h5 \
-p 1 \
-a 0 

                           ################################################
                           #        kMetaShot Classifier Algorithm        #
                           #                  Version 2.0                 #
                           #               Defazio G. et al.              #
                           ################################################

[2026-01-14 09:35:05] Start Assignment
Namespace(bins_dir='bins', reference='kMetaShot_reference.h5', ass2ref=0.0, processes=1, out_dir='output')
The output/bins already exists
[2026-01-14 09:35:07] Reference loading ...
Bus error (core dumped)
root@069cd56dd454:/data# /usr/local/lib/python3.13/multiprocessing/resource_tracker.py:324: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown: {'/psm_05a2fcac'}
  warnings.warn(

In the conda env it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions