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

Gained TADs in condition 2 #19

Open
PinpinSui opened this issue Mar 27, 2024 · 8 comments
Open

Gained TADs in condition 2 #19

PinpinSui opened this issue Mar 27, 2024 · 8 comments

Comments

@PinpinSui
Copy link

Hi,

Thanks for this wonderful tool to see the TAD changes among 2 condition!
How to identity the gained loops in condition 2?

Thank you,
Pinpin Sui

@Tian-Dechao
Copy link
Owner

In Condition 2, a TAD gained is equivalent to the loss of the TAD in Condition 1. To identify such TADs, swap Condition 2 as Condition 1 in the input for DiffDomain. See the example code below.
python diffdomains.py dvsd multiple <hic1> <hic0> <tadlist_of_hic1.bed>
Here, hic1 refers to the .hic file from Condition 2, while hic0 represents the .hic file from Condition 1. Additionally, tadlist_of_hic1.bed denotes the list of TADs identified in Condition 2.

@PinpinSui
Copy link
Author

Hi Dechao,

Thank you so much for your response! So for the final list of changed TADs in condition 2, should I integrate gain to other 6 types together? I could not see the gained TAD class in Nature communication paper.

Pinpin

@Tian-Dechao
Copy link
Owner

Hey Pinpin

There is no need to integrate gained TADs into the reorganized TADs in DiffDomain. The current formulation of DiffDomain focuses on testing whether TADs from condition 1 are reorganized in condition 2, and then classifies the resulting reorganized TADs into 6 subtypes.

In cases where there are gained TADs in condition 2, we can treat condition 2 as the new condition 1 in the input of DiffDomain. This approach allows us to classify the gained TADs in condition 2 as lost TADs in condition 1, without needing to integrate them into the reorganized TADs.

Dechao

@PinpinSui
Copy link
Author

Hi Dechao,

Appeciate your explanation! Thank you again for this wonderful diffdomain!

Pinpin

@PinpinSui
Copy link
Author

Hi Dechao,

Thank you again! Another question, how to distinguish the strength change up and strength change down TADs with diffdomain?

Pinpin Sui

@RomeroMatt
Copy link

Hi, @PinpinSui, did you ever figure out how to distinguish strength-change up/down in your conditions? I tried to do the math that was in the methods, but when I computed strength up/down, the strength in condition 2 was always in the same direction. Meaning all TADs were either up or down within a condition. I can't imagine I did the analysis correctly.

@liuyc27
Copy link
Collaborator

liuyc27 commented Aug 22, 2024

Hi @PinpinSui and @RomeroMatt,

Usage and Example 2 sections on the Wiki have been updated to introduce the methods for distinguishing between strength-change up and strength-change down TADs.For details, please refer to the following links:

Thank you!

@liuyc27 liuyc27 closed this as completed Aug 22, 2024
@liuyc27 liuyc27 reopened this Aug 22, 2024
@RomeroMatt
Copy link

Thank you @liuyc27! I'm excited to give it a shot!
-Matt

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