GithubHelp home page GithubHelp logo

palc / 2016 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ngschooleu/ngs16

0.0 2.0 0.0 2.27 GB

Materials prepared by the instructors of the #NGSchool2016

Home Page: https://ngschool.eu/2016

License: GNU General Public License v3.0

Shell 1.48% Rouge 0.01% HTML 32.91% Java 0.15% R 7.89% CSS 0.27% C 3.80% C++ 10.39% Batchfile 0.02% Perl 5.47% Python 5.22% Roff 0.76% XSLT 0.05% Jupyter Notebook 23.54% JavaScript 7.10% Makefile 0.78% M4 0.16%

2016's Introduction

NGSchool2016 materials

Materials prepared by the instructors of the #NGSchool2016.

Table of content

Introduction

In order to initialise all dependencies, execute:

source /ngschool/.bashrc

Note, if you clone the repository in different directory than /ngschool, you will need to update NGSchoolDir in .bashrc file to this path ie. if you clone course materials in /home/lpryszcz/ngschool use:

NGSchoolDir=/home/lpryszcz/ngschool

How to obtain a copy

# copy all workshop materials (~15G)
rsync -avz [email protected]:/ngschool/ /ngschool --exclude='.git'

# alternatively use github (MUCH SLOWER!)
sudo apt-get install git-lfs
git lfs install
git clone [email protected]:NGSchool2016/ngschool2016-materials.git --recursive

Server setup

Requested software
If you have no github account or no read permission for given repository, use git clone https:// instead of git clone git@.

# admin
sudo apt install git htop screen wget python-pip python-dev cmake eog
sudo apt install libboost-all-dev libbz2-dev libtbb-dev
sudo apt install libboost-iostreams-dev libboost-system-dev libboost-filesystem-dev zlib1g-dev libgsl2

sudo -H pip install -U pip

# biotools
sudo apt install fastqc soapdenovo2 ray velvet mummer bwa samtools bedtools igv fastx-toolkit last-align python-biopython hmmer
sudo apt install python-numpy python-matplotlib
sudo -H pip install -U pysam

# tools for speakers
sudo apt install tophat bowtie bowtie2 idba ray tabix picard-tools igv 

# first update R to 3.3+ https://www.r-bloggers.com/how-to-install-r-on-linux-ubuntu-16-04-xenial-xerus/
sudo apt install blast2 tigr-glimmer exonerate muscle fasttree mcl r-base

mkdir src && cd src
# bin
git clone [email protected]:lpryszcz/bin.git

# FastQC
wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip
unzip fastqc_v0.11.5.zip && chmod +x FastQC/fastqc

# spades
wget http://spades.bioinf.spbau.ru/release3.9.0/SPAdes-3.9.0-Linux.tar.gz && tar xpfz SPAdes-3.9.0-Linux.tar.gz

# quast
git clone [email protected]:ablab/quast.git
(cd quast && ./setup.py install)

