Install the following softares firstly:
ngsplt(https://github.com/shenlab-sinai/ngsplot)
MACS(https://github.com/taoliu/MACS)
ChipSeq(https://github.com/aiminy/ChipSeq)
#To download git clone https://github.com/aiminy/ChipSeq #To build R CMD build --resave-data ChipSeq if knitr is not installed, please install it by performing the following step R -e 'install.packages("knitr", dependencies = TRUE,repos = "http://cran.rstudio.org",lib="/nethome/axy148/R/lib64/R/library")' #To Install R CMD INSTALL ChipSeq_0.0.1.tar.gz -l ~/R/lib64/R/library/
input.file.dir="/projects/scratch/bbc/Project/Danny_chip/Alignment/BWA/" output.file.dir="/scratch/projects/bbc/aiminy_project/ genome="Hs" library(ChipSeq) PeakCallAndAnnotation(input.file.dir,output.file.dir,genome)
input.file.dir="/projects/scratch/bbc/Project/Danny_chip/Alignment/BWA/" output.file.dir="/scratch/projects/bbc/aiminy_project/ genome="Hs" BamFileSortIndexVisualization(input.file.dir,output.file.dir,genome)
You run this job on the linux cluster(pegasus)
```{bash eval=FALSE}
sh ~/R/lib64/R/library/ChipSeq/bin/BashRun.sh /projects/scratch/bbc/Project/Danny_chip/Alignment/BWA/ /scratch/projects/bbc/aiminy_project/ "Hs"
ls -lrth /scratch/projects/bbc/aiminy_project/
You will find the follwing latest directories that was created with a timestamp
/scratch/projects/bbc/aiminy_project/ReadBam_at_2016-12-01-18-58-57_PeakCall/
/scratch/projects/bbc/aiminy_project/ReadBam_at_2016-12-01-18-58-57_PeakAnnotation/
/scratch/projects/bbc/aiminy_project/ReadBam_at_2016-12-01-18-58-57_visualization/ ```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.