-
Kallisto : expression quantification
-
R
- packages: tidyverse, jsonlite
-
Need to have a
config.yaml
in your project directory:
rootdir: $HOME/mage-pipeline
projdir: /home/ubuntu/mage-user
metafile: meta.txt
gtffile: /home/ubuntu/mage-user/ref/Macaca_mulatta.Mmul_8.0.1.90.gtf
reffasta: /home/ubuntu/mage-user/ref/Macaca_mulatta.Mmul_8.0.1.cdna.all.fa
refindex: /home/ubuntu/mage-user/ref/Macaca_mulatta.Mmul_8.0.1.cdna.all.kallisto_v0.43.0.idx
kallisto: ~/bin/kallisto_linux-v0.43.0/kallisto
cd mage-pipeline
source setup.sh
meta.fastq.txt
src/utils/dir2meta.shi
can be used to make the meta file
- GTF file
- Fastq file
- Kallisto index
sudo apt-get install libssl-dev # Install Secure Sockets Layer toolkit
sudo apt install make # install make
sudo apt-get install libcurl4-openssl-dev # Install curl
sudo apt-get install libxml2-dev # Instal xml
# See https://www.r-bloggers.com/how-to-install-r-on-linux-ubuntu-16-04-xenial-xerus/ for more
sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get install r-base r-base-dev
R
in R,
source("requirements.R")
# this will install tidyverse, stan
mkdir -p ~/bin
cd ~/bin
curl -L -O https://github.com/pachterlab/kallisto/releases/download/v0.43.1/kallisto_linux-v0.43.1.tar.gz
tar xzvf kallisto_linux-v0.43.1.tar.gz
~/bin/kallisto_linux-v0.43.1/kallisto index --index=Macaca_mulatta.Mmul_8.0.1.cdna.all.idx Macaca_mulatta.Mmul_8.0.1.cdna.all.fa
go get github.com/urfave/cli
go get gopkg.in/yaml.v2
mage-quant creates quant.ok
in the kallisto output directory to indicate everything run well