-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrapper for sim. Check if saved already and if yes load. Cluster befo…
…re and after violinplot.
- Loading branch information
Isaac Shamie
committed
Oct 26, 2020
1 parent
772b7e7
commit 1b49ccc
Showing
17 changed files
with
294 additions
and
37 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# One set of parameters for simulating cells and their lineages | ||
local_outdir: 'simulation' | ||
prefix: 'sweep_v01' | ||
num_iterations: 1000 | ||
num_cells: 10000 | ||
num_mt_positions: 10 | ||
|
||
cpus: 36 | ||
|
||
initialize: | ||
coverage: | ||
type: 'constant' # {'poisson', 'constant', 'growth'} | ||
cov_constant: 50 | ||
poisson_mu_per_cell: 50 | ||
|
||
clone_sizes: #distribution of clone sizes. The first one is the non-clone population. Length should be len(het)+1, and it should sum to 1 | ||
[0.5, 0.4, 0.1] | ||
|
||
mt_clone_map: | ||
# [(10), (16500)] | ||
# [(10), (16500), (16500, 7)] | ||
|
||
het: # Heterozygous values | ||
[0.2, 0.2] | ||
het_err_rate: 0.05 | ||
|
||
|
||
sequence_subsample: #10000 | ||
|
||
growth: | ||
type: binomial | ||
binomial: | ||
rates: [0.1, 0.8, 0.01] | ||
time_steps: 10 | ||
#type: poisson | ||
poisson: | ||
rates: [0.05, 1, 0.9] | ||
mutant_af_sigma_noise: 0.05 | ||
non_mutants: | ||
to_mutate: False | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
parameters/simulation/test_sweep.yaml → parameters/simulations/test_sweep.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# One set of parameters for simulating cells and their lineages | ||
local_outdir: 'simulation' | ||
outdir: 'simulation' | ||
prefix: 'test_sweep' | ||
#num_iterations: 100 | ||
#num_cells: 10000 | ||
#num_mt_positions: 10 | ||
|
||
grid: | ||
cov_constant: [5, 100] | ||
dominant_clone_sizes: [0.02,0.2, 0.4] | ||
dominant_clone_sizes: [0.02,0.2] | ||
dominant_het: [0.02, 0.2] | ||
dominant_growth: [0.1, 0.5] | ||
het_err_rate: [0.05, 0.15] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.