zhengrongbin / MEBOCOST

A python-based package and software to predict metabolite mediated cell-cell communications by single-cell RNA-seq data
BSD 3-Clause "New" or "Revised" License
59 stars 10 forks source link

error in "Inference of pathway to the communications" #2

Closed LipingChen0607 closed 2 years ago

LipingChen0607 commented 2 years ago

Dear Dr Zheng, Thanks a lot for sharing your amazing work about MEBOCOST! However, when I run the module "Inference of pathway to the communications", there are some error like this in attachment. Could you give me some advice to deal with this problem? Thank you!

截屏2022-06-03 下午8 17 44 截屏2022-06-03 下午8 17 52 1 2 3 4
zhengrongbin commented 2 years ago

Hi Liping,

Thank you for reaching out. The error probably from the xlmhg package which we used as our statistical testing for pathway analysis. However, “ mhg_cython” is a codependency with xlmhg package, and it is seems currently supported at python 3.8 but not 3.9. Could you try to downgrade your python and re-install MEBOCOST. At least in my testing, the error disappeared at python 3.8. We use xlmhg package only in pathway analysis and don’t influence communication prediction, so the object you saved from communication prediction can still be loaded after MEBOCOST re-installed. Please let me if it works or not. Thanks!

Best, Rongbin

On Jun 3, 2022, at 8:26 AM, LipingChen0607 @.***> wrote:

Dear Dr Zheng, Thanks a lot for sharing your amazing work about MEBOCOST! However, when I run the module "Inference of pathway to the communications", there are some error like this in attachment. Could you give me some advice to deal with this problem? Thank you!

https://user-images.githubusercontent.com/74603389/171852350-b019e144-7af5-4438-a3ca-ab687ee6a725.png https://user-images.githubusercontent.com/74603389/171852367-91e0e30a-8e26-4ef2-ad07-ef26b53a387b.png https://user-images.githubusercontent.com/74603389/171852382-5ae5b693-3ae5-4fe7-a37c-ddcc1fff82ed.png https://user-images.githubusercontent.com/74603389/171852392-bcdf1d1b-ba11-45b1-a990-f6fc7715fec0.png https://user-images.githubusercontent.com/74603389/171852398-1c29148b-1224-42df-93bf-f2fa82075286.png https://user-images.githubusercontent.com/74603389/171852658-734087a5-8189-46a8-a5b6-2b32e1f516e2.png — Reply to this email directly, view it on GitHub https://github.com/zhengrongbin/MEBOCOST/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD76SHKLDCCKATLUVTCUHV3VNH2VXANCNFSM5XYQX6LQ. You are receiving this because you are subscribed to this thread.

LipingChen0607 commented 2 years ago

Thanks a lot! When I downgrade python to 3.8, the program can run correctly. It seems that pathway analysis can only run based on python3.8 now~