-
Notifications
You must be signed in to change notification settings - Fork 30
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
Is it possible to use different motif repositories? #111
Comments
Hi @josruirod, the short answer is that yes, it's possible to use additional repositories. In the currently released version, though, it's a bit tricky. I could explain how to do this step by step, but we've actually already made the process a bit easier. We will release the next version of RGT in a few days, with these changes included. So if you can wait, I'll let you know when the next release is out and how to add another motif database. If instead you need it now, let me know and I'll give you the instructions. |
Hi, great news thanks. I can wait. I'm looking forward to the new release then, thanks |
Hi, any update on when this new motif repository implementation will be released? The tool is great and am really keen to implement rgt-hint differential with my own non-animal ATAC-seq data.. |
Hi all, the new RGT 0.12.0 version is in preparation and should be completely by tomorrow. The initial documentation for adding custom repositories has been added here: https://regulatory-genomics.org/motif-analysis/additional-motif-data/ We also have internal ways to automatically get JASPAR and Hocomoco files and annotation, and to convert it to our own formats. This is still not available in a user-friendly format, but will be soon. The instructions above should be enough to let you run motif analysis on custom repositories. One further note: we have added the JASPAR plants database to the list of our included repositories, so you will get that "for free". Feel free to ask any questions in the meanwhile. |
Also please note that, after the 0.12.0 release, there might be some "hiccups" since a lot of internal code has changed. We'll be attentive to bug reports and fix them ASAP. |
If anyone is confused it seems you HAVE to give the new motif database right after the rgt-motifanlysis matching call. For example this works: this didn't (0.11.8) |
That sounds like a bug, and one that doesn't seem to persist in the upcoming version. Example of command I run yesterday:
|
Maybe you've fixed it post 0.11.8?
|
You have a typo, the argument is called It seems to be working fine even in 0.11.8, I've just tested it on the FullSiteTest tutorial data:
|
Stupid computers with their literal-ness |
RGT 0.12.1 is out. |
HI, I have updated rgt and testing this new feature. |
From that page, you should download the http://jaspar.genereg.net/download/CORE/JASPAR2018_CORE_non-redundant_pfms_jaspar.txt Then you can use the script we provide in the rgtdata folder (you should have it after the upgrade):
This is the full command that you should run (for brevity, I've renamed the file as
This will create a jaspar_all directory that you can generate the logos for (see docs) and use in RGT via the |
I must be missing something, the following command fails with IOError: No such file or directory
Error: Any insights? Thanks for all the help! EDIT: It seems that, at least in my case, the folder is not going to be automatically created. If I create manually the output folder then it works as it should. Thanks |
Does the |
Confirmed and fixed, you can get the fixed script here: https://raw.githubusercontent.com/CostaLab/reg-gen/develop/data/motifs/createPwm.py and simply overwrite it over yours, so you don't have to wait for the next release. |
Re-opening, as this may be useful to some other people until the changes are completely "settled in". |
Thanks, regards |
Hi,
Thanks for the work. This software seems indeed really useful and I would like to fully test it.
I see you jaspar_vertebrates motifs are included in the rgtdata/motifs folder. My question is, it's possible to add other motif repositories? For example plants, insects or nematodes from jaspar. I see we could edit the dataconfig and provide more repositores, but I'm unsure on how to download them or where to place them.
I can download the individual PFMs from jaspar (http://jaspar.genereg.net/downloads/) but I'm unsure on how to add them to the folder. The format of the download files is .jaspar, whereas in the folder they are .pwm. Should these be converted with meme suite or similars? (http://meme-suite.org/doc/motif_conversion.html)
Thanks for your support
The text was updated successfully, but these errors were encountered: