Skip to content
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

plot heatmap from the raw hic file(get from the juicer) #122

Open
ChenDepp opened this issue Feb 21, 2023 · 3 comments
Open

plot heatmap from the raw hic file(get from the juicer) #122

ChenDepp opened this issue Feb 21, 2023 · 3 comments

Comments

@ChenDepp
Copy link

ChenDepp commented Feb 21, 2023

@sa501428
hi.
I want to get the matrix from the hic file, arrange and orient the contig (including forward and reverse) based on the order defined by myself to get a new matrix , then use the matrix plot the heatmap.
i write a python script based on the hicstraw api. the script as below
1
i found sometimes the matrix_numpy shape is (1,1), i don't how to get the matrix corrrectly. please tell me how to get it.
waiting your reply.
thanks

@lidaof
Copy link
Contributor

lidaof commented Feb 21, 2023

Hi @ChenDepp you probably need to @sa501428 for your question. I most time use the JS version of straw...not sure about the python version. Sorry for that.

@ChenDepp
Copy link
Author

@lidaof hi thanks you very much.

@MahdiSayadSadr
Copy link
Contributor

Hi,

We have an interactive notebook going through straw on Python, which I think could help you with your issue! Let me know if you still have trouble! https://colab.research.google.com/drive/1-GG-n-p9nZ7Be82UVJG7n3Q_wQ9IeuFN?usp=sharing#scrollTo=xf8HUdMVWAgQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants