$ python get-pip.py $ pip install bccb python import bccb python import bccb sequence = bccb.DNA('ATGCGATCGATCGTACGATCG') base_count = sequence.count_bases() for base, count in base_count.items(): print(base + ": " + str(count))