public class ProteinDomain extends Object implements PhylogenyData
| Modifier and Type | Field and Description |
|---|---|
static double |
CONFIDENCE_DEFAULT |
static String |
IDENTIFIER_DEFAULT |
| Constructor and Description |
|---|
ProteinDomain(String name,
int from,
int to) |
ProteinDomain(String name,
int from,
int to,
double confidence) |
ProteinDomain(String name,
int from,
int to,
String id) |
ProteinDomain(String name,
int from,
int to,
String id,
double confidence) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
double |
getConfidence() |
int |
getFrom() |
String |
getId() |
int |
getLength() |
String |
getName() |
int |
getTo() |
boolean |
isEqual(PhylogenyData protein_domain)
Compares this PhylogenyData to PhylogenyData data.
|
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public static final double CONFIDENCE_DEFAULT
public static final String IDENTIFIER_DEFAULT
public ProteinDomain(String name, int from, int to)
public ProteinDomain(String name, int from, int to, double confidence)
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic double getConfidence()
public int getFrom()
public String getId()
public int getLength()
public String getName()
public int getTo()
public boolean isEqual(PhylogenyData protein_domain)
PhylogenyDataisEqual in interface PhylogenyDatapublic StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionCopyright © 2016. All rights reserved.