public class MSFAlignmentFormat extends Object implements AlignmentFormat
Constructor and Description |
---|
MSFAlignmentFormat() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
used to quick test the code
|
Alignment |
read(BufferedReader reader)
Reads an MSF Alignment File
|
void |
write(OutputStream os,
Alignment align,
int fileType) |
void |
writeDna(OutputStream os,
Alignment align) |
void |
writeProtein(OutputStream os,
Alignment align) |
public MSFAlignmentFormat()
public Alignment read(BufferedReader reader)
read
in interface AlignmentFormat
reader
- The file readerpublic 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.