RNA Seq Data Analysis copy
This page contains content taken directly from the Biostars Handbook by Istvan Albert.
Remember to activate the bioinformatics environment.
conda activate bioinfo
curl http://data.biostarhandbook.com/books/rnaseq/code/install-conda.txt | xargs conda install -y
chmod +x ~/bin/*.r
conda install -y libopenblas==0.3.7
To make these scripts universally accessible and simpler to use, we recommend saving them into the ~/bin folder and making them executable. You can achieve that from the command line with:
mkdir -p ~/bin
# Download the scripts into the ~/bin folder.
curl http://data.biostarhandbook.com/books/rnaseq/code/deseq1.r > ~/bin/deseq1.r
curl http://data.biostarhandbook.com/books/rnaseq/code/deseq2.r > ~/bin/deseq2.r
curl http://data.biostarhandbook.com/books/rnaseq/code/edger.r > ~/bin/edger.r
curl http://data.biostarhandbook.com/books/rnaseq/code/heatmap.r > ~/bin/heatmap.r
# Make them executable
chmod +x ~/bin/*.r
deseq1.r
Error: The experimental design must be specified as NxM
Execution halted
cat counts.txt | Rscript ~/bin/edger.r 3x3 > output.txt
cat norm-matrix-edgeR.txt | Rscript draw-heatmap.r > output.pdf
It should look something like this.