-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error in prepare_annotation_files with latetst version of R #21
Comments
I am getting the same error message (in English). Thanks in advance |
Hi, I faced a similar error in another package they wrote, it seems that Bioc updated some packages and changed some functions (disjointExons). I fixed the package I was using and I think my quick fix may also work here (by replacing disjointExons with exonicParts and changing the format back). You may want to try installing my modified version via Tim-Yu/RiboseQC? install_github(repo = "Tim-Yu/RiboseQC") BW, |
Thanks! I will have to try that out. Best of luck with your experiments! |
It seems that modified RiboseQC does not work for me (but thanks Tim for trying!). The output was bigger than before. It seems that the BS genome object was not created properly using Arabidopsis genome and annotation and cannot be used for
|
Okay it worked after using Tim's modification and also removed this line |
Hi everybody.
I don't know why it is trying to download stuff knowing I give him the files he needs... |
Hi, I am confused with the error above. This should be an offline function I think? The warnings were fine. |
Hi ! I found that by just removing the |
see ohlerlab#21 (comment); fixed by commenting out the line that causes the error
Hi everyone, I installed Tim-Yu's version of RiboseQC today and I got the following error while preparing the annotation files. Could someone please look into this error and help me generate the annotation files. Thanks. Error in prepare_annotation_files("~/annotation", "/home/lrge/Homo_sapiens.2bit", : |
Hi ! |
Hi, sorry for the super delayed response. If you haven't solved this issue, here is the solution. I downloaded the latest version (RiboseQC_1.1.tar.gz ) from here https://github.com/ohlerlab/RiboseQC/releases. I just removed the line 2283 (genome_sequence<-get(library(GTF_annotation$genome,character.only = TRUE)) from the load_annotation function in the riboseqc.R file in R folder and installed the package locally. Magically it worked. Give it a try. Hope it works for you too. Good luck. |
Thank you very much for your reply, it helped me a lot!
…---- Replied Message ----
| From | Mahabub ***@***.***> |
| Date | 04/14/2023 21:23 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [ohlerlab/RiboseQC] Error in prepare_annotation_files with latetst version of R (Issue #21) |
Hi, sorry for the super delayed response. If you haven't solved this issue, here is the solution.
I downloaded the latest version (RiboseQC_1.1.tar.gz ) from here https://github.com/ohlerlab/RiboseQC/releases. I just removed the line 2283 (genome_sequence<-get(library(GTF_annotation$genome,character.only = TRUE)) from the load_annotation function in the riboseqc.R file in R folder and installed the package locally. Magically it worked. Give it a try. Hope it works for you too. Good luck.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi @mahabubp, thank you very much for the suggestion ! I downloaded the "RiboseQC_1.1.tar.gz" you mentioned, and commented the line 2283. Trying install.packages("/data/users/pklein/projects/riboseQC/RiboseQC.tar.gz", repos = NULL, type="source") gives me a: ERROR: cannot extract package from ‘/data/users/pklein/projects/riboseQC/RiboseQC.tar.gz’ Cheers |
Hi, I installed it directly on R studio. In R studio click on Tools -> install packages -> install from Package Archive File (tar.gz). Package archive: select the Archive file from your folder and install it. If any dependencies are missing please try to install them before you could install RiboseQC. Hope this information helps you. Good luck. |
thanks @mahabubp |
hello, i have error in install RiboseQC, What is your R version? THANK YOU! |
Its R 4.3.0. May be you have an old version of R. Try to update it first then install RiboseQC. |
I reinstalled R4.3 and got the following error in the manual installation of RiboseQC, did you encounter it and how to solve it, thank you very much! Error: object 'DEFAULT_CIRC_SEQS' is not exported by 'namespace:GenomicFeatures' |
No, I didn't face this issue during installation. I have no clue what this issue about even. May be try to install the package from github and see if it works. If not please contact the admin of this package. Good luck. |
Sorry to disturb again @mahabubp, may I ask the libraries version you have please ? That would help a lot ! |
Hi @z626093820, |
Hi Paul (@polklin), Here is the session info of my RiboseQC run. FYI: I installed the Bioconductor package 3.17 on my RStudio.
Matrix products: default locale: time zone: Europe/Prague attached base packages: other attached packages: loaded via a namespace (and not attached): |
After running into this[1] issue, I saw a proposed solution of removing the offending line entirely. Looking at the code it seems like that should be fine to do — the current code does this: genome_sequence<-get(library(GTF_annotation$genome,character.only = TRUE)) library(GTF_annotation$genome,character.only = TRUE) genome_sequence<-get(GTF_annotation$genome) This fails because `library(…)` returns a vector of attached libraries, not just the single one loaded, which `get` can't deal with. `git blame` says this line has been there since 2019, and I'm not sure how this has ever worked. Maybe no one has ever gone through this branch of the enclosing `if` statement, or maybe R's `library` function changed at some point? I'm not sure, and I'm still a newbie at R so I don't know how to nail that down further. Returning to the code, the two lines following that problematic line just seem to do effectively the same thing, but in two steps instead of one (indentation mine): genome_sequence<-get(library(GTF_annotation$genome,character.only = TRUE)) library(GTF_annotation$genome,character.only = TRUE) genome_sequence<-get(GTF_annotation$genome) So I think it's safe to just remove this line entirely. [1] ohlerlab#21 (comment)
Hi !
I got this message while running the prepare_annotation_files command.
Could you tell me what I should change to make it work ?
Thanks
Stefanie
The text was updated successfully, but these errors were encountered: