metagenome-atlas / atlas

ATLAS - Three commands to start analyzing your metagenome data
https://metagenome-atlas.github.io/
BSD 3-Clause "New" or "Revised" License
376 stars 98 forks source link

Fixed error in rule combine_egg_nogg_annotations: #661

Closed mladen5000 closed 1 year ago

mladen5000 commented 1 year ago

RuleException: ArrowTypeError in file /projects/com_perkinsd/mrasic2/myatlas/atlas/atlas/workflow/rules/genecatalog.smk, line 541: ("Expected bytes, got a 'float' object", 'Conversion failed for column Seed_Score with type object')

This occured with column 'Seed_evalue' and 'Seed_Score'. I was able to fix it by a simple .astype.

SilasK commented 1 year ago

Great! Could you tell me with eggnog version you have? Also see #656

mladen5000 commented 1 year ago

I believe I have the same version as the master branch.

eggnog.yaml

channels:
    - conda-forge
    - bioconda
    - defaults
dependencies:
    - eggnog-mapper =2.1
    - diamond = 2.0.6
    - wget # to download_eggnog_data on macOS