ncsa / NEAT

NEAT (NExt-generation Analysis Toolkit) simulates next-gen sequencing reads and can learn simulation parameters from real data.
Other
38 stars 12 forks source link

Pickle error #44

Closed MikeWLloyd closed 2 years ago

MikeWLloyd commented 2 years ago

I cloned the repo, and am trying to run the base command.

I get the following error:

NEAT/source/SequenceContainer.py", line 872, in __init__
    error_dat = pickle.load(open(model_path, 'rb'), encoding="bytes")
_pickle.UnpicklingError: invalid load key, '\x1f'.

Can you advise?

joshfactorial commented 2 years ago

If you're using the master branch, then yes, I recoded the model files as gzipped pickle files. I was just in the process of cleaning up the code related to that and just pushed the fix for this problem. Let me know if you see it again. Please include your run command if so.

MikeWLloyd commented 2 years ago

This is perhaps the fastest commit I have ever experienced with such a tool! Amazing. Fixed this issue.

Having a separate issue now when running on chrM. Will post a new ticket for that.

joshfactorial commented 2 years ago

haha, I had just noticed the same error