Coder Social home page Coder Social logo

Comments (6)

stschiff avatar stschiff commented on July 29, 2024

from msmc.

andrewkern avatar andrewkern commented on July 29, 2024

Thanks-that makes sense.

I've gone ahead and done a simulation of 20 100Mb chromosomes using msprime under your Zig-Zag model.

#simulate 20 chromosomes, each 100Mb long
for i in `seq 1 20`; do mspms 4 1 -t 71560.0000000 -r 20000.0000 100000000 -eN 0 5 -eG 0.000582262 1318.18 -eG 0.00232905 -329.546 -eG 0.00931619 82.3865 -eG 0.0372648 -20.5966 -eG 0.149059 5.14916 -eN 0.596236 0.5 -T | ./ms2multihetsep.py 1 100000000 > test_${i}.txt & done

#run msmc on all outputs
msmc --fixedRecombination -o my_msmc_output test_1.txt test_2.txt test_3.txt test_4.txt test_5.txt test_6.txt test_7.txt test_8.txt test_9.txt test_10.txt test_11.txt test_12.txt test_13.txt test_14.txt test_15.txt test_16.txt test_17.txt test_18.txt test_19.txt test_20.txt

Here is the resulting figure
Figure_2

It looks a bit better, but certainly not very similar to your figure. Reading your supplement I was under the assumption that the Zig-Zag model as listed was what you had run to generate Figure 2. Perhaps that is not the case? If not can you please share the correct parameters for those simulations?

thanks again,
Andy

from msmc.

stschiff avatar stschiff commented on July 29, 2024

from msmc.

andrewkern avatar andrewkern commented on July 29, 2024

Sure- will email now.

from msmc.

andrewkern avatar andrewkern commented on July 29, 2024

A bit more follow-up. I was concerned that perhaps msmc didn't like the chromosome names that I was handing it, so I reran simulations in the following way and got similar results

for i in `seq 1 20`; do mspms 4 1 -t 71560.0000000 -r 20000.0000 100000000 -eN 0 5 -eG 0.000582262 1318.18 -eG 0.00232905 -329.546 -eG 0.00931619 82.3865 -eG 0.0372648 -20.5966 -eG 0.149059 5.14916 -eN 0.596236 0.5 -T | ./ms2multihetsep.py ${i} 100000000 > test_${i}.txt & done

msmc --fixedRecombination -o my_msmc_output test_1.txt test_2.txt test_3.txt test_4.txt test_5.txt test_6.txt test_7.txt test_8.txt test_9.txt test_10.txt test_11.txt test_12.txt test_13.txt test_14.txt test_15.txt test_16.txt test_17.txt test_18.txt test_19.txt test_20.txt

results below

Figure_3

from msmc.

stschiff avatar stschiff commented on July 29, 2024

continued this discussion offline.

from msmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.