|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object compbio.data.sequence.ClustalAlignmentUtil
public final class ClustalAlignmentUtil
Tools to read and write clustal formated files
Field Summary | |
---|---|
static char |
gapchar
Dash char to be used as gap char in the alignments |
Constructor Summary | |
---|---|
ClustalAlignmentUtil()
|
Method Summary | |
---|---|
static boolean |
isValidClustalFile(InputStream input)
Please note this method closes the input stream provided as a parameter |
static Alignment |
readClustalFile(File file)
|
static Alignment |
readClustalFile(InputStream instream)
Read Clustal formatted alignment. |
static void |
writeClustalAlignment(OutputStream outStream,
Alignment alignment)
Write Clustal formatted alignment Limitations: does not record the consensus. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char gapchar
Constructor Detail |
---|
public ClustalAlignmentUtil()
Method Detail |
---|
public static Alignment readClustalFile(InputStream instream) throws IOException, UnknownFileFormatException
{@link
- IOException}
{@link
- UnknownFileFormatException}
IOException
UnknownFileFormatException
public static boolean isValidClustalFile(InputStream input)
input
-
public static void writeClustalAlignment(OutputStream outStream, Alignment alignment) throws IOException
outStream
- alignment
-
IOException
public static Alignment readClustalFile(File file) throws UnknownFileFormatException, IOException
UnknownFileFormatException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |