-
Notifications
You must be signed in to change notification settings - Fork 51
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
pileup around centromeres #491
Comments
The coordinates look rather small ... Are you working with human data or is it some other organism ? If it is a different organism - are centromeres mappable there i.e. is there data around the centromeres on the heatmap ? Would you like to study: (1) - is a work in progress in cooltools, but is available in coolpuppy https://coolpuppy.readthedocs.io/en/latest/Examples/Walkthrough_CLI.html#trans-inter-chromosomal-pileups , or you could try using saddle plots (we can discuss later how) |
Thank you for the quick reply. Actually I am working with the yeast dataset. You guessed it right I am interested in both of the following analysis. (1) How centromeres interact across different chromosomes. when I run the pileup from cooltools it just returns need help.. |
If your view is arms and doesn't contain centromeres, it won't work... Remove the view argument. Are the centromeres repetitive in your species? Then also make sure that flank is sufficiently big to actually capture the actual sequence outside of the repetitive regions. |
Thank you for the reply. No centromeres are not repetitive, they have a fixed position but are present across all the chromosomes. I tried to set the flank size large enough but it didn't run. However, setting the flank size small works fine. Best. |
I don't know what's the best size of flank regions in this specific case. If the centromeres are short, then that point is not very relevant. |
Yes it solved the problem and I was able to get some plots, but plots didn't seem to be as expected. Any other suggestions please. |
The number of centromeres/chromosomes in yeast shouldn't be terribly large ? If you suspect that the pileup does something strange, I would just try looking at them individually first - just to understand better what we can expect from the pileups : mat=clr.matrix().fetch((chrom, start, end)) and then plt.imshow(mat) - you can get more plotting ideas from the viz notebook from open2c_examples repo You'd want to confirm things like - the coordinates are perfectly aligned with the centromeres , individually they look like they should , etc etc Sorry for brevity - typing on my phone 📱 |
Thank you. will give it a try and get back to you soon... |
Has this been solved @ratheraarif ? |
Not really @Phlya, @sergpolly I want the output to look like this: This plot was also generated using cooltools for the same coordinates as #491 (comment) This is how many papers do pileups around centromeres using cooltools. I would appreciate it if you could help with the code examples too. Thank you! |
What code did you try and what output did you get? |
I use the following code snippet
the output is as: However, I Expect a dot at the centre as shown here .
|
From the look if it, the plot that you want to achieve - is that interaction between centromeres? So trans pileups? This is not actually (yet) supported by cooltools pileup... |
Please have a look on the individual plots of each chromosome please note that authors claim to have done the above analysis (#491 (comment)) as:
can you help? |
The explanation above is about trans-interactions between centromeres (note that it is not possible with cooltools, they must have just used cooler). The plots you show above are very low resolution, while the pileups you tried were very high resolution, and also very different flank size. |
Unfortunately, I don't have the specific code for extracting them individually. The authors of the paper haven't provided it. Could you perhaps suggest some helpful resources that might help with this? Alternatively, would you be able to provide a code snippet that accomplishes this task? Also I tried different flank sizes and resolutions too, but it did not work quite well. Thank you. |
Hi,
My apologies if this question sounds naive.
I actually want to perform the pile ups around the centromeres in cool file that I am working with. the coordinates look like this.
I tried to execute the example from https://cooltools.readthedocs.io/en/latest/notebooks/pileup_CTCF.html.
since it is mostly related to CTCF bindings, I am not able to get that..
I would appreciate if you could help with the code example.
The text was updated successfully, but these errors were encountered: