Description Usage Arguments Value Examples
Write out multiHetSep (input of MSMC/PSMC') of simulated individual.
1 | generateMultiHetSep(msprimeVCFPath, outpath)
|
outpath |
Output path for the multiHetSep file that is being generated. |
msprimeVCF |
Path to the msprime generated VCF. |
Returns nothing. But writes a multihetsep (input to PSMC'/MSMC) file to the given outpath.
1 2 3 4 5 6 7 | msmcInference<-readMSMCInference(pathOfMSMCOutFinal = "../data/msprimeMultiHetSep/simulatedMsprime.oak.msmc.out.final.txt", mutationRate = 1e-8)
populationParametersChange<-generatePopulationParameterChanges(msmcInference)
generateMSPrimeFunction( outPath = "../code/msmc2msprime_Feb1.py", PopulationParametersChangeInput=populationParametersChange)
source_python("../code/msmc2msprime_Feb1.py")
simulation<-msmc_model(length=3e5, seed=30, mu=1.01e-08)
writeVCFOfSimulation(simulation, outpath = "../data/msprimeQLob.vcf", ploidy=2)
generateMultiHetSep(msprimeVCF = "../data/msprimeQLob.vcf",outpath = "../data/msprimeQLob_multihetsep.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.