Entering edit mode
7.6 years ago
sukesh1411
▴
30
Hi,
I am running tblastn standalone in ubuntu. I wanted to sort the output format 0 (pairwise)using percentage identity. I am able to do this with output format 6 or 7, but not with 0.
Thanks
To get more help, please provide the command that you're running to sort it, and an example of the output (4-5 lines).
Hi
The command used for tblastn
tblastn -query allpeptide.fa -subject BDCS01.1.fsa_nt -outfmt 0 > results.txt. In 6 or 7 format i can export the results into excel and sort it based on the percentage identity, but in these formats i cant visualize the pairwise alignment results.
output file of format 0(pair wise)
Thanks
Please add the "code" tag to your output copypaste, it's impossible to understand like this. It's the 5th button from the left of your editor.
As @genomax2 said here, it's impossible to
sort
such file because you don't have each line structured in the same way as the previous one (this is how sorting goes). To sort such type of file perhaps some Bioperl or Biopython modules exist, but it's definitely impossible to do it through command line.How would one be able to
sort
pair-wise text alignment results (format 0
)? Other formats are sortable since they are pure numeric. If you need to filter your results above a certain alignment % (or something along those lines) then use an appropriate combination of blast paramters along with your-outfmt 0
directive.I suggest rerun the blast with outfmt 11, and convert it to any other outfmt (6 or 7) with
blast_formatter
.