Skip to content

Commit

Permalink
Updated memory handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ctokheim committed Jun 14, 2016
1 parent 57a9c42 commit 58f6b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prob2020/python/permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def deleterious_permutation(obs_del,
num_permutations=10000,
stop_criteria=100,
pseudo_count=0,
max_batch=1000):
max_batch=25000):
"""Performs null-permutations for deleterious mutation statistics
in a single gene.
Expand Down Expand Up @@ -104,7 +104,7 @@ def position_permutation(obs_stat,
num_permutations=10000,
stop_criteria=100,
pseudo_count=0,
max_batch=1000):
max_batch=25000):
"""Performs null-permutations for position-based mutation statistics
in a single gene.
Expand Down
4 changes: 4 additions & 0 deletions tests/test_deleterious_permutation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ def test_100genes_main():
result = pt.main(opts)
num_del_sig = np.sum(result['inactivating BH q-value'] < .1)
assert num_del_sig < 7, 'Few of the 100 test genes should not be significant ({0})'.format(num_del_sig)


if __name__ == "__main__":
test_100genes_main()

0 comments on commit 58f6b45

Please sign in to comment.