Giter Site home page Giter Site logo

Simulating heterozygous SNPs? about simug HOT 1 OPEN

yjx1217 avatar yjx1217 commented on August 26, 2024
Simulating heterozygous SNPs?

from simug.

Comments (1)

yjx1217 avatar yjx1217 commented on August 26, 2024

Hi, Alexis-Catherine,

simuG introduces variants to the haploid version of the specified genome, with which you can further simulate reads on top of the variant-carrying genome output by simuG with any read simulators. So you can simulate two different haploid version of variant-carrying genomes by simuG, with some of variants shared between the two simulated haploid genomes (i.e., homozygous variants) and the other variants differ between the two simulated haploid genomes (i.e., heterozygous variants). Here is a potential protocol:

  1. Based on your ref_genome, simulate random variants with simuG to generate sim_genome1 and sim_vcf1.
  2. Take the output vcf file sim_vcf1 generated by simuG in step (1) for modification, during which you can control which variants to keep (which will be homozygous variants) and which variants to change (which will be heterozygous variants). Let's call this modified vcf file as sim_vcf2.
  3. Simulate specified variants with simuG using sim_vcf2 as the input to generate sim_genome_2.
  4. Now you will have sim_genome1 and sim_genome2, which share some homozygous variants relative to the ref_genome but also have some heterozygous variants that segregates between sim_genome1 and sim_genome2.

Hope this helps~

Best,
Jia-Xing

from simug.

Related Issues (14)

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.