How can I format blastn output?
1
0
Entering edit mode
2.9 years ago
theo • 0

Hello, I have mainly used multiple sequence alignment, such as muscle which provides an output such as:

>seq1
ACT--GC
>seq2
ACT--GC
>seq3
etc.

I am attempting to do pairwise alignment using blastn, however rather than produce a sequence like the one above, it outputs like this: enter image description here

I want to format this file such that it will appear like msa format, because I want to use a software(MEGA) that only accepts data in that form.

>query
ACT--GC
>subject
ACT--GC

I'm currently trying to use -outfmt for blastn on cmd line, but not sure which sequence of commands will generate the desired outcome. Any help is greatly appreciated. Thanks.

blast pairwise blastn alignment • 820 views
ADD COMMENT
1
Entering edit mode
2.9 years ago
GenoMax 142k

Answers here should help: Converting ANY blast output file to an alignment fasta file.

Blast can not produce output in "aligned fasta" format which is what you are looking for.

ADD COMMENT
0
Entering edit mode

Thanks so much!

ADD REPLY

Login before adding your answer.

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