[Biojava-l] BioSQL implementation bugs
Simon Foote
foote@nrcbsa.bio.nrc.ca
Fri, 08 Mar 2002 13:40:18 -0500
I've been messing with the BioSQL implementation and have found a couple
of bugs. Both are the result of the term_name in the ontology_term
table being a fixed length char (255).
1) The feature.byType() method gives the 255 char string, thus if you
want to filter by, for example "cds", it fails unless you put a trim()
on the string, but no sure where this needs to go for the filter.
2) Same thing happens with keys for the getAnnotation().getProperty()
method.
I hope that makes sense.
As for populating the database, it works great. I've dumped a couple of
bacterial genome genbank files into it without any troubles.
Cheers,
Simon Foote
--
Bioinformatics Specialist
Institute for Biological Sciences
National Research Council of Canada
[T] 613-991-4342 [F] 613-952-9092