Compare two sequences and obtain differences
0
1
Entering edit mode
4.6 years ago
ben.blais ▴ 10

Hello everyone, I would like to know if it is possible to align two sequences of 38 000 000 bases between them and to obtain a file corresponding to the differences between these two strains. I can visually see these results with IGV but I can not get the differences. Thank you and wish you a great day.

assembly genome alignment • 2.1k views
ADD COMMENT
0
Entering edit mode

How similar are the sequences?

You can align them with mummer and then parse the resulting alignment for variant positions with a custom script potentially.

ADD REPLY
0
Entering edit mode

For FAST comparison, you could use minimap2, see these example instructions https://github.com/lh3/minimap2/blob/master/misc/README.md#asmvar

ADD REPLY
0
Entering edit mode

Hello, thanks for your answers. I wanted to use MUMmer, but I can not get the differences between the sequences. One of the sequences is my reference, the other is a sequence obtained after assembly (Sequence b). I would like to be able to align the sequence B on the reference sequence in order to recover the differences (variants). I try to use Minimap2 too. Thanks you :)

ADD REPLY
0
Entering edit mode

When you say you couldn't get the differences, what do you mean exactly?

ADD REPLY
0
Entering edit mode

Hi and thanks you :) , when I use MUMmer I get a delta file but I do not know what to do with it. I would like to get the list of the differences between the sequence and the reference as a variant call (Position, base reference, alternative base). Is it possible with MUMmer?

ADD REPLY
0
Entering edit mode

See Mummer tutorial

https://mummer4.github.io/tutorial/tutorial.html

and the manual in the first paragraph of tutorial.

https://mummer4.github.io/manual/manual.html

There are a lot of helpful examples.

Mummer4 manual is below:

https://github.com/mummer4/mummer/blob/master/MANUAL.md

ADD REPLY

Login before adding your answer.

Traffic: 2258 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6