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 static LinkedHashMap<String,DNASequence> readGenbankDNASequence(File file, boolean lazySequenceLoad) throws Exception
file
- lazySequenceLoad
- Exception
public static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(File file, boolean lazySequenceLoad) throws Exception
file
- lazySequenceLoad
- Exception
public static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(File file) throws Exception
file
- Exception
public static LinkedHashMap<String,ProteinSequence> readGenbankProteinSequence(InputStream inStream) throws Exception
inStream
- Exception
public static LinkedHashMap<String,DNASequence> readGenbankDNASequence(InputStream inStream) throws Exception
inStream
- Exception
public static LinkedHashMap<String,DNASequence> readGenbankDNASequence(File file) throws Exception
file
- Exception
Copyright © 2000–2016 BioJava. All rights reserved.