How to get list of different bases and their positions from an alignment?
1
0
Entering edit mode
6.5 years ago
SaltedPork ▴ 170

I am aligning two viral genomes which I am expecting to be >90% similar. I would like a list of the changes (from one base to another) and their locations in the genome. Which program(s) can I use to achieve this? I have already tried lastz's --census option, but it only tells you if a base is aligned, not whether it is identical. Thanks.

alignment • 1.3k views
ADD COMMENT
1
Entering edit mode

Hi SaltedPork,

I have reopened this question, there is not really a need to delete it.

Cheers,
Wouter

ADD REPLY
0
Entering edit mode

Hello,

is your data from a sequencing project or do you just have the reference sequences you like to compare?

fin swimmer

ADD REPLY
0
Entering edit mode

Hi, just the sequences i'm comparing.

ADD REPLY
1
Entering edit mode

Hi,

how have you done the alignment? How does the output look like?

fin swimmer

ADD REPLY
0
Entering edit mode

they are about 92% similar, ~700 base difference

ADD REPLY
0
Entering edit mode

That does not answer @finswimmer's question about format of the output.

ADD REPLY
2
Entering edit mode
6.5 years ago

If I understand correctly you want to align to reference genomes and find the differences. If so, you could try minimap2 to align both using the -cx asm5 option. Scripts are available in that repo (paftools) to get the differences.

ADD COMMENT

Login before adding your answer.

Traffic: 1677 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