Coder Social home page Coder Social logo

Comments (3)

cheny19 avatar cheny19 commented on May 30, 2024 1

Hi,

First, you need to calculate the size of the genome you are trying to simulate, which is the sum of 10 contigs in your case. Then 10X coverage means on average, each based is covered 10 times, so 10 * genome size is the total number of bases you want to simulate. Suppose the average length of your training reads is x, then you will probably need total number of bases / x reads. Hope that helps. Please keep in mind that if the contig length is shorter than the average training read length, you probably won't get the coverage you need.

Thanks,
Chen

from nanosim.

harisankarsadasivan avatar harisankarsadasivan commented on May 30, 2024

when the length of reference in simulation is smaller than the template used for training, we configure the max_len parameter right? In this case, should the x in the above formula be replaced with the max_len value?

from nanosim.

cheny19 avatar cheny19 commented on May 30, 2024

The x here is the average read length, not max_len. But if your max_len and min_len range is very different from the training set, it should be changed accordingly.

from nanosim.

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.