Hi to all .
I've identified a bug in BioJava .
Usually the first element in an array is on index 0 (pos 0 ) .
I've tried to learn more about Java and I've tryed the next 2 instructions :
ProteinSequence a=new ProteinSequence("A");
AminoAcidCompound b=a.getCompoundAt(0);
This will give a null execption (out of array bounds or something like that
) .
when I put AminoAcidCompound b=a.getCompoundAt(1); it works and identifies
the first
aminoacid as Alanine .
That's all for today
_______________________________________________
Biojava-l mailing list - [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l