-
Notifications
You must be signed in to change notification settings - Fork 159
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
Training an R10.4.1 methylation model #1064
Comments
There's a few different reasons this could fail. Were the nucleotide (ACGT only) k-mers trained, or nothing at all trained? Were any status messages printed to the terminal? |
Oooohhh. I added fprintfs here andthere and finally found the potential problem - as the base model is using the inbuilt old r10 model. I manually replaced the .inl model and seems like itis now actually doing the training. Will keep you posted when the training is done. |
Ah yes, good find! |
This is closely related to #1059. As that issue was for the nucleotide models, I am opening another issue to discuss about the cpg models.
to train a cpg methylation model, I have done what you suggested at #825 some time ago. I made a hybrid reference genome - one with all CGs changed into MG, and the other with the CGs left unchanged. Then reads were mapped to the corresponding reference and the BAMs were merged together.
Now the doubt is about what I should be using as an input cpg model. I created an input model like below:
Here what I did was for aby methylated k-mers, I put the same values as for the corresponding nucleotide k-mers from the ONT's base model. Then I did the following command:
Unfortunately, none of the k-mers was trained. Note that now the nucleotide training works after the modification you made in [#1059], but still not for cpg. Is there a problem with the approach I am following or wonder if there is something else in the code that prevents the training?
The text was updated successfully, but these errors were encountered: