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

After running setup.py, we didn't find install.sh to proceed. #2

Open
minn333 opened this issue Jun 1, 2022 · 4 comments
Open

After running setup.py, we didn't find install.sh to proceed. #2

minn333 opened this issue Jun 1, 2022 · 4 comments

Comments

@minn333
Copy link

minn333 commented Jun 1, 2022

Dear author,
As the title, we followed your instruction to install MutpredSuite, however, we didn't find install.sh. Could you kindly solve the problem. Thanks a lot!

@minn333 minn333 changed the title After running setup.py, we didn't find install.sh to prceed. After running setup.py, we didn't find install.sh to porceed. Jun 1, 2022
@minn333 minn333 changed the title After running setup.py, we didn't find install.sh to porceed. After running setup.py, we didn't find install.sh to proceed. Jun 1, 2022
@trberg
Copy link
Collaborator

trberg commented Jun 1, 2022

Hi @minn333, I see the install.sh file in the github repo, did the file not make to your local environment when you cloned the repo?

@minn333

This comment was marked as spam.

@trberg
Copy link
Collaborator

trberg commented Jun 2, 2022

If you're having issues, you can create a bash file called install.sh, and paste the following code into the file.

#!/bin/sh
# script for execution of deployed applications
#
#Installs the needed packages and programs for MutPredMerge

while true; do
    read -p "The installation of the MutPred Suite takes 90 Gb? Do you wish to continue? " yn
    case $yn in
        [Yy]* ) 
            # download and unzip mutpred2
            wget --directory-prefix=tools/ http://mutpred.mutdb.org/mutpred2.0_linux_x86_64.tar.gz;
            tar -xvzf tools/mutpred2.0_linux_x86_64.tar.gz;
            rm tools/mutpred2.0_linux_x86_64.tar.gz;
            printf "[NCBI]\nDATA=$(pwd)/tools/mutpred2.0/blast-2.2.18/data/" > tools/mutpred2.0/.ncbirc;
            source tools/mutpred2.0/.ncbirc;
            echo "ignore this error, all is fine";

            #download and unzip mutpred LOF
            wget --directory-prefix=tools/ http://mutpredlof.cs.indiana.edu/MutPredLOF_compiled.tar.gz;
            tar -xvzf tools/MutPredLOF_compiled.tar.gz;
            rm tools/MutPredLOF_compiled.tar.gz;
            cp -r tools/mutpred2.0/v91/ tools/MutPredLOF/;

            #download and unzip mutpred indels
            wget --directory-prefix=tools/ http://mutpredindel.cs.indiana.edu/MutPredIndel_compiled.tar.gz;
            tar -xvzf tools/MutPredIndel_compiled.tar.gz;
            rm tools/MutPredIndel_compiled.tar.gz;
            cp -r tools/mutpred2.0/v91/ tools/MutPredIndel_compiled/;
            break;;
        [Nn]* ) exit;;
        * ) echo "Please answer yes or no.";;
    esac
done

Hope this helps!

@minn333
Copy link
Author

minn333 commented Jun 5, 2022 via email

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

2 participants