User Tools

Site Tools


wiki:merge_bw

This script uses

bigwigmerge

and

bedgraphtobigwig

#!/bin/bash
 
# Merge all the replicates together into merged .bw files.
 
# Use bigwigMerge
# Usage: bigWigMerge in1.bw in2.bw .. inN.bw out.bedGraph
 
bigWigMerge sample01_sort.bw sample02_sort.bw s0102_control_45min.bedGraph
bigWigMerge sample03_sort.bw sample04_sort.bw s0304_acetic_45min.bedGraph
bigWigMerge sample09_sort.bw sample10_sort.bw s0910_control_200min.bedGraph
bigWigMerge sample11_sort.bw sample12_sort.bw s1112_acetic_200min.bedGraph
 
 
 
 
# Use bedgraphtobigwig
# Usage: bedGraphToBigWig in.bedGraph chrom.sizes out.bw
 
bedgraphtobigwig s0102_control_45min.bedGraph sacCer3.chrom.sizes s0102_control_45min.bw
bedgraphtobigwig s0304_acetic_45min.bedGraph sacCer3.chrom.sizes s0304_acetic_45min.bw
bedgraphtobigwig s0910_control_200min.bedGraph sacCer3.chrom.sizes s0910_control_200min.bw
bedgraphtobigwig s1112_acetic_200min.bedGraph sacCer3.chrom.sizes s1112_acetic_200min.bw
wiki/merge_bw.txt · Last modified: 2018/11/29 06:39 by erin