# redundans
git clone [email protected]:lpryszcz/redundans.git
## install SSPACE & GapCloser
wget -q http://www.baseclear.com/base/download/41SSPACE-STANDARD-3.0_linux-x86_64.tar.gz
tar xpfz 41SSPACE-STANDARD-3.0_linux-x86_64.tar.gz
ln -s SSPACE-STANDARD-3.0_linux-x86_64 SSPACE
wget -q -O- http://cpansearch.perl.org/src/GBARR/perl5.005_03/lib/getopts.pl > SSPACE/dotlib/getopts.pl
wget -q http://downloads.sourceforge.net/project/soapdenovo2/GapCloser/bin/r6/GapCloser-bin-v1.12-r6.tgz
tar xpfz GapCloser-bin-v1.12-r6.tgz
rm 41SSPACE-STANDARD-3.0_linux-x86_64.tar.gz GapCloser-bin-v1.12-r6.tgz GapCloser_Manual.pdf
## test
source /ngschool/.bashrc
(cd redundans && ./redundans.py -v -i test/*.fq.gz -f test/contigs.fa -o test/run1 --sspacebin $SSPACEBIN)

# trinity & transdecoder
git clone [email protected]:trinityrnaseq/trinityrnaseq.git
(cd trinityrnaseq && make)
git clone [email protected]:TransDecoder/TransDecoder.git
(cd TransDecoder && make)

# star
git clone --recursive https://github.com/alexdobin/STAR.git
(cd STAR && make STAR)

# salmon
git clone [email protected]:COMBINE-lab/salmon.git
(cd salmon && mkdir build && cd build && cmake -DBOOST_INCLUDEDIR=/usr/include/boost -DTBB_INSTALL_DIR=/usr/include/tbb .. && make)

# cufflinks
wget http://cole-trapnell-lab.github.io/cufflinks/assets/downloads/cufflinks-2.2.1.Linux_x86_64.tar.gz
tar xpfz cufflinks-2.2.1.Linux_x86_64.tar.gz

# augustus
wget http://bioinf.uni-greifswald.de/augustus/binaries/old/augustus-3.0.2.tar.gz
tar xfpz augustus-3.0.2.tar.gz 
(cd augustus-3.0.2/src && make)

# GATK & snpEff

wget http://downloads.sourceforge.net/project/snpeff/snpEff_latest_core.zip && unzip snpEff_latest_core.zip

# Bismarc
git clone [email protected]:FelixKrueger/Bismark.git
wget http://smithlabresearch.org/downloads/preseq_linux_v2.0.tar.bz2 && tar -jxvf preseq_linux_v2.0.tar.bz2
wget https://bitbucket.org/kokonech/qualimap/downloads/qualimap_v2.2.zip && unzip qualimap_v2.2.zip
wget http://www.bioinformatics.babraham.ac.uk/projects/trim_galore/trim_galore_v0.4.1.zip && unzip trim_galore_v0.4.1.zip

# 
sudo -H pip install git+https://github.com/ewels/MultiQC.git

git clone [email protected]:parseq/convector.git

# GATK https://software.broadinstitute.org/gatk/download/auth?package=GATK
(mkdir GATK && cd GATK && tar jxvf ../GenomeAnalysisTK-3.6.tar.bz2)

# InterProScan https://www.ebi.ac.uk/interpro/interproscan.html

# clean-up
rm *.zip *.gz *.bz2
# jmarzec
# sudo R
source("http://bioconductor.org/biocLite.R"); biocLite("affy")
source("http://bioconductor.org/biocLite.R"); biocLite("affyPLM")
source("http://bioconductor.org/biocLite.R"); biocLite("arrayQualityMetrics")
source("http://bioconductor.org/biocLite.R"); biocLite("biomaRt")
source("http://bioconductor.org/biocLite.R"); biocLite("gcrma")
source("http://bioconductor.org/biocLite.R"); biocLite("geneplotter")
install.packages("gplots")
source("http://bioconductor.org/biocLite.R"); biocLite("hgu133acdf")
source("http://bioconductor.org/biocLite.R"); biocLite("hgu133plus2.db")
source("http://bioconductor.org/biocLite.R"); biocLite("limma")
source("http://bioconductor.org/biocLite.R"); biocLite("simpleaffy")
source("http://bioconductor.org/biocLite.R"); biocLite("sva")

# lpryszcz
source("http://bioconductor.org/biocLite.R"); biocLite("DESeq")
source("http://bioconductor.org/biocLite.R"); biocLite("DESeq2")
source("http://bioconductor.org/biocLite.R"); biocLite("cummeRbund")

# rhamilton
install.packages("devtools")
library(devtools)
install_github("al2na/methylKit", build_vignettes=FALSE, 
  repos=BiocInstaller::biocinstallRepos(),
  dependencies=TRUE)

# mlapinski
install.packages('caTools')
source('http://bioconductor.org/biocLite.R'); biocLite('Rsamtools')
library(devtools); install_github("hms-dbmi/spp")

If you get an error Package 'igv' has no installation candidate, make sure the "multiverse" repository is enabled. Try this:

echo 'deb http://archive.ubuntu.com/ubuntu/ xenial multiverse' >> /etc/apt/sources.list

In the case IGV hangs, you can try running it from the website. Navigate to: http://www.broadinstitute.org/software/igv/download, select appropriate version (2GB is the safest) and press Launch.

2016's People

Contributors

alnf avatar darogan avatar lpryszcz avatar unkindpartition avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.