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

error with separate_reads.py #13

Open
thulasis opened this issue Dec 16, 2022 · 2 comments
Open

error with separate_reads.py #13

thulasis opened this issue Dec 16, 2022 · 2 comments

Comments

@thulasis
Copy link

thulasis commented Dec 16, 2022

Hi
I used contigs mode o bin the metagenomes (long-reads).
Then I am trying to run the separate_reads.py and I am getting the following error:

Traceback (most recent call last):
  File "separate_reads.py", line 21, in <module>
    bins = pickle.load(open(bins, "rb"))
_pickle.UnpicklingError: could not find MARK

I tried the option f.seek (0) before loading the pickle but I am getting Attribute Error. I am using conda pyhton 3.8.
Is it a issue with python? I downgraded python to 3.6 and tried but no use.
Please let me know how to process the LRBinner output to get specie/genus level bins separately.

Thanks,
Tulasi

@anuradhawick
Copy link
Owner

anuradhawick commented Jan 9, 2023

Hi @thulasis,

separate reads cannot be used to separate the binned contigs. Would you like me to create a script for that?
separation of reads was done for assembly, did not notice a use case having to separate contigs.

Cheers
Anuradha

@thulasis
Copy link
Author

thulasis commented Jan 9, 2023

Hi @anuradhawick,

Thank you for the reply. Is it possible for you to create the script for that, if yes I would like to use the script. I would like to bin the reads from the LRBinner output.

Thanks,
Tulasi

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