Skip to content

Error in: xspect models train ncbi #33

@bheimbu

Description

@bheimbu

Hi @aromberg

I've been already in contact with @Dominik0304 about XspecT, and he pointed me to this updated version of the software. I want to train a model for Wolbachia, however it doesn't work:

$ xspect models train ncbi
Model genus: wolbachia
Training wolbachia species and genus metagenome model.
2025-09-22 21:19:21.799 | INFO     | xspect.train:train_from_ncbi:215 - Getting NCBI metadata...
2025-09-22 21:19:23.784 | DEBUG    | xspect.ncbi:get_accessions:247 - Could not get reference accessions for taxon with ID: 244203. Skipping.
2025-09-22 21:19:24.217 | DEBUG    | xspect.ncbi:get_accessions:247 - Could not get complete_genome accessions for taxon with ID: 244203. Skipping.
2025-09-22 21:19:24.610 | DEBUG    | xspect.ncbi:get_accessions:247 - Could not get chromosome accessions for taxon with ID: 244203. Skipping.
2025-09-22 21:19:25.031 | DEBUG    | xspect.ncbi:get_accessions:247 - Could not get scaffold accessions for taxon with ID: 244203. Skipping.
2025-09-22 21:19:25.432 | DEBUG    | xspect.ncbi:get_accessions:247 - Could not get contig accessions for taxon with ID: 244203. Skipping.
2025-09-22 21:19:25.433 | WARNING  | xspect.train:train_from_ncbi:237 - No assemblies found for tax_id 244203. Skipping.
2025-09-22 21:19:28.018 | WARNING  | xspect.train:train_from_ncbi:237 - No assemblies found for tax_id 2640676. Skipping.
2025-09-22 21:19:30.146 | WARNING  | xspect.train:train_from_ncbi:237 - No assemblies found for tax_id 955. Skipping.
Error: No species with accessions found. Please check the genus name.

I've also tried with Cardinium but I always get the same error that accessions could not be found. Other commands such as xspect models download work.

Any help is highly appreciated!

Cheers Bastian

Metadata

Metadata

Assignees

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