% sudo apt-get install gcc % sudo apt-get install libgtk2.0-dev % sudo apt-get install pdftk
% tar -xvzf drompa-1.*.*.tar.gz
% make
% export PATH = $PATH:$HOME/my_chipseq_exp/drompa_1.*.*
% parse2wig -i ChIP.bowtie -o ChIP -binsize 10 -F3 50 -gt genome_table-hg19.txt
% parse2wig -i ChIP.bowtie -o ChIP -binsize 10 -F3 50 -gt genome_table-hg19.txt -pair
file formats: -bowtie / -sam (default:bowtie) -pair: for paired-end file -odir: output directory name (default:parse2wig) -binsize: bin size (default: 10bp) -tf: PCRbias threshold (default: over max(1, 10*exp(r)) reads) -F3: forward read length (default: 50) -flen: expected flagment length (default: 150) -of: 0;binary file, 1;compressed wig file (.wig.gz), 2;uncompressed wig file (.wig) (default: 0) -norm : 0;do not normlize 1;normlize for genome (RPM) 2;normlize for chromosome (RPKM) (default:2) -nofilter: do not filter PCR bias
% drompa -i parse2wigdir/ChIP -w parse2wigdir/Input -p ChIP -optype3 -gt genome_table-hg19.txt
-binsize: bin size (default: 10) -bs : change bin size of each sample -nosm: do not smooth reads distribution -sw : smoothing width (default: 500bp) -optype : output type 1:all (default) 2:only figure 3:only peak file
-cont: bin number of each window (default: 30 bins) -ipm : maximum read intensity normalized in each ChIP bin (default: 6) -pthre : p-value threshold (default: 1e-4) -ethre : threshold of IP/WCE enrichment (default: 3.0) -ethre2 : second threshold of IP/WCE enrichment (default: 1.5) -ithre : threshold of IP peak/IP genome average (default: 3.0) -nosig: do not implement significant test (default: off)
-showratio: display enrichment ratio in liner scale (default: off) -showlogratio: display enrichment ratio in log10 scale (default: off) -notag: do not display ChIP and WCE tag line (default: off) -wtag: display all WCE read lines (default: off) -wtag1: display first WCE read line only (default: off)
-r: specify the regions to visualize -LS : length per one line (kb) (default: 100 kb) -ystep : height of tag line (default: 20) -bn : number of separations for y-axis (default: 2) -chr : output only a chromosome specified -LPP : number of lines per one page (kb) (default: 3) -scale_tag : scale of tag line -scale_ratio : scale of ratio line -scale_pvalue : scale of p_value line -wg: whole-genome view -overlook: overlook bed files
-profile: (1; around TSS, 2; around TES, 3; divide gene into 100 subregions 4; around BED sites) -cw : width from the center (default: 5 kb)
-g_ref: RefSeq gene list -g_ens : Ensembl gene list -g_scer : S.cerevisiae gene list -g_spom : S.pombe gene list -repeat : Repeat list -ars : ARS list (for S.cerevisiae) -showars: display ARS only (do not display genes) -ter : TER list (for S.cerevisiae) -bed : specify the bedfile -bedname : specify the name of bedfile -graph : show graph such as GCcontents (default: none) -gcsize : resolution of GCcontents graph (default: 0)
-rmchr: do not output each chromosome pdf file -if: 0;binary file, 1;compressed wig file (.wig.gz), 2;uncompressed wig file (.wig) (default: 0) -png: output with png format (Note: output file is not merged)
% bowtie UCSC-hg19 ChIPsample1.fastq -n3 -m1 > ChIPsample1-n3-m1-hg19.bowtie % bowtie UCSC-hg19 ChIPsample2.fastq -n3 -m1 > ChIPsample2-n3-m1-hg19.bowtie .... % bowtie UCSC-hg19 ChIPsampleN.fastq -n3 -m1 > ChIPsampleN-n3-m1-hg19.bowtie % bowtie UCSC-hg19 WCEsample.fastq -n3 -m1 > WCEsample-n3-m1-hg19.bowtie
% parse2wig -i ChIPsample1-n3-m1-hg19.bowtie -o ChIPsample1-n3-m1-hg19 -binsize 10 -F3 50 -gt genome_table-hg19.txt % parse2wig -i ChIPsample2-n3-m1-hg19.bowtie -o ChIPsample2-n3-m1-hg19 -binsize 10 -F3 50 -gt genome_table-hg19.txt .... % parse2wig -i ChIPsampleN-n3-m1-hg19.bowtie -o ChIPsampleN-n3-m1-hg19 -binsize 10 -F3 50 -gt genome_table-hg19.txt % parse2wig -i WCEsample-n3-m1-hg19.bowtie -o WCEsample-n3-m1-hg19 -binsize 10 -F3 50 -gt genome_table-hg19.txtThe output directory "parse2wigdir" (default name) is created automatically, and the chromosome-separated wig data are placed in that directory.
% drompa -i parse2wigdir/ChIPsample1-n3-m1-hg19 -w parse2wigdir/WCEsample-n3-m1-hg19 -p ChIPsample1-n3-m1-hg19-10 -optype3 -gt genome_table-hg19.txt -ipm 10 -binsize 10
% drompa -i parse2wigdir/ChIPsample1-n3-m1-hg19 -w parse2wigdir/WCEsample-n3-m1-hg19 -p ChIPsample1-n3-m1-hg19-10 -optype3 -gt genome_table-hg19.txt -ipm 30 -nosm
% drompa -g_scer gene_scer.txt $s1 $s2 ... $sN -p ChIPseq_yeast-n3-k1-10 -LPP3 -binsize 10 -showratio -notag -LS50 -optype2 -gt genome_table_scer -nosig -scale_ratio 2 -rmchr
% drompa -showars -ars ARS-oriDB_scer.txt $s1 $s2 ... $sN -p ARS$postfix -gt genome_table_scer -optype2 -LS100 -LPP2 -binsize 10 -notag -showratio -scale_ratio 1 -bn 3 -ystep 14 -rmchr -divide -ethre 2 -ethre2 1.5 -ipm 1
% s1="-i parse2wigdir/ChIPsample1-n3-m1-hg19 -w parse2wigdir/WCEsample-n3-m1-hg19 -name ChIPsample1" % s2="-i parse2wigdir/ChIPsample2-n3-m1-hg19 -w parse2wigdir/WCEsample-n3-m1-hg19 -name ChIPsample2" .... % sN="-i parse2wigdir/ChIPsampleN-n3-m1-hg19 -w parse2wigdir/WCEsample-n3-m1-hg19 -name ChIPsampleN" % drompa -g_ref refFlat_hg19.txt $s1 $s2 ... $sN -p ChIPseq-n3-m1-hg19-10 -optype2 -gt genome_table-hg19.txt -LS1000 -binsize 10
% echo "chr1 39500000 40000000" > MACF1.txt % drompa -g_ref refFlat_hg19.txt $s1 $s2 ... $sN -p MACF1-n3-m1-hg19-10 -optype2 -gt genome_table-hg19.txt -r MACF1.txt -LS300 -binsize 10
% drompa -g_ref refFlat_hg19.txt $s1 $s2 ... $sN -p MACF1-n3-m1-hg19-10 -optype2 -gt genome_table-hg19.txt -r MACF1.txt -LS300 -binsize 10 -bed enhancer_hg19.txt -bedname enhancer
% drompa -g_ref refFlat_hg19.txt $s1 $s2 ... $sN -p ChIPseq_broad-n3-m1-hg19 -optype2 -gt genome_table-hg19.txt -LS2000 -scale_tag 25 -binsize 1000 -sw 2000 -ethre 2.0
% drompa -wg $s1 $s2 ... $sN -p ChIPseq-wholegenome-n3-m1-hg19 -binsize 100000 -optype2 -gt genome_table-hg19.txt -showratio -scale_ratio 1 -graph GCcontents -gcsize 500000 -notag
% drompa -profile1 -g_ref refFlat.txt $s1 $s2 ... $sN -p aroundTSS -gt genome_table-hg19.txt
% R --vanilla aroundTSS.R