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

can not find the installed miniprot #17

Open
ikkaku1005 opened this issue Jul 23, 2024 · 1 comment
Open

can not find the installed miniprot #17

ikkaku1005 opened this issue Jul 23, 2024 · 1 comment
Assignees

Comments

@ikkaku1005
Copy link

ikkaku1005 commented Jul 23, 2024

Hi all,

I am a beginner in bioinformatics and I encountered a problem with the LiftOn command. It cannot find the tool miniprot because I installed miniprot in a different folder, not within the conda environment (since conda didn't work for installing miniprot in my case). How can I define the path for LiftOn to work with the miniprot? The path to my miniprot is "/media/data_01/yucku/SOFTWARE/miniprot" the miniprot command work with the whole path. All other required tools are in the conda environment. The error shows: "miniprot is not installed. Please install miniprot before running LiftOn."

Thank you!

Yu-Chia

@Kuanhao-Chao
Copy link
Owner

Hi Yu-Chia,

To resolve the issue with the LiftOn command not finding the miniprot tool, you can set the PATH environment variable to include the directory where miniprot is installed. This will allow LiftOn to locate and use miniprot.

You can do this by adding the following line to your shell configuration file (e.g., .bashrc or .bash_profile if you are using bash, or .zshrc if you are using zsh):

export PATH="/media/data_01/yucku/SOFTWARE/miniprot:$PATH"

After adding this line, run the following command to apply the changes:

source ~/.bashrc
# or
source ~/.bash_profile
# or
source ~/.zshrc

This will update your PATH environment variable to include the directory where miniprot is installed, allowing the LiftOn command to find and use miniprot.

If you run the LiftOn command again, it should now be able to locate miniprot and proceed without the "miniprot is not installed" error.

Let me know if you have any other questions!

Kuan-Hao

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

No branches or pull requests

2 participants