Created
July 30, 2014 21:03
-
-
Save konrad/ec8849ac4f62ed611c42 to your computer and use it in GitHub Desktop.
READemption installation script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main(){ | |
upgrade_and_install_packages | |
install_segemehl | |
install_reademption | |
} | |
upgrade_and_install_packages(){ | |
sudo apt-get update | |
sudo apt-get upgrade --assume-yes | |
sudo apt-get install --assume-yes \ | |
htop make gcc-4.7-base build-essential \ | |
zlib1g-dev libncurses5-dev samtools bedtools \ | |
emacs msmtp python3-dev python3-setuptools \ | |
python3-pip cython3 python3-matplotlib cython3 \ | |
zlib1g-dev make libncurses5-dev r-base \ | |
libxml2-dev tmux mosh | |
} | |
install_segemehl(){ | |
wget http://www.bioinf.uni-leipzig.de/Software/segemehl/segemehl_0_1_9.tar.gz | |
tar xfz segemehl_0_1_9.tar.gz | |
cd segemehl_0_1_9/segemehl/ && make && cd ../.. | |
sudo cp segemehl_0_1_9/segemehl/segemehl.x segemehl_0_1_9/segemehl/lack.x /usr/bin/ | |
rm -rf segemehl_0_1_9* segemehl_0_1_9* | |
} | |
install_reademption(){ | |
sudo pip3 install biopython | |
sudo pip3 install pysam | |
sudo pip3 install READemption | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment