Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call treePL ?? #61

Open
Galaxy-228 opened this issue Jun 27, 2022 · 11 comments
Open

How to call treePL ?? #61

Galaxy-228 opened this issue Jun 27, 2022 · 11 comments

Comments

@Galaxy-228
Copy link

Hi~
I have installed 'treepl' with conda (conda install -c genomedk treepl), but when i type 'treepl' it shows 'treepl: command not found', so i
wonder how to call 'treepl'??
Thank u so much!!

@josephwb
Copy link
Collaborator

Didjya try treePL?

@NiuNiuguohao
Copy link

I met the same problem.
(treepl) treePL
bash: treePL: command not found...

@josephwb
Copy link
Collaborator

@NiuNiuguohao Did you compile it yourself, or did you use conda? If the former, navigate to the src directory and confirm that treePL was created. If so, you should be able to do ./treePL from that directory to run it. To be able to run it from anywhere you need to do sudo make install.

@LeoEarnest
Copy link

I using conda command "conda install -c genomedk treepl" which you provide in anaconda, and met the same problem that "bash: treePL: command not found" when typing "treepl" or "treePL". There is another problem is that the version I download from anaconda is 2.6.3, just try your method to cd to the directory to call treePL, the command say it is version1.0 . And the tgz package in github release is the same version of 1.0, is that wrong message? or it is exactly version 1.0?

@josephwb
Copy link
Collaborator

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

@LeoEarnest
Copy link

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

@NiuNiuguohao
Copy link

NiuNiuguohao commented Dec 4, 2023

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

Hi! How to find the absolute path after install it by conda? I didn't find it in /home/anaconda3/envs/treepl/bin . Thanks a lot!

@LeoEarnest
Copy link

@LeoEarnest There is only version 1.0. I am afraid I cannot help with conda, but manual compilation/install is easy.

Thanks, There would be no problem yet, the version 1.0 can be run in absolute path properly.

Hi! How to find the absolute path after install it by conda? I didn't find it in /home/anaconda3/envs/treepl/bin . Thanks a lot!

You can check your path in /home/anaconda3/envs/treepl , there would be a file with no extension name, only called treepl. In your case, you can cd to /home/anaconda3/envs/treepl , then type treepl do use it. Or the second method is to add /home/anaconda3/envs/treepl to your environment variable for example .bashrc file in your /home/user_name folder

@josephwb
Copy link
Collaborator

josephwb commented Dec 4, 2023

@Galaxy-228 Does the advice from @LeoEarnest help you resolve this issue?

You can check your path in /home/anaconda3/envs/treepl , there would be a file with no extension name, only called treepl. In your case, you can cd to /home/anaconda3/envs/treepl , then type treepl do use it. Or the second method is to add /home/anaconda3/envs/treepl to your environment variable for example .bashrc file in your /home/user_name folder

@padpadpadpad
Copy link

Hi everyone. I am trying to install treepl on a server using conda and the advice here.

I have navigated to the correct directory but when i type treepl or treePL it comes with command not found still. This is despite the file being there. Weirdly mine is called treePL not treepl.

Any thoughts? Not sure Linux Brew is possible and would prefer to install it in a conda environment to keep things separate.

Cheers
Dan

@Puguang-Zhao
Copy link

You need to add Absolute path of treePL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants