[Biojava-l] nested features

2005-05-18 Thread Martina
Hi, I'm still having problems with nested features. I know that the order in which they are retrieved is not constant, but the hierachy should be. I do: delete(db, "AF100928"); create(db, sequence); retrieveSeq(db, "AF100928"); and get: deleting AF100928 adding a sequence 1 retrieving AF100928 A

[Biojava-l] How to read in an aligment and then start viterbi

2005-05-18 Thread Fabian Schreiber
Hello! I created a Hmm with an Alphabet, that contains 9 different Proteins such as ALA, ARG, etc. After i created this model, i want to read in an aligment from a file and start Viterbi with the aligment as input. When i do so, i always get the following error: [code] org.biojava.bio.symbol.Illega

RE: [Biojava-l] How to read in an aligment and then start viterbi

2005-05-18 Thread Richard HOLLAND
>From the exception trace it looks as though Viterbi thinks you are using a DnaAlphabet when in fact you have a custom one. However without seeing your code it's hard to tell if this is a bug in BioJava, or a problem in the way Viterbi has been called. Could you provide a sample method which shows

RE: [Biojava-l] nested features

2005-05-18 Thread Richard HOLLAND
Just to get this straight, if I follow your code correctly, then the second example output you should be seeing is the correct one. Could you confirm that this is what you are expecting? At least then it gives us something to work towards as a definite known correct answer. It would also be hel