public abstract class Convertor extends Object
Modifier and Type | Field and Description |
---|---|
static char |
group1
Based on Table 2 of http://nar.oxfordjournals.org/content/34/suppl_2/W32.full.pdf
An abstract class to convert a protein sequence into representation of different attribute with each attribute having 3 groups. |
static char |
group2 |
static char |
group3 |
static char |
unknownGroup |
Constructor and Description |
---|
Convertor() |
Modifier and Type | Method and Description |
---|---|
abstract char |
convert(char aminoAcid)
Returns the grouping of the amino acid character.
|
String |
convert(ProteinSequence sequence)
Returns the converted sequence.
|
abstract String |
getAttribute()
Return the attribute of the grouping
|
abstract String[] |
getGrouping()
Returns the groupings of the attribute
|
public static final char group1
public static final char group2
public static final char group3
public static final char unknownGroup
public Convertor()
public abstract char convert(char aminoAcid)
aminoAcid
- an amino acid character preferably of non-ambiguous characterspublic abstract String[] getGrouping()
public abstract String getAttribute()
public String convert(ProteinSequence sequence)
sequence
- a protein sequence consisting of preferably non-ambiguous characters onlyCopyright © 2000–2018 BioJava. All rights reserved.