Skip to content

Instantly share code, notes, and snippets.

@konrad
Created July 30, 2014 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save konrad/ec8849ac4f62ed611c42 to your computer and use it in GitHub Desktop.
Save konrad/ec8849ac4f62ed611c42 to your computer and use it in GitHub Desktop.
READemption installation script
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