dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
70 stars 39 forks source link

In Step 7: Message: ValueError: not enough values to unpack (expected 2, got 1) #541

Open aroavaron opened 5 months ago

aroavaron commented 5 months ago

Hello,

I have been running ipyrad without any problem until now. However, I added a few samples and ran it again and I'm getting the error below:

Step 7: Filtering and formatting output files [####################] 100% 0:00:22 | applying filters
[####################] 100% 0:04:25 | building arrays

Encountered an Error. Message: ValueError: not enough values to unpack (expected 2, got 1) Use debug flag (-d) for full code traceback.

I modified the job and the params files accordingly. Any suggestion about the potential source of the error?

Thanks for any suggestions and for your time! Adela

isaacovercast commented 5 months ago

Hello Adela,

How did you add a few samples? Did you add them at the beginning and re-run everything from step 1? If not this, what did you try?

Can you also run step 7 again and include the -d flag and copy/paste the output message here?

Thanks, -isaac

aroavaron commented 5 months ago

Hi again! I added the samples to the folder including the demultiplexed/sorted fastq files (path provided in step # [4], and then, I re-run everything from step 1. I will run it again including the -d flag and share the output message here.

Is it possible that this is a memory issue?

Thanks a lot!

isaacovercast commented 5 months ago

It isn't a memory issue, im' pretty sure. Please share the debug output with me next time it crashes.

aroavaron commented 5 months ago

here it's! Please, let me know if you need anything else.

Step 7: Filtering and formatting output files [####################] 100% 0:00:22 | applying filters
[####################] 100% 0:04:25 | building arrays

Encountered an Error. Message: ValueError: not enough values to unpack (expected 2, got 1)

Parallel connection closed. ---------------------------------------------------------------------------ValueError Traceback (most recent call last) in /share/apps/bioinformatics/ipyrad/conda/0.9/envs/ipyrad_0.9/lib/python3.7/site-packages/ipyrad/assemble/write_outputs.py in write_loci_and_alleles(data) 1604 1605 all1, all2 = splitalleles(seq) -> 1606 aname, spacer = name.split(" ", 1) 1607 achunk.append(aname + "_0 " + spacer + all1) 1608 achunk.append(aname + "_1 " + spacer + all2) ValueError: not enough values to unpack (expected 2, got 1)

isaacovercast commented 5 months ago

Did you run this again with the 0.9.93 version after installing the newest version? If so let me know if it worked and please close this issue. Thanks!