public class GenbankReaderHelper extends Object
| Constructor and Description |
|---|
GenbankReaderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static LinkedHashMap<String,DNASequence> |
readGenbankDNASequence(File file) |
static LinkedHashMap<String,DNASequence> |
readGenbankDNASequence(File file,
boolean lazySequenceLoad)
Selecting lazySequenceLoad=true will parse the Genbank 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> |
readGenbankDNASequence(InputStream inStream)
Read a Genbank DNA sequence
|
static LinkedHashMap<String,ProteinSequence> |
readGenbankProteinSequence(File file)
Read a Genbank file containing amino acids with setup that would handle most
cases.
|
static LinkedHashMap<String,ProteinSequence> |
readGenbankProteinSequence(File file,
boolean lazySequenceLoad)
Selecting lazySequenceLoad=true will parse the Genbank 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,ProteinSequence> |
readGenbankProteinSequence(InputStream inStream)
Read a Genbank file containing amino acids with setup that would handle most
cases.
|
public GenbankReaderHelper()
public static LinkedHashMap<String,DNASequence> readGenbankDNASequence(File file, boolean lazySequenceLoad) throws Exception
file - lazySequenceLoad - Exceptionpublic static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(File file, boolean lazySequenceLoad) throws Exception
file - lazySequenceLoad - Exceptionpublic static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(File file) throws Exception
file - Exceptionpublic static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(InputStream inStream) throws Exception
inStream - Exceptionpublic static LinkedHashMap<String,DNASequence> readGenbankDNASequence(InputStream inStream) throws Exception
inStream - Exceptionpublic static LinkedHashMap<String,DNASequence> readGenbankDNASequence(File file) throws Exception
file - ExceptionCopyright © 2000–2017 BioJava. All rights reserved.