[Biojava-l] equality of proteins based on their aminoacid sequence signature
François Le Fevre
flf.mib at gmail.com
Wed Mar 9 20:12:46 UTC 2011
Dear all,
I would like to know if 2 proteins that have the same sequence of
aminoacid should be equals?
I was wandering that 2 Sequence<AminoAcidCompound> that have exactly the
same string signature should be the same.
But it seems to be not the case.
Is it normal?
Thank for your help.
Sequence<AminoAcidCompound> protein1 = MKRISTTITTTITITTGNGAG
hash=801818331
Sequence<AminoAcidCompound> protein2 = MKRISTTITTTITITTGNGAG
hash=700804192
protein1.equals(protein2) return false.
Francois
--
----------------------
Francois LE FEVRE
More information about the Biojava-l
mailing list