-
Notifications
You must be signed in to change notification settings - Fork 3
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
Converter script for .hic to hseq #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cvaske throwing the review back to you after refactoring and reorganizing into the scripts dir.. please run the conversion now to confirm and then merge if you're happy with this
@cvaske, could you also please add a one sentence motivation/context at the top of the PR description for those less aware of this domain |
The script worked great, however I moved the dependency on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This script converts the well-established .hic file format into the HoloSeq hseq format using the
straw library. The hic format
stores a symmetric matrix, and the converter only provides the lower
triangle of counts to distinguish it from asymmetric matrices.
The hseq data format is described here:
https://github.com/holoviz-topics/holoSeq/blob/main/docs/HoloSeqOverview.md
Usage:
Install the required dependency:
Download a .hic file. For example, in the series
GSE207951,
click on "(custom)" in the table at the bottom, check a single .hic
file, then click the "Download" button. Untar it.
Run the conversion script:
Use the output file in the HoloSeq environment to display the matrix:
Example Data:
A pre-converted HTAN file for GSM6326543 is
available (530MB).
See hseq conversion output of GSM6326543 at
holoseq/docs/assets/README_GSM6326543.png