initial commit bamProfiler.py (ira's copy)