org.utgenome.format.fasta
Class FASTADatabase
java.lang.Object
org.utgenome.format.fasta.FASTADatabase
public class FASTADatabase
- extends Object
Fasta2DB creates a SQLite database file from a given FASTA format file
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FASTADatabase
public FASTADatabase()
createDB
public void createDB(Reader fasta,
org.xerial.db.sql.sqlite.SQLiteAccess db)
throws Exception
- Throws:
Exception
createDB
public void createDB(FASTAPullParser pullParser,
org.xerial.db.sql.sqlite.SQLiteAccess db)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
querySequence
public static void querySequence(File dbFile,
ChrLoc location,
org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq> handler)
throws UTGBException
- Throws:
UTGBException
querySequence
public static ReferenceSequence querySequence(File fastaFile,
ChrLoc location)
throws UTGBException
- Throws:
UTGBException
querySequence
public static void querySequence(org.xerial.db.sql.sqlite.SQLiteAccess db,
ChrLoc location,
org.xerial.db.sql.BeanResultHandler<FASTADatabase.NSeq> handler)
throws UTGBException
- Throws:
UTGBException
Copyright © 2007-2012 utgenome.org. All Rights Reserved.