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 10 months ago

LaraFuhrmann commented 10 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 2 months ago

How to solve this, please help.