public class FastaAlignmentFormat extends Object implements AlignmentFormat
| Constructor and Description |
|---|
FastaAlignmentFormat() |
| Modifier and Type | Method and Description |
|---|---|
Alignment |
read(BufferedReader br)
Reads an alignment in FASTA format.
|
void |
write(OutputStream os,
Alignment align,
int fileType)
Writes out the alignment to an FASTA file.
|
void |
writeDna(OutputStream os,
Alignment align) |
void |
writeProtein(OutputStream os,
Alignment align) |
public static final int DNA
public static final int PROTEIN
public FastaAlignmentFormat()
public Alignment read(BufferedReader br)
read in interface AlignmentFormatbr - the reader from which to read in the alignmentpublic void write(OutputStream os, Alignment align, int fileType) throws BioException, IllegalSymbolException
BioExceptionIllegalSymbolExceptionpublic void writeDna(OutputStream os, Alignment align) throws BioException, IllegalSymbolException
BioExceptionIllegalSymbolExceptionpublic void writeProtein(OutputStream os, Alignment align) throws BioException, IllegalSymbolException
BioExceptionIllegalSymbolExceptionCopyright © 2020 BioJava. All rights reserved.