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

error with metator host command #18

Open
meltzj opened this issue Dec 18, 2024 · 0 comments
Open

error with metator host command #18

meltzj opened this issue Dec 18, 2024 · 0 comments

Comments

@meltzj
Copy link

meltzj commented Dec 18, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant