-
Notifications
You must be signed in to change notification settings - Fork 140
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
How can I fix an error in the creation of Arrow Files from my fragment files? #2163
Comments
Hi @Axbxh! Thanks for using ArchR! Lately, it has been very challenging for me to keep up with maintenance of this package and all of my other |
Hi, rcorces! Thank you for your response. I have installed R 4.1 but BiocManager 1.5 and ArchR package are unavailable for this version.
|
Hi @Axbxh , this could be related to #2150 . Even though createArrowFiles is supposed to continue after plotting fails, I think the error handling is wrongly implemented and that the output is not properly set. Lines 213 to 237 in d9e741c
Currently all plots in ArchR break with the new versions of ggplot due to some functions like You have to downgrade ggplot2 to 3.4.2 and it should work. Or modify yourself ArchR code to remove the plottings. It’s also possible that another error occurred (for instance wrong type for a parameter that is not checked, like the parameters that are fed through TSSParams). You can’t know for sure because all error reportings were disabled like here or here. A strange choice, but if you manage to uncomment all those message/print in all tryCatch you might be able to understand what’s happening. ArchR code is very convoluted with multiple intermediate functions dispatched in a lot of files, so unfortunately I haven’t found a way to fix the ggplot issue and send a pull request. On my side when I really need a specific version of ggplot (because of interactions with other single-cell analyses software for instance), I just remove all plotting in ArchR or execute it in its own outdated environment. Cheers, |
ArchR log file
ArchR-createArrows-73c43a8d3823-Date-2024-05-20_Time-18-57-29.805596.log
Description of the bug
While creating Arrow Files from a fragment_file_name.tsv.gz, I get an error ggplot for Fragment Size Distribution. The message says the following:
Although the log message shown as "Successful creation of Arrow File", I do not find any Arrow files in my home directory.
The output is three folders:
Code: To Reproduce
Code I used on Rstudio
Expected behavior
Creation of Arrow File: fragment_file_name.arrow, in the ArchR directory.
ArchR Tutorial Code
Link: https://www.archrproject.com/bookdown/creating-arrow-files.html
ArrowFiles
Additional context
Windows specifications of my device:
Edition: Windows 10 Home
Version: 22H2
Installed on: 1/22/2021
OS build: 19045.4412
Experience: Windows Feature Experience Pack 1000.19056.1000.0
R version
R 4.3.3
The text was updated successfully, but these errors were encountered: