You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: