This is a test version of Biostars. For the public version, visit https://www.biostars.org.
kover : UnboundLocalError: local variable 'genome_ids' referenced before assignment

Good afternoon,

To get the input of kover, I write this command

kover dataset create from-contigs --genomic-data ../../genome_paths_Amikacin.tsv --output ../../genome_pathMtb_output

and it tells me this:

UnboundLocalError: local variable 'genome_ids' referenced before assignment

Is there any explanation explaining why it tells me that the variable is referenced before assignment?

Thank you very much in advance

Best regards,

kover

1 answer

Hi Rania,

We resolved this via email, but I'm posting some info here in case someone else encounters the same issue.

Here are a few comments about the command line that was used:

and the conclusion was that the issue occurred since no phenotype metadata (labels) was provided.

Hi Alexandre,

Thank you very much :) (Sorry for the late) Yes exactly, I did not provide metadata labels

Thank you for all your rapid highlightings!

Best, Rania

Log in to answer this question.