RE: [Biojava-l] GCG format...

2002-10-13 Thread Schreiber, Mark
One of the issues with GCG format is the checksum. I have seen methods that calculate and verify the checksum but I'm not sure that they are supposed to be used. Ie GCG won't tell you how to do it so doing it anyway might be breaking some annoying little copyright law. - Mark > -Original Me

RE: [Biojava-l] equals() method for SymbolList

2002-10-13 Thread Schreiber, Mark
Actually AbstractSymbolList (from which all the SymbolLists inherit) on BioJava live contains a logical equals() method and a Hashcode method. The hashcode method may not be the most efficient. - Mark > -Original Message- > From: Phillip Lord [mailto:[EMAIL PROTECTED]] > Sent: Saturday

Re: [Biojava-l] Serialization involving NameTokenization

2002-10-13 Thread Matthew Pocock
Schreiber, Mark wrote: > Hi - > > Does anyone know of any reason why NameTokenization cannot be > serialized? Possibly it just needs to be marked as Serializable (or > maybe as transient in Alphabet). I'm not at my normal computer right > know but I'll have a look at the source when I get home an

Re: [Biojava-l] Swissprot parsing

2002-10-13 Thread Matthew Pocock
Hi satya, You are 90% of the way there with your script. You are missing the line: System.out.println("Sequence: " + sequence.asString()); The sequence itself is stored seperately from the annotations. This lets us be careful about memory management. You can access the actual nucleotides usin