KennthShang / PhaGCN2.0

27 stars 10 forks source link

create database failed #8

Closed mengyuan09876 closed 1 week ago

mengyuan09876 commented 10 months ago

I encountered this problem: “Database file: database/ALL_protein.fasta Opening the database file... No such file or directory [0.000229s] Error: Error calling stat on file database/ALL_protein.fasta create database failed” But when I returned to the database folder, I found that there was a compressed file of ALL_protein. ALL_protein.fasta existed after decompression. But when I run it, I still get this error

sugar-sugar1 commented 10 months ago

I met this problem too, have you resolve this problem?

mengyuan09876 commented 10 months ago

I just move my file to the folder where I download PhaGCN2.0

sugar-sugar1 @.***> 于2023年11月27日周一 11:37写道:

I met this problem too, have you resolve this problem?

— Reply to this email directly, view it on GitHub https://github.com/KennthShang/PhaGCN2.0/issues/8#issuecomment-1827663409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBPWJVERAA3UAM2UIOZORDYGR3QXAVCNFSM6AAAAAA7UV3UTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRXGY3DGNBQHE . You are receiving this because you authored the thread.Message ID: @.***>

sugar-sugar1 commented 10 months ago

我刚刚也是这样做的,看它好像运行起来了,但是要是站位多的话好麻烦,我尝试把这个软件的路径写到bashrc中,不过好像没有用,不知道是不是我写错了

sugar-sugar1 commented 10 months ago

我明白了,因为python脚本不能添加到环境变量里去,可以建一个指向 run_Speed_up.py 的符号链接就可以啦

yuanwenguang666 commented 5 months ago

Thank you for your questions.

The environment path of PhaGCN2 is a relative path. Therefore, you need to enter the working directory of phagcn before using phagcn by cd PhaGCN2.0.

If you have more questions, please do not hesitate answer it in comments.