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

Negative strand index input #41

Open
yxwucq opened this issue Sep 19, 2022 · 0 comments
Open

Negative strand index input #41

yxwucq opened this issue Sep 19, 2022 · 0 comments

Comments

@yxwucq
Copy link

yxwucq commented Sep 19, 2022

Hi:

I'm trying to use the package to deal with my sparse DNA methylation data, then I find the same issue as: #33 #33

I believe the problem is only with the negative strand, because only about half of the data trigger the warning and they are all in the negative strand. I try to suppress the warning by add the conditions in dcpg_data.py and it works.

if seq[p:p + 2] != 'CG' and seq[p-1:p+1] != 'CG': # make the change to suppress the warnings

However, when considering sites from negative strand, it is strange to use the opposite positive strand sequence as input for training, and it makes me confused. I wonder if there is any reason behind it.

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

1 participant