.hic to full matrix

798 views
Skip to first unread message

dozt...@gmail.com

unread,
Jun 4, 2018, 11:12:21 PM6/4/18
to 3D Genomics
Hello everybody,

I have a pre-analyzed .hic data and I would like to convert it to full matrix. Is there any way that I can do this? I know the Straw and dump commands, but these are not creating a full matrix per se.

Thank you very much.

Best Regards,

Dogancan

Moshe Olshansky

unread,
Jun 5, 2018, 3:00:02 AM6/5/18
to 3D Genomics
Hi Dogancan,

dump -d creates full matrix. 

dozt...@gmail.com

unread,
Jun 5, 2018, 11:47:08 AM6/5/18
to 3D Genomics
Hi,

What I mean by full matrix is that I want all the interactions in one matrix with a specific bin size. However, dump asks me to provide the chromosome number.

Dogancan

5 Haziran 2018 Salı 00:00:02 UTC-7 tarihinde Moshe Olshansky yazdı:

Neva Durand

unread,
Jun 5, 2018, 11:48:09 AM6/5/18
to dozt...@gmail.com, 3D Genomics
You will need to dump all chromosome-chromosome combinations.

--
You received this message because you are subscribed to the Google Groups "3D Genomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/41f9c3be-975b-42a0-af53-22efae11977c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab

dozt...@gmail.com

unread,
Jun 5, 2018, 11:52:07 AM6/5/18
to 3D Genomics
What about interchromosomal interactions?

Dogancan

5 Haziran 2018 Salı 08:48:09 UTC-7 tarihinde Neva Durand yazdı:
You will need to dump all chromosome-chromosome combinations.
On Tue, Jun 5, 2018 at 11:47 AM, <dozt...@gmail.com> wrote:
Hi,

What I mean by full matrix is that I want all the interactions in one matrix with a specific bin size. However, dump asks me to provide the chromosome number.

Dogancan

5 Haziran 2018 Salı 00:00:02 UTC-7 tarihinde Moshe Olshansky yazdı:
Hi Dogancan,

dump -d creates full matrix. 

On Tuesday, June 5, 2018 at 1:12:21 PM UTC+10, dozt...@gmail.com wrote:
Hello everybody,

I have a pre-analyzed .hic data and I would like to convert it to full matrix. Is there any way that I can do this? I know the Straw and dump commands, but these are not creating a full matrix per se.

Thank you very much.

Best Regards,

Dogancan

--
You received this message because you are subscribed to the Google Groups "3D Genomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics...@googlegroups.com.

Neva Durand

unread,
Jun 5, 2018, 11:57:44 AM6/5/18
to dozt...@gmail.com, 3D Genomics
Send in the chromosomes, i.e. "1 3"

To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/38e363b0-52a1-476d-9ef2-c207568dd72d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dozt...@gmail.com

unread,
Jun 5, 2018, 2:49:08 PM6/5/18
to 3D Genomics
Yes sure, but how to combine all of them into one full matrix? (either coordinated-list or tab-seperated matrix)?

5 Haziran 2018 Salı 08:57:44 UTC-7 tarihinde Neva Durand yazdı:

Neva Durand

unread,
Jun 5, 2018, 3:02:25 PM6/5/18
to dozt...@gmail.com, 3D Genomics
You will have to write your own custom script.  If you're not worried about big files you can dump dense matrices, then you would combine them in a double for loop.  Otherwise you can dump sparse matrices, which will save space, and then put in the zeros as needed.

What is the application for which you need a giant dense matrix?

To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/9e29411a-56f4-423f-bd46-e595a719c24e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dozt...@gmail.com

unread,
Jun 5, 2018, 3:24:03 PM6/5/18
to 3D Genomics
I think there is a need for that. There are couple of visualization tools that requires full matrix as well some other loop callers.

Thank you very much for the answers!

Dogancan



5 Haziran 2018 Salı 12:02:25 UTC-7 tarihinde Neva Durand yazdı:

Neva Durand

unread,
Jun 5, 2018, 3:35:19 PM6/5/18
to 3d-ge...@googlegroups.com, dozt...@gmail.com
I do encourage you to look at our visualization tools (Juicebox and Juicebox.js, aidenlab.org/juicebox ) as well as HiCCUPS.  

Dense matrices, especially genome-wide, are not practical for the resolutions at which one can explore loops (5K and higher), at least not for mammalian genomes.

To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/6ede4686-25e7-4258-84e4-d043e84d701a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dozt...@gmail.com

unread,
Jun 5, 2018, 3:59:05 PM6/5/18
to 3D Genomics
Thanks! I'll check it out.

Dogancan

5 Haziran 2018 Salı 12:35:19 UTC-7 tarihinde Neva Durand yazdı:
I do encourage you to look at our visualization tools (Juicebox and Juicebox.js, aidenlab.org/juciebox ) as well as HiCCUPS.  

dozt...@gmail.com

unread,
Jun 6, 2018, 1:37:06 PM6/6/18
to 3D Genomics
I want ask one more question. Can you produce kind of .bedpe file from the .hic formatted data?

Thanks,

Dogancan

5 Haziran 2018 Salı 12:59:05 UTC-7 tarihinde dozt...@gmail.com yazdı:

Neva Durand

unread,
Jun 6, 2018, 4:47:49 PM6/6/18
to dozt...@gmail.com, 3D Genomics
No; the data is binned and no longer at bp resolution.  We have tools for manipulating the data in hic files.


To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/253b968c-44d3-4241-825b-ec491e329ce3%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages