Traceback (most recent call last):
File "/home/natep/projects/stdpopsim/ploidy-pop-size.py", line 6, in <module>
engine.simulate(model, contig, {"pop_0":2})
File "/home/natep/.miniconda3/envs/eucpru-sim/lib/python3.10/site-packages/stdpopsim/engines.py", line 286, in simulate
ts = msprime.sim_ancestry(
File "/home/natep/.miniconda3/envs/eucpru-sim/lib/python3.10/site-packages/msprime/ancestry.py", line 1207, in sim_ancestry
sim = _parse_sim_ancestry(
File "/home/natep/.miniconda3/envs/eucpru-sim/lib/python3.10/site-packages/msprime/ancestry.py", line 1010, in _parse_sim_ancestry
return Simulator(
File "/home/natep/.miniconda3/envs/eucpru-sim/lib/python3.10/site-packages/msprime/ancestry.py", line 1318, in __init__
super().__init__(
msprime._msprime.InputError: Input error in set_gene_conversion_tract_length: Bad parameter value provided
It works fine with contig = sp.get_contig("1") -- so may have to do with how mean GC tract length is calculated from per-chromosome GC tract lengths? But, the snippet above works fine for generic EscCol contigs, which should involve very similar calculations ...
With:
I get:
It works fine with
contig = sp.get_contig("1")
-- so may have to do with how mean GC tract length is calculated from per-chromosome GC tract lengths? But, the snippet above works fine for generic EscCol contigs, which should involve very similar calculations ...