-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature request: Print output instead of writing to file #33
Comments
Hi @tmaklin, Thanks for this suggestion. We also have other uses for a I think it makes sense to allow writing to I'm also cc'ing @jamshed who has a prototype C++ library for multithreaded writing in the RAD format from C++ (though I believe that repo is still private). --Rob |
Thanks! I actually did some work related to the file format + compressor in June and ended up with something that seems to resemble the the RAD format very closely. Mine's currently more for command line use rather than as a library but it can also do conversions to/from themisto, fulgor, metagraph, bifrost and .sam files from data written in the format. I'll read the specification more carefully and continue the discussion here next week. |
Hi @tmaklin, To sum up, standardize input/ouput formats for colored compacted dBGs would be a nice collaborative effort. Let me know if this plan sounds good to you! Best, |
It's a rainy day here, so I introduced the requested Now we can do something like:
where we specified Please @tmaklin, let me know if this works well for you. Best, |
Closing this for now. |
thanks, this works for my case! Implemented like that there's no need to change the essentials dependency :) |
Yup! :) |
Hi, would it be possible to support printing the output to stdout or stderr (preferably stdout so it can be piped easily) instead of requiring writes to a file? This would enable processing the results immediately which is particularly helpful if the plaintext output is very large.
At least on Linux it's possible to somewhat work around this by supplying
/dev/stdout
or/dev/stderr
as the argument to-o
but Fulgor currently prints status messages to both std::cerr and std::cout which then end up in the output, so it's not ideal. Would be nice if this could be supported directly from Fulgor eg. by printing when the-o
argument is not supplied (and using only std::cerr for status messages), or by adding some kind of--quiet
flag that silences the status messages.I quickly put together something along these lines in https://github.com/tmaklin/fulgor but my implementation needs C++20 and requires changing the logger nested inside sshash -> pthash -> essentials so I didn't want to turn it into a pull request.
The text was updated successfully, but these errors were encountered: