Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required. #190

Open
Dr-bioinfo opened this issue May 16, 2023 · 6 comments

Comments

@Dr-bioinfo
Copy link

I'm getting this issue while running the chimeric and quantification arguments for metagenome mode

ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required.

@SaberHQ
Copy link
Member

SaberHQ commented May 16, 2023

Would you please provide more information regarding your experiment? What parameters you are using? Are you training a new model or using pre-trained models?

My best guess based on the error is that it looks like there is no reference genome selected or it couldn't read your file.

@Dr-bioinfo
Copy link
Author

Dr-bioinfo commented May 17, 2023

Hello ,
I am working with the pre-trained models and encountering an error while using the -c and -q parameters in characterization stage . I have provided the genome list containing ref genome in tsv format

@Dr-bioinfo
Copy link
Author

Also, I am encountering one more issue while using your tool, specifically the latest release, NanoSim 3.1.0. I have observed that it hangs during the simulation stage and does not complete its work. Despite allowing ample time for execution, the tool does not provide any output or progress indication.

@SaberHQ
Copy link
Member

SaberHQ commented May 17, 2023

Also, I am encountering one more issue while using your tool, specifically the latest release, NanoSim 3.1.0. I have observed that it hangs during the simulation stage and does not complete its work. Despite allowing ample time for execution, the tool does not provide any output or progress indication.

This might be related to the issue reported here: #184
Pull request #189 should fix that. It is now merged into the master branch. Make sure to use the latest committed version and see if it solves the issue.

@Dr-bioinfo
Copy link
Author

Dr-bioinfo commented May 17, 2023

Yeah!! I tried with improved code too. But the issue still exists

@kmnip
Copy link
Collaborator

kmnip commented May 30, 2023

ValueError: Found array with 0 sample(s) (shape=(0, 1)) while a minimum of 1 is required.

Can you please report your exact command and your TSV file for --genome_list?

Also, I am encountering one more issue while using your tool, specifically the latest release, NanoSim 3.1.0. I have observed that it hangs during the simulation stage and does not complete its work. Despite allowing ample time for execution, the tool does not provide any output or progress indication.

How did you run the updated code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants