public class Hennig86Writer<S extends org.biojava3.core.sequence.template.Sequence<C>,C extends org.biojava3.core.sequence.template.Compound> extends AbstractAlignmentWriter<S,C>
nstates
command for TNT can be written depending on the constructor that is used.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_TERMINATOR |
static java.lang.String |
DATATYPE_DNA |
static java.lang.String |
DATATYPE_PROTEIN |
static java.lang.String |
MATRIX_COMMAND |
static java.lang.String |
NO_OF_STATES_COMMAND |
static char |
WHITESPACE_REPLACEMENT |
Constructor and Description |
---|
Hennig86Writer() |
Hennig86Writer(int noOfStates) |
Hennig86Writer(java.lang.String noOfStates) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxTaxonNameLength() |
java.lang.String |
getNoOfStates() |
void |
setMaxTaxonNameLength(int maxTaxonNameLength) |
void |
setNoOfStates(java.lang.String noOfStates) |
void |
write(Alignment<S,C> alignment,
java.io.File file,
java.lang.String title) |
void |
write(Alignment<S,C> alignment,
java.io.OutputStream stream) |
void |
write(Alignment<S,C> alignment,
java.io.OutputStream stream,
java.lang.String title) |
getNameMap, write
public static final java.lang.String COMMAND_TERMINATOR
public static final java.lang.String NO_OF_STATES_COMMAND
public static final java.lang.String MATRIX_COMMAND
public static final java.lang.String DATATYPE_DNA
public static final java.lang.String DATATYPE_PROTEIN
public static final char WHITESPACE_REPLACEMENT
public Hennig86Writer()
public Hennig86Writer(java.lang.String noOfStates)
public Hennig86Writer(int noOfStates)
public java.lang.String getNoOfStates()
public void setNoOfStates(java.lang.String noOfStates)
public int getMaxTaxonNameLength()
public void setMaxTaxonNameLength(int maxTaxonNameLength)
public void write(Alignment<S,C> alignment, java.io.OutputStream stream) throws java.lang.Exception
java.lang.Exception
public void write(Alignment<S,C> alignment, java.io.File file, java.lang.String title) throws java.lang.Exception
java.lang.Exception