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

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

Open
aroavaron opened this issue Jan 27, 2024 · 5 comments

Comments

@aroavaron
Copy link

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
Copy link
Collaborator

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
Copy link
Author

aroavaron commented Jan 30, 2024

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
Copy link
Collaborator

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

@aroavaron
Copy link
Author

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
Copy link
Collaborator

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!

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