Skip to content

monnieb92/MergeBigWig_fromdeeptoolsbw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MergeBigWig_fromdeeptoolsbw

Create and activate a conda enviornment

conda create --name Deeptools_envir
conda activate Deeptools_envir
conda install -c bioconda deeptools 
conda install -c bioconda ucsc-bigwigmerge 
conda install -c bioconda ucsc-bedgraphtobigwig 

Example:

bamCoverage -b ../4617_bam/4617-MB-5.hg19.32020.sorted.F4q10.bam -bs 20 -p 6 -of 'bigwig' -o Kas_flag_S5_minusdT.A.normTC.bs20.bw --scaleFactor 1.43

bamCoverage -b ../4617_bam/4617-MB-6.hg19.32120.sorted.F4q10.bam -bs 20 -p 6 -of 'bigwig' -o Kas_flag_S5_minusdT.B.normTC.bs20.bw --scaleFactor 0.9587

bigWigMerge Kas_flag_S5_minusdT.A.normTC.bs20.bw Kas_flag_S5_minusdT.B.normTC.bs20.bw Kas_flag_S5_minusdT.merged.normTC.bedGraph
sort -k1,1 -k2,2n Kas_flag_S5_minusdT.merged.normTC.bedGraph > Kas_flag_S5_minusdT.merged.normTC.sorted.bedGraph
bedGraphToBigWig Kas_flag_S5_minusdT.merged.normTC.sorted.bedGraph /Users/monicabomber/bin/homer/data/genomes/hg19/chrom.sizes Kas_flag_S5_minusdT.merged.normTC.bw

*** for computeMatrix make sure to include --missingDataAsZero when preparing to plotHeatmaps with merged bigwig files ***

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published