import sys
import os
import re
import tempfile
import itertools
import pybedtools
import subprocess
#adding the lib path
sys.path.append('/Users/abhishek/dev/appys/lib/')
import bamUtils
bamFile = "/Users/abhishek/testing/datasets/syn2247330_subsampled.bam"
bam_to_bigWig(bamFile,scale=True)
Created a bigWig file syn2247330_subsampled.bw for syn2247330_subsampled.bam