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

Create Vector wrapper for PeptideIdentifications and ProteinIdentifications #387

Open
jpfeuffer opened this issue Apr 28, 2023 · 1 comment

Comments

@jpfeuffer
Copy link
Contributor

And provide overloads for certain functions that return a list of PeptideIdentifications to return this Wrapper instead.
Avoids copying everything, allows us to provide convenience functions (toNDArray, toArrow) and iteration will be much much faster than in python.
Start on a Cython templated wrapper for general vectors there wraps the iter function and constructors. (Check if this already exists).
Then create a class that inherits from VectorWrapper[PeptideIdentification] with some specific cython and/or python functions.

@jpfeuffer
Copy link
Contributor Author

In C++ we could have a simple typedef to make the signatures look the same.

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