Closed wtscott31 closed 4 weeks ago
Hi @wtscott31
I can't really say what's the issue with your example, but here are a few things to consider:
parLapply()
? The variable modj
is probably a merged model and therefore a single object. In short, using parallel computing and sending jobs to clusters might not be necessary.Hi @Waschina ,
Thank you for your suggestions! Your advice to avoid using parallel processing solved the problem I was encountering. I appreciate your help!
It's unfortunate to hear that MicrobiomeGS2 will be archived, as it seems like a potentially helpful tool for working with gapseq genome-scale reconstructions in the R environment. Do you expect new versions of sybil to be released in the future, or is there any plan for an updated constraint-based model environment that includes many of its features?
Thanks again for your assistance!
Best regards, wtscott31
Yes, we are currently working ib a new R-package that also contains community simulation functions similar to those in MicrobiomeGS2. The package is called "cobrar" and a development version is already available here: https://github.com/Waschina/cobrar
Hi,
I have been attempting to run a script for performing analysis on a community genome-scale model created with gapseq and join_mult_models function. Despite multiple attempts and troubleshooting, I keep encountering the following error:
Error in checkForRemoteErrors(val) : one node produced an error: one node produced an error: could not find function "SYBIL_SETTINGS" This error occurs even though I have sybil installed and the SYBIL_SETTINGS function properly exported. Below is the script I am using:
Steps Taken to Troubleshoot
Ensured sybil and MicrobiomeGS2 libraries are installed. Verified the correct sourcing of settings.R and fba_tools.R. Explicitly defined SYBIL_SETTINGS function within clusterEvalQ. Initialized .SYBILenv environment within the worker nodes. Exported SYBIL_SETTINGS and other necessary functions using clusterExport. Despite these steps, the issue persists. Any guidance on resolving this error would be greatly appreciated.
Additional Information
Operating System: macOS R version: [R version 4.2.2 (2022-10-31)] sybil version: [2.2.0 and 2.2.1 (I tried with both)] MicrobiomeGS2 version: [v0.1.1]
Thank you for your assistance!