Skip to content

Commit

Permalink
Add progress bar to FOS script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Piper committed Jun 7, 2015
1 parent dc0eb01 commit e5bd52d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyDNase/scripts/dnase_fos_scorer.py
Expand Up @@ -17,6 +17,7 @@

import argparse
import pyDNase
from clint.textui import progress

parser = argparse.ArgumentParser(description='writes a BED file with the FOS for the interval specified as the score')
parser.add_argument("-A",action="store_true", help="ATAC-seq mode (default: False)",default=False)
Expand All @@ -29,6 +30,6 @@
regions = pyDNase.GenomicIntervalSet(args.regions)

outfile = open(args.output,"w")
for i in regions:
for i in progress.bar(regions):
i.score = reads.FOS(i)
print >> outfile, i

0 comments on commit e5bd52d

Please sign in to comment.