Package pal.alignment
Class AlignmentReaders
- java.lang.Object
-
- pal.alignment.AlignmentReaders
-
public final class AlignmentReaders extends java.lang.ObjectTemporary class for reading alignments... will fix up structure some time soon!- Version:
- $Id: AlignmentReaders.java,v 1.11 2004/10/14 02:01:42 matt Exp $
- Author:
- Matthew Goode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlignmentReaders.PhylipClustalAlignmentstatic classAlignmentReaders.UnalignedAlignment
-
Constructor Summary
Constructors Constructor Description AlignmentReaders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Alignment[]readAllPhylipClustalAlignments(java.io.Reader r, DataType dt)Read an alignment in phylip/clustal/simple format.static AlignmentreadFastaSequences(java.io.Reader r, DataType dt)Read an a set of unaligned Fasta sequencesstatic AlignmentreadNewLineSeperatedSequences(java.io.Reader r, DataType dt)Read an a set of unaligned Fasta sequencesstatic AlignmentreadPhylipClustalAlignment(java.io.Reader r, DataType dt)Read an alignment in phylip/clustal/simple format.static voidreadPhylipClustalAlignment(java.io.Reader r, DataType dt, AlignmentReceiver receiver)Read an alignment in phylip/clustal/simple format.
-
-
-
Method Detail
-
readFastaSequences
public static final Alignment readFastaSequences(java.io.Reader r, DataType dt) throws java.io.IOException
Read an a set of unaligned Fasta sequences- Throws:
java.io.IOException
-
readNewLineSeperatedSequences
public static final Alignment readNewLineSeperatedSequences(java.io.Reader r, DataType dt) throws java.io.IOException
Read an a set of unaligned Fasta sequences- Throws:
java.io.IOException
-
readPhylipClustalAlignment
public static final Alignment readPhylipClustalAlignment(java.io.Reader r, DataType dt) throws AlignmentParseException, java.io.IOException
Read an alignment in phylip/clustal/simple format. Handles interleaved/sequential - with the name repeated, or with the name only given once for each sequence Aims to be as general as possible (possibly causeing problems with some formats).- Throws:
AlignmentParseExceptionjava.io.IOException
-
readAllPhylipClustalAlignments
public static final Alignment[] readAllPhylipClustalAlignments(java.io.Reader r, DataType dt) throws AlignmentParseException, java.io.IOException
Read an alignment in phylip/clustal/simple format. Handles interleaved/sequential - with the name repeated, or with the name only given once for each sequence Aims to be as general as possible (possibly causeing problems with some formats).- Throws:
AlignmentParseExceptionjava.io.IOException
-
readPhylipClustalAlignment
public static final void readPhylipClustalAlignment(java.io.Reader r, DataType dt, AlignmentReceiver receiver) throws AlignmentParseException, java.io.IOExceptionRead an alignment in phylip/clustal/simple format. Handles interleaved/sequential - with the name repeated, or with the name only given once for each sequence Aims to be as general as possible (possibly causeing problems with some formats).- Throws:
AlignmentParseExceptionjava.io.IOException
-
-