public class GenbankReaderHelper
extends java.lang.Object
Constructor | Description |
---|---|
GenbankReaderHelper() |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
|
static java.util.LinkedHashMap<java.lang.String,DNASequence> |
readGenbankDNASequence(java.io.File file) |
|
static java.util.LinkedHashMap<java.lang.String,DNASequence> |
readGenbankDNASequence(java.io.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 java.util.LinkedHashMap<java.lang.String,DNASequence> |
readGenbankDNASequence(java.io.InputStream inStream) |
Read a Genbank DNA sequence
|
static java.util.LinkedHashMap<java.lang.String,ProteinSequence> |
readGenbankProteinSequence(java.io.File file) |
Read a Genbank file containing amino acids with setup that would handle most
cases.
|
static java.util.LinkedHashMap<java.lang.String,ProteinSequence> |
readGenbankProteinSequence(java.io.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 java.util.LinkedHashMap<java.lang.String,ProteinSequence> |
readGenbankProteinSequence(java.io.InputStream inStream) |
Read a Genbank file containing amino acids with setup that would handle most
cases.
|
public static java.util.LinkedHashMap<java.lang.String,DNASequence> readGenbankDNASequence(java.io.File file, boolean lazySequenceLoad) throws java.lang.Exception
file
- lazySequenceLoad
- java.lang.Exception
public static java.util.LinkedHashMap<java.lang.String,ProteinSequence> readGenbankProteinSequence(java.io.File file, boolean lazySequenceLoad) throws java.lang.Exception
file
- lazySequenceLoad
- java.lang.Exception
public static java.util.LinkedHashMap<java.lang.String,ProteinSequence> readGenbankProteinSequence(java.io.File file) throws java.lang.Exception
file
- java.lang.Exception
public static java.util.LinkedHashMap<java.lang.String,ProteinSequence> readGenbankProteinSequence(java.io.InputStream inStream) throws java.lang.Exception
inStream
- java.lang.Exception
public static java.util.LinkedHashMap<java.lang.String,DNASequence> readGenbankDNASequence(java.io.InputStream inStream) throws java.lang.Exception
inStream
- java.lang.Exception
public static java.util.LinkedHashMap<java.lang.String,DNASequence> readGenbankDNASequence(java.io.File file) throws java.lang.Exception
file
- java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception