Skip to content

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

@LaraFuhrmann

Description

@LaraFuhrmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions