ITBE-Lab / MA

The Modular Aligner and The Modular SV Caller
MIT License
45 stars 3 forks source link

closely related species as a reference for seed #6

Open shri1984 opened 4 years ago

shri1984 commented 4 years ago

Hi, I am working on a genome expected size is around 10g. I just wonder is it possible to use a closely related genome as a seed for the alignment?

MarkusRainerSchmidt commented 4 years ago

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:

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:

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).

shri1984 commented 4 years ago

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