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

Question Regarding the Basis of Motif Logo Creation #253

Open
Myrtle-bio opened this issue Jan 30, 2024 · 1 comment
Open

Question Regarding the Basis of Motif Logo Creation #253

Myrtle-bio opened this issue Jan 30, 2024 · 1 comment

Comments

@Myrtle-bio
Copy link

Hi, thanks for the remarkable job!

I am currently exploring the creation of motif logos in the context of sequence motif analysis and have encountered some uncertainties.

My initial understanding was that motif logos are typically generated based on the information content of a sequence probability matrix (SPM). This seems to be the case for a subset of motifs I have worked with, where the motif logos align well with the SPM information content. However, I've noticed that for several other motifs, their corresponding logos significantly differ from what I would expect based on their SPM information content.

To better illustrate my query, I would like to present a specific example that highlights these differences:

Here is the motif logo generated by the bindetect process:
image

Based on this image, the motif appears somewhat unreliable or ambiguous. However, when I use the SPM of this same motif and plot a logo based on its information content, I obtain a noticeably different representation:
046962902cd76ad70b3c53a51d1d483

Itried to search this issue using keywords like "logo" in the GitHub repository and your papers but have not found relevant information that explains this discrepancy.

Could you please help me understand the following:
Does this difference in motif representations signify an underlying issue or a specific aspect of the analysis that I might be overlooking?
If there are potential errors or misunderstandings on my part, could you point them out or guide me to resources that might clarify this situation?

Thank you very much for your time and support.

@mohobein
Copy link
Collaborator

mohobein commented Feb 1, 2024

Hey @Myrtle-bio,

thank you for your issue! Your understanding is correct, the logo as generated by BINDetect should not look like that. As a first guess, we'd assume that the is a mismatch between y-axis range and SPM values that cause the logo to be compressed. At first glance however, we were not able to see what causes the issue in the code. Could you please provide us with a minimal reproducible example so that we can investigate the problem?

Best regards,
Moritz

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

2 participants