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 AlignmentFormat
br
- the reader from which to read in the alignmentpublic void write(OutputStream os, Alignment align, int fileType) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public void writeDna(OutputStream os, Alignment align) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
public void writeProtein(OutputStream os, Alignment align) throws BioException, IllegalSymbolException
BioException
IllegalSymbolException
Copyright © 2014 BioJava. All rights reserved.