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

DMRichR::annotationDatabases() #77

Closed
bazyliszek opened this issue Oct 3, 2023 · 2 comments
Closed

DMRichR::annotationDatabases() #77

bazyliszek opened this issue Oct 3, 2023 · 2 comments

Comments

@bazyliszek
Copy link

Hi Ben,
We needed to make one custom genome that was missing for the tool.

In DMRichR, all the necessary packages and dependencies are being installed when the following command is being executed:
BiocManager::install("ben-laufer/DMRichR") and all subsequent calls of functions are done as such: e.g. DMRichR::annotationDatabases(). So we imagine that it is referring every time to DMRichR that was installed by BiocManager. If so, then when we edit the code lines of annotationDatabases.R for the custom genome, how do we tell DMRichR to read the file we edited, and not the file it downloaded from BiocManager? Kindly let us know if we explained it well enough. Maybe a small description could be great to add. Thank you,

Best wishes,
Marcin & Wassim

@ben-laufer
Copy link
Owner

Hi @bazyliszek, for a custom genome you are correct that you'd need to modify DMRichR::annotationDatabases(). This would involve forking the repository, modifying the function, and then using your version (e.g. BiocManager::install("bazyliszek/DMRichR").

For modifying the function, you'd add mention of your genome and the databases here and here by copying the format of the above parts. You'd also have to modify DM.R() to include your genome here and modify getCpGs().

@bazyliszek
Copy link
Author

Great @ben-laufer . We have used this strategy indeed, so that is good that agree with us. We will contribute with another species soon so DMRichR will be more accessible. It would also be awesome to have some recipes for HPC that do not have internet access (strict GDPR).

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