I don't have time to fix this right now, so this is a bug report. IndexedSequenceDB doesn't override addSequence(Sequence) in AbstractSequenceDB, so if you upcast IndexedSequenceDB to its interface, you get rude messages about AbstractSequenceDB being immutable when trying to add Sequences. The method in AbstractSequenceDB is an exception-throwing stub. (I'd prefer it to be abstract instead). It's on my list, but I won't get to it for a while. -- -= Keith James - [EMAIL PROTECTED] - http://www.sanger.ac.uk/Users/kdj =- The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs CB10 1SA _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l