Skip to content

Commit 27f7079

Browse files
Dimandreasprlic
authored andcommitted
/* The problem is that thre is no flexible xml -> html generation in biojava... */
1 parent 218d72f commit 27f7079

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

_wikis/BioJava_talk:CookBook:Blast:XML.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,28 @@ thing to add ;-)
4040
Best regards
4141

4242
--[Foisys](User:Foisys "wikilink") 15:45, 30 July 2007 (EDT)
43+
44+
Well, if I understand you right you would like to have something like:
45+
46+
blast/fasta result file --\> BioJava SAX events (as it is now) --\> XML
47+
(constructed from these events) --\> HTML (through XSL from previous
48+
generated XML)
49+
50+
The problem is that plain blast/fasta parsers are not bug free and
51+
always has issues with different versions. I spent few hours playing
52+
with FASTA parser trying to convert it into XML and found several ...
53+
bugs? I mean that I'm using newer version so the parser doesn't
54+
recognize several parameters and generates an exception. More. The only
55+
thing the biojava parser does is to separate alignments an wrap them
56+
into xml tags...
57+
58+
I've been told not to spend too much time to this task, but when I have
59+
a time I'd like to do my best...
60+
61+
You can see what I'm doing (well it's no a production yet, so definitely
62+
has many bugs and we haven't all the databases yet installed) at
63+
<http://inb.bsc.es/gn6/>
64+
65+
Best regards,
66+
67+
Dmitry

_wikis/BioJava_talk:CookBook:Blast:XML.mediawiki

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,24 @@ I conceed the point so why not write a wrapper utility class to include in BioJa
2626

2727
Best regards
2828

29-
--[[User:Foisys|Foisys]] 15:45, 30 July 2007 (EDT)
29+
--[[User:Foisys|Foisys]] 15:45, 30 July 2007 (EDT)
30+
31+
Well, if I understand you right you would like to have something like:
32+
33+
blast/fasta result file -->
34+
BioJava SAX events (as it is now) -->
35+
XML (constructed from these events) -->
36+
HTML (through XSL from previous generated XML)
37+
38+
The problem is that plain blast/fasta parsers are not bug free and always has issues with different versions.
39+
I spent few hours playing with FASTA parser trying to convert it into XML and found several ... bugs?
40+
I mean that I'm using newer version so the parser doesn't recognize several parameters and generates an exception.
41+
More. The only thing the biojava parser does is to separate alignments an wrap them into xml tags...
42+
43+
I've been told not to spend too much time to this task, but when I have a time I'd like to do my best...
44+
45+
You can see what I'm doing (well it's no a production yet, so definitely has many bugs and we haven't all the databases yet installed) at http://inb.bsc.es/gn6/
46+
47+
Best regards,
48+
49+
Dmitry

0 commit comments

Comments
 (0)