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: not enough values to unpack(expected 2, got1) #17

Open
LaraFuhrmann opened this issue Jan 9, 2024 · 1 comment
Open

ValueError: not enough values to unpack(expected 2, got1) #17

LaraFuhrmann opened this issue Jan 9, 2024 · 1 comment

Comments

@LaraFuhrmann
Copy link

Dear developers,

I installed Strainline (and also Daccord) following the instruction in the README. As a test I ran Strainline on the example data from this repository however I encountered the following error:

"Strainline/src/clustering.py", line 172, in <module>
    cluster_list = get_clusters(in_fa, outdir, int(topk), platform, int(threads), int(min_ovlp_len),
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Strainline/src/clustering.py", line 92, in get_clusters
    header, seq = id2fa[id].strip().split('\n')
    ^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

I also ran the tool on my PacBio data and encounter the same issue.

Do you have any idea what the problem could be?

Thanks a lot for your help!

This issue is related to the following issue: #11

@LaraFuhrmann LaraFuhrmann changed the title ValueError: not enough values to unpack(expected 2, got1) #11 ValueError: not enough values to unpack(expected 2, got1) Jan 9, 2024
@linvei
Copy link

linvei commented Sep 3, 2024

How to solve this, please help.

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