Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 2.84 KB

ChIP-seq.config.md

File metadata and controls

63 lines (48 loc) · 2.84 KB

ChIP-seq configuration

Huitian Diao (Yolanda)

Oct 29, 2018

Bioconda

So easy, your grandfather could do this...

1. Bioconda

1.0 Install bioconda (If you never installed conda on your computer)

1.1 Setting up python2.7 virtual environment

conda create -n chip python=2.7
source activate chip # To activate the virtual environment
  • All the following steps are under virtual environment chip. When virtual environment is activated, you can see (chip) at the start of your command prompt
  • For using jupyter notebook in virtual environment, everything should be the same except before you type in jupyter notebook, use source activate chip

2. Tool installation

conda install sra-tools fastqc multiqc samtools trim-galore bowtie2 macs2 ucsc-bedgraphtobigwig
# Usage: trim_galore (can not call it by trim-galore :D)

3. R package installation

Option #1: Through Bioconda

conda install -c bioconda bioconductor-chipqc bioconductor-deseq2
conda install bioconductor-chipseeker bioconductor-clusterprofiler

Option #2: Through Bioconductor

If the installation through conda did not work for the bioconductor packages, please start a R kernel in jupyer notebook and then enter the following commands,

install.packages("BiocManager")
BiocManager::install(c("ChIPQC", "ChIPseeker", "clusterProfiler", "DESeq2"))