Open ShangLiii opened 4 hours ago
Hi there,
please make sure you have follow the commands below and install the packages correctly
conda create -n phabox2 phabox=2.1.5 -c conda-forge -c bioconda -y
conda activate phabox2
Then, please try conda list
to check the packages blow are install correctly:
diamond=0.9.14
blast=2.16.0
mcl
fasttree=2.1.11
kcounter=0.1.1
mafft=7.525
If not, you can reinstall them:
conda install diamond=0.9.14 blast=2.16.0 mcl fasttree=2.1.11 kcounter=0.1.1 mafft=7.525
If you cannot run all the above-mentioned commands successfully, I suggest installing phabox in a primitive ways:
# install dependencies
conda create --name phabox2 python=3.10
conda activate phabox2
conda config --add channels bioconda
conda install diamond=0.9.14 blast=2.16.0 mcl fasttree=2.1.11 kcounter=0.1.1 mafft=7.525
conda install numpy=1.26.4 pandas=2.2.3 networkx=3.4.2 seaborn-base=0.13.2 biopython=1.84 tqdm=4.66.5 scipy=1.14.1
conda install datasets transformers pytorch triton accelerate prodigal-gv
# install phabox binary
git clone https://github.com/KennthShang/PhaBOX.git
cd PhaBOX
python -m pip install . -vv
cd ..
# you can remove the PhaBOX folder once it is installed
rm -rf PhaBOX
# test
phabox2 --help
# Do not forget to download the database using wget (or go to the release page)
wget https://github.com/KennthShang/PhaBOX/releases/download/v2/phabox_db_v2.zip
unzip phabox_db_v2.zip > /dev/null
Best, Jiayu
Hi, I am trying to run votu and something is wrong. Here is the commend I used: phabox2 --task votu --dbdir /data2/lishang/phabox_db_v2/ \
Can you please help me? Thanks!