Skip to content

TypeError funannotate2 train Choosing best augustus species based on taxonomy #33

@termithorbor

Description

@termithorbor

Hi,

in the latest version I encounter the following error:

funannotate2 train -f white_koji_genome_clean_funannotate2.fasta -s "Aspergillus oryzae" -o anid_f2
[Nov 05 02:57 PM] Python v3.12.12; funannotate2 v25.11.1; gfftk v25.6.10; buscolite v25.4.24
[Nov 05 02:57 PM] Loading genome assembly and running QC checks
[Nov 05 02:57 PM] Genome stats:
{
"n_contigs": 26,
"size": 37002322,
"n50": 2237489,
"n90": 739949,
"l50": 6,
"l90": 14,
"avg_length": 1423166
}
[Nov 05 02:57 PM] Filtered genome for training: kept 26 contigs (37,002,322 bp), filtered 0 contigs (0 bp) shorter than 10,000 bp
[Nov 05 02:57 PM] Getting taxonomy information
{
"superkingdom": "Eukaryota",
"kingdom": "Fungi",
"phylum": "Ascomycota",
"class": "Eurotiomycetes",
"order": "Eurotiales",
"family": "Aspergillaceae",
"genus": "Aspergillus",
"species": "Aspergillus oryzae"
}
[Nov 05 02:57 PM] Choosing best augustus species based on taxonomy: aspergillus_oryzae
Traceback (most recent call last):
File "/home/miniconda3/envs/funannotate2/bin/funannotate2", line 7, in
sys.exit(main())
^^^^^^
File "/home/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/main.py", line 28, in main
train(args)
File "/home/miniconda3/envs/funannotate2/lib/python3.12/site-packages/funannotate2/train.py", line 149, in train
busco_model_path = os.path.join(
^^^^^^^^^^^^^
File "", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not bool

Any idea what the problem might be? Thanks in advance.

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