Permalink
Browse files

Run for not too many iterations

  • Loading branch information...
1 parent 2a0f127 commit f42121f497a5842cb77531b1808ca12fd062e8f4 @ozagordi ozagordi committed Dec 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 amplian.py
View
@@ -141,7 +141,7 @@ def main(in_bam='', in_fasta='', min_overlap=0.95, max_coverage=50000,
n_reads = int(h.split()[-1])
assert os.path.exists(win_file), 'window file not found'
diri_exe = os.path.join(dn, 'diri_sampler')
- iterations = max(20000, n_reads * 10)
+ iterations = min(20000, n_reads * 10)
diri_args = '-i %s -j %d -a 0.1 -t 2000' % (win_file, iterations)
ret_diri = run_child(diri_exe, diri_args)

0 comments on commit f42121f

Please sign in to comment.