Skip to content

Failure downloading certain busco lineages #30

@edwhisnant

Description

@edwhisnant

I am running into an issue with busco recognizing and downloading certain lineages during the training module. The two I have come across are 'aspergillaceae' and 'thelebolales'. When I run A. nidulans or A. niger, there is no issue -- as the lineage is for 'aspergillus'.
Here is an example of the error:

Genome: Pseudogymnoascus_verrucosus (GCA_001662655.1) (Thelobolales; Leotiomycetes)):

Choosing best busco species based on taxonomy: thelebolales�[0m
Traceback (most recent call last):
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/bin/funannotate2", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/__main__.py", line 28, in main
    train(args)
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/train.py", line 148, in train
    busco_url = download_urls["busco"][busco_species][0]
                ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'thelebolales'

Monascus_ruber (GCA_002976275.1) (Aspergillaceae):

Choosing best busco species based on taxonomy: aspergillaceae�[0m
Traceback (most recent call last):
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/bin/funannotate2", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/__main__.py", line 28, in main
    train(args)
  File "/hpc/group/bio1/ewhisnant/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/train.py", line 148, in train
    busco_url = download_urls["busco"][busco_species][0]
                ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'aspergillaceae'

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