Closed Ewandson closed 1 year ago
Hi, Thanks for sending your data files. I caught a couple small things in your configuration table:
But the main issue is with your network tables. The MIMOSA2 code is set up to only know how to work with BIGG/AGORA metabolite IDs in the format "nadp[c]" (i.e. compoundID[compartment]) , and your models have metabolites in the format "nadp_c" (or compoundIDcompartment). So if you change underscores to brackets in all your network models, it will then be able to compare those with your metabolite data and you should be good to go. (You can do this with the following snippet of code in R, where network is the reaction network for a particular species:
library(data.table)
network <- data.table(network)
`network[,Reac:=gsub("([[:alpha:]])$", "\[\1\]",Reac)]
network[,Prod:=gsub("_([[:alpha:]])$", "\[\1\]",Prod)]`
Also, if you are working with a synthetic community (as I think we talked about), I think something strange might be happening with your mapping between ASVs and models, because only 9 strains are getting added with the model. If that doesn't sound right, you may want to check the alignments between your ASVs and the database ASVs.
I hope that helps!
thank you very much for addressing my questions, I'll implement your suggestions. Thanks
Update: after doing the modifications in the configuration file and also fixing the metabolites IDs the pipeline ran perfectly. Thank you very much, Cecilia!
Glad to hear it!
Hello Cecilia,
I built the database based on the instructions you sent us by email and I'm not sure if the problem is related to it or maybe another thing. Could you please help us with it?
I'll let the dropbox link below so you'll be able to check the files, the database, and the R script I'm using to run Mimosa2.
We appreciate any help.
Dropbox: link