Skip to content

Commit 27520f3

Browse files
authored
Initial commit.
1 parent 13bb4a9 commit 27520f3

File tree

3 files changed

+839
-0
lines changed

3 files changed

+839
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
simdms
2+
======
3+
4+
simdms is a script for simulating deep mutational scanning data. These datasets are intended to be analyzed using [Enrich2](https://github.com/FowlerLab/Enrich2/). For more information or to cite simdms, please refer to [Enrich2: a statistical framework for analyzing deep mutational scanning data](http://biorxiv.org).
5+
6+
Dependencies
7+
------------
8+
9+
simdms runs on Python 2.7 and requires the following packages:
10+
11+
* [NumPy](http://www.numpy.org/) version 1.10.4 or higher
12+
* [SciPy](http://www.scipy.org/) version 0.16.0 or higher
13+
* [pandas](http://pandas.pydata.org/) version 0.18.0 or higher
14+
* [PyTables](http://www.pytables.org/) version 3.2.0 or higher
15+
16+
We recommend using a scientific Python distribution such as [Anaconda](https://store.continuum.io/cshop/anaconda/) or [Enthought Canopy](https://www.enthought.com/products/canopy/) to install and manage dependencies. PyTables may not be installed when using the default settings for your distribution. If you encounter errors, check that the `tables` module is present.
17+
18+
To use simdms, git clone or download the repository and run `python simdms.py config.json` from its root directory. simdms takes a json-formatted configuration file as the command line argument.
19+
20+
Questions?
21+
----------
22+
23+
Please use the [GitHub Issue Tracker](https://github.com/FowlerLab/simdms/issues) to file bug reports or request features.
24+
25+
simdms was written by [Alan F Rubin](mailto:[email protected]) and Hannah Gelman.

config.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"binding": {
3+
"max effect": 1.0,
4+
"min effect": 0.05,
5+
"sigma": 0.1,
6+
"wt effect": 0.5,
7+
"wt pctile": 75
8+
},
9+
"experiment": {
10+
"depths": [
11+
200
12+
],
13+
"replicates": 5,
14+
"rounds": 6
15+
},
16+
"growth": {
17+
"max effect": 5.0,
18+
"min effect": 0.05,
19+
"sigma": 0.1,
20+
"wt doublings": 2,
21+
"wt effect": 1.0,
22+
"wt pctile": 75
23+
},
24+
"noise": {
25+
"jackpot": {
26+
"mult high": 50,
27+
"mult low": 50,
28+
"pct high": 5,
29+
"pct low": 5
30+
},
31+
"reperror": {
32+
"freq": 0.1
33+
}
34+
},
35+
"outdir": ".",
36+
"population": {
37+
"size": 10000000,
38+
"starting counts sigma": 0.4,
39+
"starting wt freq": 0.01,
40+
"variants": 10000
41+
}
42+
}

0 commit comments

Comments
 (0)