org.utgenome.gwt.utgb.client.bio
Class GenomeDB
java.lang.Object
org.utgenome.gwt.utgb.client.bio.GenomeDB
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DASLocation
public class GenomeDB
- extends Object
- implements Serializable
Database locator.
- Author:
- leo
- See Also:
- Serialized Form
path
public String path
- database path.
When the path starts with "local:", it searches for locally stored database files.
ref
public String ref
- reference sequence name to which this genome DB is associated
type
public GenomeDB.DBType type
- database type
GenomeDB
public GenomeDB()
GenomeDB
protected GenomeDB(GenomeDB db)
GenomeDB
public GenomeDB(String path,
String refSeq)
GenomeDB
public GenomeDB(GenomeDB.DBType type,
String path,
String ref)
toString
public String toString()
- Overrides:
toString
in class Object
resolveDBType
public GenomeDB.DBType resolveDBType()
resolveDBType
public static GenomeDB.DBType resolveDBType(GenomeDB db)
- Resolve the db type when the db type is AUTO.
- Parameters:
db
-
- Returns:
- the resolved data type, or null if no appropriate db type is found
resolveDBType
public static GenomeDB.DBType resolveDBType(String path)
Copyright © 2007-2012 utgenome.org. All Rights Reserved.