Mobios v0.91

mobios.type
Class Peptide

java.lang.Object
  extended by mobios.type.Sequence
      extended by mobios.type.Peptide
All Implemented Interfaces:
Serializable

public class Peptide
extends Sequence

A Peptide is a compact representation of a AminoAcids sequence(Peptide). Each AminoAcids is stored as a byte.

Version:
2003.06.06
Author:
Rui Mao
See Also:
Serialized Form

Nested Class Summary
static class Peptide.AminoAcid
           
 
Field Summary
static Alphabet ALPHABET
           
static WeightMatrix mPAM250aExtendedWeightMatrix
           
 
Constructor Summary
Peptide(String sequence)
           
Peptide(String sequenceID, String sequence)
           
 
Method Summary
 Symbol get(int index)
           
 Alphabet getAlphabet()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class mobios.type.Sequence
getSequenceID, numFragments, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALPHABET

public static final Alphabet ALPHABET

mPAM250aExtendedWeightMatrix

public static final WeightMatrix mPAM250aExtendedWeightMatrix
Constructor Detail

Peptide

public Peptide(String sequenceID,
               String sequence)

Peptide

public Peptide(String sequence)
Method Detail

getAlphabet

public Alphabet getAlphabet()
Specified by:
getAlphabet in class Sequence
Returns:

main

public static void main(String[] args)

get

public Symbol get(int index)
Specified by:
get in class Sequence
Parameters:
index - an integer index value
Returns:
the Symbol corresponding to that index.

toString

public String toString()
Specified by:
toString in class Sequence

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group