HaploKit / Strainline

Full-length de novo viral haplotype reconstruction from noisy long reads
GNU General Public License v3.0
17 stars 5 forks source link

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

Open LaraFuhrmann opened 8 months ago

LaraFuhrmann commented 8 months ago

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: https://github.com/HaploKit/Strainline/issues/11

linvei commented 3 days ago

How to solve this, please help.