public class FastaReaderHelper
extends java.lang.Object
| Constructor and Description |
|---|
FastaReaderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static java.util.LinkedHashMap<java.lang.String,DNASequence> |
readFastaDNASequence(java.io.File file) |
static java.util.LinkedHashMap<java.lang.String,DNASequence> |
readFastaDNASequence(java.io.File file,
boolean lazySequenceLoad)
Selecting lazySequenceLoad=true will parse the FASTA file and figure out the accessionid and offsets and return sequence objects
that can in the future read the sequence from the disk.
|
static java.util.LinkedHashMap<java.lang.String,DNASequence> |
readFastaDNASequence(java.io.InputStream inStream)
Read a fasta DNA sequence
|
static java.util.LinkedHashMap<java.lang.String,ProteinSequence> |
readFastaProteinSequence(java.io.File file)
Read a fasta file containing amino acids with setup that would handle most
cases.
|
static java.util.LinkedHashMap<java.lang.String,ProteinSequence> |
readFastaProteinSequence(java.io.InputStream inStream)
Read a fasta file containing amino acids with setup that would handle most
cases.
|
public static java.util.LinkedHashMap<java.lang.String,DNASequence> readFastaDNASequence(java.io.File file, boolean lazySequenceLoad) throws java.lang.Exception
file - lazySequenceLoad - java.lang.Exceptionpublic static java.util.LinkedHashMap<java.lang.String,ProteinSequence> readFastaProteinSequence(java.io.File file) throws java.lang.Exception
file - java.lang.Exceptionpublic static java.util.LinkedHashMap<java.lang.String,ProteinSequence> readFastaProteinSequence(java.io.InputStream inStream) throws java.lang.Exception
inStream - java.lang.Exceptionpublic static java.util.LinkedHashMap<java.lang.String,DNASequence> readFastaDNASequence(java.io.InputStream inStream) throws java.lang.Exception
inStream - java.lang.Exceptionpublic static java.util.LinkedHashMap<java.lang.String,DNASequence> readFastaDNASequence(java.io.File file) throws java.lang.Exception
file - java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception