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

C++ API without IO? #22

Open
rlorigro opened this issue Oct 25, 2024 · 0 comments
Open

C++ API without IO? #22

rlorigro opened this issue Oct 25, 2024 · 0 comments

Comments

@rlorigro
Copy link

Hi,

Thanks for the lovely software. I am considering using this to operate in-memory as a library for one of my C++ projects. However, looking at the API, and the CAGCCompressor header, it appears that it is configured to read from a file, and generate an archive on the disk. Is there currently a simple way to skip the IO entirely and construct a library from strings, which I can then keep in memory until I decompress selectively using GetCtgSeq(const std::string& sample, const std::string& name, int start, int end, std::string& buffer) const ? If not, would you consider supporting this type of API? I have many near-identical sequences that are never stored on the disk, which is why i would like to avoid that part.

Thanks,

Ryan

sebastiandeorowicz added a commit that referenced this issue Nov 25, 2024
Added optional internal minimizers as a fallback procedure when no matching segment is found
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

1 participant