Parse Web Blast Output
3
3
Entering edit mode
12.8 years ago
Empyrean ▴ 170

I have installed NCBI wwwblast at our local server and blast is running absolutely fine. I wanted to refine the html output which the blast is showing. For example, while showing alignment description, i wanted to make the "Subjcet" as a hyperlink and guide it to show in gbrowse. Can anyone suggest me how to achieve this?

For example, the default output is shown below.

    >gb|FJ032364.1| hypothetical resistant gene, complete
           cds
          Length = 1905

 Score =  634 bits (320), Expect = e-179
 Identities = 320/320 (100%)
 Strand = Plus / Plus


Query: 1   atgaatagtgtattgaatactggaagaactactatttgtgatgcgtataatgtagcggct 60
           ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sbjct: 1   atgaatagtgtattgaatactggaagaactactatttgtgatgcgtataatgtagcggct 60

I would like to see "Sbjct:" as a hyperlink created by me. I have the www libraries but dont know which one to change this.. Please some one suggest me.

blast sequence • 3.4k views
ADD COMMENT
2
Entering edit mode
12.7 years ago
Yannick Wurm ★ 2.5k

Sequenceserver is an alternative to ncbi's wwwblast. Ben Woodcroft recently added precisely the feature you request:

In the customization.rb file, uncomment the construct_custom_sequence_hyperlinking_line method and implement your changes there

ADD COMMENT
1
Entering edit mode

the file is now links.rb

ADD REPLY
1
Entering edit mode
12.7 years ago
Yogesh Pandit ▴ 520

BLAST Output Visualization Tool (BOV), allows users to interactively visualize the matching regions of query and database hit sequences, thereby allowing the user to quickly and easily dissect complex matching patterns.

ADD COMMENT
0
Entering edit mode
12.7 years ago
Dvhh • 0

I would recommend using the xml output (-m 7) and use XSLT which would help you format the information the way you want.

ADD COMMENT

Login before adding your answer.

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