Skip to content

error with metator host command  #18

@meltzj

Description

@meltzj

Hi there,

I'm trying to use the metator host command after running metator.
metator host --network=/path/to/network.txt --binning=/path/to/binning.txt --mges=/path/to/list_of_mges.txt --contig-data=/path/to/final/contig_data_final.txt

where network.txt, binning.txt and contig_data_final.txt are the output files after running metator pipeline.

This is the following error I get:
INFO ::

Traceback (most recent call last):
File "/srv/scratch/z5116142/miniconda3/envs/metator_1/bin/metator", line 8, in
sys.exit(main())
File "/srv/scratch/z5116142/miniconda3/envs/metator_1/lib/python3.10/site-packages/metator/main.py", line 63, in main
command.execute()
File "/srv/scratch/z5116142/miniconda3/envs/metator_1/lib/python3.10/site-packages/metator/commands.py", line 1454, in execute
mth.host_detection(
File "/srv/scratch/z5116142/miniconda3/envs/metator_1/lib/python3.10/site-packages/metator/host.py", line 280, in host_detection
count = sub.getBinScore()
File "/srv/scratch/z5116142/miniconda3/envs/metator_1/lib/python3.10/site-packages/metator/host.py", line 132, in getBinScore
if score >= self.threshold:
TypeError: '>=' not supported between instances of 'float' and 'str'

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions