public class MEGAWriter<S extends org.biojava3.core.sequence.template.Sequence<C>,C extends org.biojava3.core.sequence.template.Compound> extends AbstractAlignmentWriter<S,C>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATATYPE_DNA |
static java.lang.String |
DATATYPE_PROTEIN |
static char |
DEFAULT_GAP_CHAR |
static java.lang.String |
DEFAULT_TITLE |
static int |
LINE_LENGTH |
static byte[] |
LINE_SEPARATOR |
WHITESPACE_REPLACEMENT
Constructor and Description |
---|
MEGAWriter(java.lang.String datatype) |
MEGAWriter(java.lang.String datatype,
char gapCharacter) |
Modifier and Type | Method and Description |
---|---|
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 DATATYPE_DNA
public static final java.lang.String DATATYPE_PROTEIN
public static final java.lang.String DEFAULT_TITLE
public static final char DEFAULT_GAP_CHAR
public static final int LINE_LENGTH
public static final byte[] LINE_SEPARATOR
public MEGAWriter(java.lang.String datatype, char gapCharacter)
public MEGAWriter(java.lang.String datatype)