Open nick-youngblut opened 2 months ago
I see that this issue might be addressed with https://github.com/GoekeLab/bambu/pull/386.
In that PR, I don't see any info on the original and updated versions. Which version of xgboost was used to train the default model, and which was used to create the updated models for the PR?
Thanks for reporting this.
Did you install Bambu via BioConductor or Github? Was your installation of xgboost separate or part of the dependency installation? If possible I would recommend updating to R >4.4 and reinstalling Bambu to the latest version 3.5.1 using Bioconductor which should install a compatible version of xgboost (v1.7.8.1 from what I just tested). It is good to know that the latest version of xgboost is causing this error, so we will need to be ready once the compatible version is no longer compatible with R.
Let me know if updating R/Bambu/downgrading xgboost solves your issue.
Kind Regards, Andre Sim
Thanks for the suggestion.
Do you constrain the supported versions of xgboost in the package setup? I don't see any such constraints on xgboost in the DESCRIPTION.
If there are no version constraints, why would a re-install of bambu install anything other than the latest version of xgboost, which is now in v2, while you are testing on v1.7 ("v1.7.8.1 from what I just tested")?
The cran version of xgboost is still v1.7.8 (https://cran.rstudio.com/web/packages/xgboost/index.html) which is what bioconductor will install as a dependency I believe. To confirm if thats correct , may I ask if you installed xgboost independantly or via bioconductor? Presumably in the next bioconductor release xgboosts version will incrase to v2 so we will make sure to either constrain the version or make sure its compatible thanks to your report.
The lastest conda-forge version of xgboost is 2.1.1.
I used the bambu Bioconda recipe, which does not specify particular xgboost versions.
It might be best to contact the authors of this bioconda recipe:
Hi @nick-youngblut ,
thanks for reporting this.
However, I believe there must be some confusion here. As you know, xgboost can refer to both the software or the R package. For bambu, the xgboost version is always referring to that of the R xgboost package, so if you check the latest version of that on cran, it is v1.7.8.1, which is the same version that is in bioconductor, see attached here:
Hope this clarifies your question! Thanks, Ying
My command:
The error:
I've tried restarting the R kernel, but that did not help. It appears that the xgboost version that I've installed (
xgboost_2.1.1.1
) is not compatible with the model utilized by default bybambu
.I don't see any version specifications for xgboost in the README or elsewhere. Which versions of xgboost are compatible with the default model?
sessionInfo