## To generate bigwig from bedGraph files: conda activate ucsc for file in *?.bdg; do bedGraphToBigWig ${file} ~/mbdata/CMdiff_10XMO_EB_d8/genome/refdata-cellranger-arc-GRCh38-2020-A-2.0.0/genome.fa.sizes ${file/bdg/bw}; done