public class FastaReaderHelper extends Object
Constructor and Description |
---|
FastaReaderHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static LinkedHashMap<String,DNASequence> |
readFastaDNASequence(File file) |
static LinkedHashMap<String,DNASequence> |
readFastaDNASequence(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 LinkedHashMap<String,DNASequence> |
readFastaDNASequence(InputStream inStream)
Read a fasta DNA sequence
|
static LinkedHashMap<String,ProteinSequence> |
readFastaProteinSequence(File file)
Read a fasta file containing amino acids with setup that would handle most
cases.
|
static LinkedHashMap<String,ProteinSequence> |
readFastaProteinSequence(InputStream inStream)
Read a fasta file containing amino acids with setup that would handle most
cases.
|
public static LinkedHashMap<String,DNASequence> readFastaDNASequence(File file, boolean lazySequenceLoad) throws IOException
file
- lazySequenceLoad
- IOException
public static LinkedHashMap<String,ProteinSequence> readFastaProteinSequence(File file) throws IOException
file
- IOException
public static LinkedHashMap<String,ProteinSequence> readFastaProteinSequence(InputStream inStream) throws IOException
inStream
- IOException
public static LinkedHashMap<String,DNASequence> readFastaDNASequence(InputStream inStream) throws IOException
inStream
- IOException
public static LinkedHashMap<String,DNASequence> readFastaDNASequence(File file) throws IOException
file
- IOException
Copyright © 2000–2016 BioJava. All rights reserved.