Ok; I am having problem with using MassCalc class. It always an IllegalSymbolException though the symbol list is correct. I have written this,
SequenceIterator iter = MySeqTools.myReadFastaAA(args[0]); while(iter.hasNext()){ Sequence seq = iter.nextSequence(); SymbolList syml = (SymbolList)seq; System.out.println(syml.seqString()); MassCalc mCalc = new MassCalc(SymbolPropertyTable.MONO_MASS, true); double mass = mCalc.getMass(syml); System.out.println("Mass: "+seq.getName()+"\t"+mass); } while result in error Exception in thread "main" org.biojava.bio.symbol.IllegalSymbolException: The SymbolList was not using the protein alphabet Any one can help me with this, Thanks, Suman K ===== Suman K BioInformatics Associate, Genomics Research, Newton Lab, University of Missouri - Columbia. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l