public class IUPACParser extends Object
IUPACParser.IUPACTable
objects do not parse the data further until
requested so if you do not use a translation table your only penalty is the
loading of the IUPAC data from the classpath.Modifier and Type | Class and Description |
---|---|
static class |
IUPACParser.IUPACTable
Holds the concept of a codon table from the IUPAC format
|
Modifier and Type | Field and Description |
---|---|
static String |
IUPAC_LOCATION |
Constructor and Description |
---|
IUPACParser()
Default version and uses the classpath based IUPAC table
|
IUPACParser(InputStream is)
Allows you to specify a different IUPAC table.
|
Modifier and Type | Method and Description |
---|---|
static IUPACParser |
getInstance() |
IUPACParser.IUPACTable |
getTable(Integer id)
Returns a table by its identifier i.e.
|
IUPACParser.IUPACTable |
getTable(String name)
Returns a table by its name
|
List<IUPACParser.IUPACTable> |
getTables()
Returns a list of all available IUPAC tables
|
public static final String IUPAC_LOCATION
public IUPACParser()
public IUPACParser(InputStream is)
public static IUPACParser getInstance()
public List<IUPACParser.IUPACTable> getTables()
public IUPACParser.IUPACTable getTable(String name)
public IUPACParser.IUPACTable getTable(Integer id)
Copyright © 2000–2016 BioJava. All rights reserved.