forked from myoungblom/RGAPepPipe_MAY
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiQC.sh
More file actions
36 lines (27 loc) · 917 Bytes
/
multiQC.sh
File metadata and controls
36 lines (27 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
##this script generates an html report for all of the QC files from RGA pep pipeline.
echo "installing miniconda..."
export HOME=$PWD
export PATH
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh -b -p $PWD/miniconda3
export PATH=$PWD/miniconda3/bin:$PATH
##Adding channels
echo "adding channels..."
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
echo "installing multiqc..."
conda install multiqc
echo "tar multiQC ..."
tar -xzf multiQC-2.tar.gz
cd multiQC-2
echo "untaring bamqc..."
for f in *bamqc.tar.gz; do tar -xzf $f; done
echo "running multiqc..."
multiqc -ds .
mv multiqc_report.html multiqc_data/
mv multiqc_data/ multiQC-2-report
tar -czvf multiqc-2-report.tar.gz multiQC-2-report/
mv multiqc-2-report.tar.gz ../