Stranded bamToBigWig - SabaLab/RNASeq_Scripts GitHub Wiki

Convert stranded bam files to plus and minus strand bigWig files.

Usage: bamToBigWig.Stranded.sh /path/to/DirWBam bamFileName /path/to/BigWigOutput chromSizesFile

Convert stranded bam alignments file into 2 bigWig files. One for the plus strand
one minus strand. Creates additional temporary files in the working directory with the
bam file. Note: If your chrom.sizes start with chr and intermediate bedGraph files
don't you need use bamToBigWig.Stranded.wChr.sh as this will insert 'chr' on each line.

1- Working Directory
2- Bam file
3- BigWig Output Path
4- Chrom.sizes file