Coder Social home page Coder Social logo

Comments (2)

MarkusRainerSchmidt avatar MarkusRainerSchmidt commented on June 29, 2024

Hi,

Generally speaking, it is possible to align against any genome you want. The less related the genome, the more the aligner will struggle to produce good alignments. By adjusting parameters, you should be able to offset this to a certain degree.
If you think that you are getting suboptimal alignments, I would suggest trying this:

  • Switch to SMEMs -s SMEMs. SMEMs are a seed set that contains much more seeds that the max. spanning seed set; computing them will make the aligner slower but you may get more hits.
  • Reduce drop-offs as e.g. --SoC_Score_Drop-off 0.05 and --Seeding_Drop-off_B_-_Factor 0.0025. This will make the aligner look at more candidates for alignments – if such candidates are produced by the seeds.

It looks like you are working with a large genome. Genome size by itself is not a problem, however if the reference genome you are using contains many repeats, it might be necessary to increase the minimal seed length: e.g. -l 17/-l 18. This parameter has an upper and a lower limit:

  • If set so too low, millions of “noise seeds” will be computed and lead to slow and wrong alignments. This minimal value is determined by the repetitiveness of the genome you use as reference. E.g. if 90% of all 16nt long sequences exist >100.000 times on your genome a minimal seed size of 15nt is too low. The --Maximal_Ambiguity controls at what point seeds are discarded; increasing this value will extend the minimal seed length range downwards for the price of additional runtime.
  • If set too high no seeds and therefore no alignments will be computed. This maximal value is determined by the difference between read and genome. E.g. if the read has an error every 15nt a minimal seed size of 16nt is too high.

Here, your specific combination of a large genome (and therefore presumably repetitive genome) that is only form a related species might mean that there is very few wiggle room for this parameter.

By using the python interface, it is possible to check the computed seeds and SoCs (before as well as after the harmonization). So if you can’t get a good parameter combination by trial and error this is the way to look into what’s going on inside the aligner (if you need help with this just let us know).

from ma.

shri1984 avatar shri1984 commented on June 29, 2024

Thank you very much. I am on it now. Let you know how it goes.

from ma.

Related Issues (16)

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.