-
Notifications
You must be signed in to change notification settings - Fork 50
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
[WIP] Scool format support #201
Conversation
…not linked anymore but the datasets chrom, start and end. Makes it possible to store per cell additional columns like weight. Adding hdf::scool format string and version number.
Hi Nezar, thanks for the good and constructive telco yesterday. As discussed, I changed the following:
Best, Joachim |
Thank you for all these updates!
This is great!
Hmm. So right now We could extend Finally, I added one minor comment about using the temp filesystem context manager in the tests, just to keep things consistent. Other than that, I think this is good to go! |
…nction of _is_cooler, remmoving in _is_scooler the check for the correct url .
Hi Nezar, I added the functions Best, Joachim |
Hi Nezar,
We discussed a few weeks back the scool format. I propose here a very first implementation, a function named
create_scool
added to _create.py.The idea is to pass the name of the file, the bins, and a list of a) pixels and b) cell names. All other parameters (except
mode
) are equal to the create function and are passed through. As discussed, the bins for each cell are hard links, and much of the code forcreate_scool
I copied from the create function where I thought it is necessary.Furthermore, I had to extend the create function with two parameters
append_scool=False
andscool_root_uri=None
. The first is responsible that the bins are not created in a new way, but get a hard link to the bins group in the root. The second one is the name of the root file.I also added a very small test case to test_create.py
test_create_scool
at the bottom of the document.What is missing is the documentation within the src and for readthedocs, however, I first want to make sure the function is working as expected and follows our formal definition of the scool format. I hope you can give me a review of the propose function.
Best,
Joachim