[Biojava-l] NPE from FlatModel. with SimpleModelInState

2004-03-04 Thread Douglas Hoen
Hi, I want to put a two-headed markov model in a SimpleModelInState. But when I attempt to call DPFactory.DEFAULT.createDP, I get a NullPointerException from inside the org.biojava.bio.dp.FlatModel constructor. I get the same problem from the biojava-1.30-jdk13.jar, biojava-1.30-jdk14.jar, and b

[Biojava-l] Reading frames and amino acids

2004-03-04 Thread Jellema, Gera
Hi, I'm new to biojava so I don't know if this has already been asked. I have a genome sequence and I want to have it in the 6 reading frames, and then per reading frame translated into amino acids so I can look for proteins. I don't know how I have to do it. Thanks, Gera <>_

Re: [Biojava-l] Reading frames and amino acids

2004-03-04 Thread mark . schreiber
Hi Gera - The code below seems to work for me. Please note that I have not tested it thoroughly so you might want to eyeball a few results to make sure they are sensible. You could probably improve it by making some of the 'in line' code into methods etc. - Mark import java.io.*; import org