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

Binning error - Perplexity is too large #61

Open
liorzalayet opened this issue Dec 13, 2022 · 1 comment
Open

Binning error - Perplexity is too large #61

liorzalayet opened this issue Dec 13, 2022 · 1 comment

Comments

@liorzalayet
Copy link

Hi,
I managed to go through all the tutorial with the provided commands and data.
Now I'm trying to run the binning function on the Ecoli data that appeared in the earlier steps of the tutorial, however I ran across the following error:

Error in Rtsne.default(tsne_matrix, check_duplicates = FALSE, perplexity = tsne_perplexity,  :
  Perplexity is too large.
Calls: tsne.motifs.score -> as.data.frame -> Rtsne -> Rtsne.default
Execution halted. 

The call is as follows:
image

I tried changing the --tsne_perplexity parameter to lower values (20, 15, 5, 2, 1) with no success. It still prints the same issue and seems to call Rtsne.default().
My nanodisco version is v1.0.3 (latest).

thanks in advance

@touala
Copy link
Member

touala commented Dec 22, 2022

Hello @liorzalayet,

Thank you for trying nanodisco. The issue arise from the type of sample you're trying to analyze. nanodisco binning was designed to processed microbiome datasets with sometimes thousands of contigs. The procedure we implemented is simply not applicable to single bacteria dataset. If you want to try binning, please consult the dedicated tutorial here.

Please let me know if you have any other questions.

Alan

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

2 participants