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

Problem about calculate_map_resolution.sh #178

Closed
QianzhaoJ opened this issue Aug 31, 2020 · 4 comments
Closed

Problem about calculate_map_resolution.sh #178

QianzhaoJ opened this issue Aug 31, 2020 · 4 comments

Comments

@QianzhaoJ
Copy link

QianzhaoJ commented Aug 31, 2020

Hi,
I want to use calculate_map_resolution.sh to determine the map resolutions ,but I don't have th merged_nodups files because I used HiCPro pipeline to generate interaction matrix and coverted validPairs to the .hic files, how can I use the calculate_map_resolution.sh by hic files or Can I convert the validPairs to merged_nodups files ? and I can coverted validPairs to the `Medium format just like:

readname> <str1> <chr1> <pos1> <frag1> <str2> <chr2> <pos2> <frag2> <mapq1> <mapq2>

Perhaps I can use this intermediate file the use calculate_map_resolution.sh ?
Thanks in advance !
Best wishes
Qianzhao

@nchernia
Copy link
Collaborator

Unfortunately, you need the actual position, not just the binned sums, to properly determine your map resolution. From Rao & Huntley, et al. Cell 2014: "We define the ‘‘map resolution’’ as the smallest locus size such that 80% of loci have at least 1,000 contacts. The map resolution is meant to reflect the finest scale at which one can reliably discern local features."

From already binned maps, you could never have a map resolution below your lowest binned resolution.

If validPairs gives the position of each read, you could potentially convert it to merged_nodups.

For follow up questions, please post to the forum at aidenlab.org/forum.html

@Gemma-Zhang-326
Copy link

Hi, I want to use calculate_map_resolution.sh to determine the map resolutions ,but I don't have th merged_nodups files because I used HiCPro pipeline to generate interaction matrix and coverted validPairs to the .hic files, how can I use the calculate_map_resolution.sh by hic files or Can I convert the validPairs to merged_nodups files ? and I can coverted validPairs to the `Medium format just like:

readname> <str1> <chr1> <pos1> <frag1> <str2> <chr2> <pos2> <frag2> <mapq1> <mapq2>

Perhaps I can use this intermediate file the use calculate_map_resolution.sh ? Thanks in advance ! Best wishes Qianzhao

Hi, I encounter the same issue with you. I wonder if you have solved the problem? Many thanks!

@sa501428
Copy link
Member

sa501428 commented Aug 1, 2022

Hi @Gemma-Zhang-326, please see Neva's answer. In order to calculate the resolution, the actual position, not the summed bins, is needed.

@Gemma-Zhang-326
Copy link

Hi @Gemma-Zhang-326, please see Neva's answer. In order to calculate the resolution, the actual position, not the summed bins, is needed.

I see...... Thanks a lot.

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

4 participants