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

Adding "<" operator to unitigIterator class and "[]" operator to CompactedDBG class #38

Open
samhorsfield96 opened this issue Nov 24, 2020 · 1 comment
Assignees

Comments

@samhorsfield96
Copy link

Would it be possible to add a "<" operator to the unitigIterator class and a "[]" operator to CompactedDBG class?

I am implementing a function with openMP multithreading where I am iterating over unitigs using a for loop. However, openMP dictates that the for loop be in the format for (unitigIterator i = cdbg.begin(); i < cdbg.end(); i++) which is not currently possible to implement.

Many thanks in advance, Sam.

@GuillaumeHolley
Copy link
Collaborator

Hi @samhorsfield96,

Sorry about the delay, for some reasons I missed the notification of this issue until today. Implementing those operators is feasible I think but would require some important refactoring. Unfortunately I am the only person working on Bifrost at the moment so I'll add this to my todo list but I wouldn't expect it to be released any time soon.

Guillaume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants