RE: [Biojava-l] Errors to STDOUT in BioJava?

2004-11-21 Thread j vermont
hello all, I asked JD if a proper solution to this would be to rethrow Exception as such: } catch (Exception e) { System.out.println("Exception found in GenbankSequenceDB -- getSequence"); System.out.println(e.toString()); ExceptionFound = true; IOExceptionFound = true;

Re: [Biojava-l] Errors to STDOUT in BioJava?

2004-11-21 Thread James Diggans
Certainly. I was asking the list to inquire whether this was an intentional design choice (i.e. making the class noisy regardless of calling class) or whether anyone would be averse to fixing it to just simply be: >> } catch (Exception e) { >> ExceptionFound = true; >> IOExcepti

Re: [Biojava-l] Errors to STDOUT in BioJava?

2004-11-21 Thread Thomas Down
On 21 Nov 2004, at 08:52, James Diggans wrote: Certainly. I was asking the list to inquire whether this was an intentional design choice (i.e. making the class noisy regardless of calling class) or whether anyone would be averse to fixing it to just simply be: >> } catch (Exception e) { >>

Re: [Biojava-l] BioSQL

2004-11-21 Thread Len Trigg
Mark Schreiber wrote: > Does anyone have a current BioSQL schema that matches the BioJava > bindings? Preferably one for Oracle. AFAIK, current BioSQL CVS matches what BioJava expects -- Hilmar recently added the extra table that BioJava uses. I've also attached the Oracle schema that I've used

Re: [Biojava-l] opening unknown fasta file

2004-11-21 Thread mark . schreiber
One way to do this would be to create a Unicode alphabet (or ASCII alphabet) and read the file into a Sequence of that Alphabet, create a Distribution, compare it to the DNA/ RNA/ Protein distributions using DistributionTools and then convert it to the correct Alphabet. Even more ambitious woul

[Biojava-l] Parsing MegaBLAST output files?

2004-11-21 Thread James Diggans
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm attempting to use BioJava to parse the output from NCBI's commandline MegaBLAST and receiving an error: 'Could not recognise the format of this file as one supported by the framework.' in a SAXException thrown by BlastLikeSAXParser. An old pos