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

Issue 280 #292

Closed
wants to merge 17 commits into from
Closed

Issue 280 #292

wants to merge 17 commits into from

Conversation

lucventurini
Copy link
Collaborator

Changes:

  • fixed a bug in the ORF serializer that made the process communication queue choke.
  • Improved the speed of CDS to PEP translation by rewriting the method using NumPy
  • Improved the speed of BED12 by avoiding constant recalculation of the invalid property (now it is lazily evaluated) and by using NumPy arrays in some critical points of the code.
  • Switched to Bio.SearchIO.parse rather than Bio.Blast.NCBIXML.parse. The former is actually slower, but is the new standard in BioPython. Switching to it will ensure future compatibility.
  • Rewrote the method that parses XML alignment strings, using NumPy. This should also fix serialise error #269
  • Rewrote the interval merging algorithm to make it much faster.

This should close #269 and #280.

lucventurini and others added 12 commits March 2, 2020 19:01
…ORFs was that the reading process waas **blocking**, due to using a simple queue with a bare put instead of put_nowait. This single change makes the code finally parallel and provides therefore a massive speed-up.
Removing the evaluation of invalidity causes bugs. It's better to recalculate constantly in this case.
Edited Travis to reflect the changes in master
…. Also, now using properties to avoid calculating the invalidity of a BED12 object over and over again. This should lead to some more speed improvements.
… Some improvements but currently broken, and it could be better
@lucventurini lucventurini linked an issue Mar 4, 2020 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Mikado serialize running time serialise error
1 participant