public class FastaReaderTools extends Object
FastaReaderHelper
does not offer.Constructor and Description |
---|
FastaReaderTools() |
Modifier and Type | Method and Description |
---|---|
static Map<String,org.biojava3.core.sequence.DNASequence> |
readDNAAlignment(File file)
Reads an alignment contained in a FASTA file.
|
static Map<String,org.biojava3.core.sequence.DNASequence> |
readDNAAlignment(InputStream stream)
Reads an alignment contained in a FASTA file.
|
public FastaReaderTools()
public static Map<String,org.biojava3.core.sequence.DNASequence> readDNAAlignment(File file) throws IOException
FastaReaderHelper.readFastaDNASequence(InputStream)
the AlignmentAmbiguityNucleotideCompoundSet
is used here, so that alignments containing gaps and ambiguity codes can also be processed.file
- the file to read the data fromIOException
public static Map<String,org.biojava3.core.sequence.DNASequence> readDNAAlignment(InputStream stream) throws IOException
FastaReaderHelper.readFastaDNASequence(InputStream)
the AlignmentAmbiguityNucleotideCompoundSet
is used here, so that alignments containing gaps and ambiguity codes can also be processed.stream
- the stream to read the data fromIOException