Conversation
d-laub
requested changes
Jan 20, 2025
| - v0.3.0: Improved out of core functionality, robust BED classification datasets | ||
| - v0.0.4 — Interoperability with AnnData and SnapATAC2 | ||
| - v0.X.0: Improved out of core functionality, robust BED classification datasets | ||
| - v0.X.4 — Interoperability with AnnData and SnapATAC2 |
|
|
||
| ### Loading data from BigWig files | ||
| [BigWig files](https://genome.ucsc.edu/goldenpath/help/bigWig.html) are a common way to store track-based data and the workhorse of modern genomic sequence based ML. ... | ||
| Because BAM files contain read alignments, we can use different strategies for quantifying the pileup at each position. See the TODO for a deeper dive into...TODO |
| ### Working with Zarr stores and XArray objects | ||
| The SeqData API is built to convert data from common formats to Zarr stores on disk. The Zarr store... When coupled with XArray and Dask, we also have the ability to lazy load data and work with data that is too large to fit in memory. | ||
| ### Building a dataloader | ||
| One of the main goals of SeqData is to allow a seamless flow from files on disk to machine learning ready datasets. This can be achieved after loading data from the above functions by building a PyTorch dataloader with the `get_torch_dataloader` function: |
Collaborator
There was a problem hiding this comment.
after loading data from constructing Xarray datasets with the above functions
Collaborator
There was a problem hiding this comment.
Looks pretty good! Some typos e.g. "Adatped from..."
Converting Xarray to other formats looks unfinished?
Consider reworking Zarr stores section? Intent with SeqData is to never use the default Dataset.to_zarr() method because it concatenates the length axis of string/char arrays by default, and maybe some other issues I don't remember off the top of my head.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated first tutorial for introducing Zarr and Xarray.