Trees | Indices | Help |
---|
|
Code to work with GenBank formatted files. Classes: Iterator Iterate through a file of GenBank entries Dictionary Access a GenBank file using a dictionary interface. ErrorFeatureParser Catch errors caused during parsing. FeatureParser Parse GenBank data in Seq and SeqFeature objects. RecordParser Parse GenBank data into a Record object. NCBIDictionary Access GenBank using a dictionary interface. _BaseGenBankConsumer A base class for GenBank consumer that implements some helpful functions that are in common between consumers. _FeatureConsumer Create SeqFeature objects from info generated by the Scanner _RecordConsumer Create a GenBank record object from Scanner info. _PrintingConsumer A debugging consumer. ParserFailureError Exception indicating a failure in the parser (ie. scanner or consumer) LocationParserError Exception indiciating a problem with the spark based location parser. Functions: search_for Do a query against GenBank. download_many Download many GenBank records.
|
|||
|
|
|||
Iterator Iterator interface to move over a file of GenBank entries one at a time. |
|||
ParserFailureError Failure caused by some kind of problem in the parser. |
|||
LocationParserError Could not Properly parse out a location from a GenBank file. |
|||
FeatureParser Parse GenBank files into Seq + Feature objects. |
|||
RecordParser Parse GenBank files into Record objects |
|||
_BaseGenBankConsumer Abstract GenBank consumer providing useful general functions. |
|||
_FeatureConsumer Create a SeqRecord object with Features to return. |
|||
_RecordConsumer Create a GenBank Record object from scanner generated information. |
|||
NCBIDictionary Access GenBank using a read-only dictionary interface. |
|
|||
|
|||
handle of results |
|
|
|||
GENBANK_INDENT = 12
|
|||
GENBANK_SPACER =
|
|||
FEATURE_KEY_INDENT = 5
|
|||
FEATURE_QUALIFIER_INDENT = 21
|
|||
FEATURE_KEY_SPACER =
|
|||
FEATURE_QUALIFIER_SPACER =
|
|
search_for(search[, reldate][, mindate][, maxdate] [, batchsize][, delay][, callback_fn][, start_id][, max_ids]) -> ids Search GenBank and return a list of the GenBank identifiers (gi's) that match the criteria. search is the search string used to search the database. Valid values for database are 'nucleotide', 'protein', 'popset' and 'genome'. reldate is the number of dates prior to the current date to restrict the search. mindate and maxdate are the dates to restrict the search, e.g. 2002/01/01. start_id is the number to begin retrieval on. max_ids specifies the maximum number of id's to retrieve. batchsize, delay and callback_fn are old parameters for compatibility -- do not set them. |
Download many records from GenBank. ids is a list of gis or accessions. callback_fn, broken_fn, delay, faildelay, batchsize, parser are old parameter for compatibility. They should not be used.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Sep 15 09:22:36 2008 | http://epydoc.sourceforge.net |