embindex.c
Extract keywords from an EMBL KW line
Synopsis
Prototype
void embBtreeEmblKW (
const AjPStr kwline,
AjPList kwlist,
ajint maxlen
);
Input
| kwline: | (Input) | keyword line |
| maxlen: | (Input) | max keyword length |
Output
| kwlist: | (Output) | list of keywords |
Returns
Description
Extract keywords from an EMBL KW line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract keywords from an EMBL OC or OS line
Synopsis
Prototype
void embBtreeEmblTX (
const AjPStr txline,
AjPList txlist,
ajint maxlen
);
Input
| txline: | (Input) | taxonomy line |
| maxlen: | (Input) | max taxon length |
Output
| txlist: | (Output) | list of taxons |
Returns
Description
Extract keywords from an EMBL OC or OS line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract accession numbers from an EMBL AC line
Synopsis
Prototype
void embBtreeEmblAC (
const AjPStr acline,
AjPList aclist
);
Input
Output
| aclist: | (Output) | list of accession numbers |
Returns
Description
Extract accession numbers from an EMBL AC line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract sequence version from an EMBL new format ID line
Synopsis
Prototype
void embBtreeEmblSV (
const AjPStr idline,
AjPList svlist
);
Input
Output
| svlist: | (Output) | list of accession numbers |
Returns
Description
Extract sequence version from an EMBL new format ID line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract words from an EMBL DE line
Synopsis
Prototype
void embBtreeEmblDE (
const AjPStr deline,
AjPList delist,
ajint maxlen
);
Input
| deline: | (Input) | description line |
| maxlen: | (Input) | max keyword length |
Output
| delist: | (Output) | list of descriptions |
Returns
Description
Extract words from an EMBL DE line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract accession numbers from a GenBank ACCESSION line
Synopsis
Prototype
void embBtreeGenBankAC (
const AjPStr acline,
AjPList aclist
);
Input
Output
| aclist: | (Output) | list of accession numbers |
Returns
Description
Extract accession numbers from a GenBank ACCESSION line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract keywords from a GenBank KEYWORDS line
Synopsis
Prototype
void embBtreeGenBankKW (
const AjPStr kwline,
AjPList kwlist,
ajint maxlen
);
Input
| kwline: | (Input) | keyword line |
| maxlen: | (Input) | max keyword length |
Output
| kwlist: | (Output) | list of keywords |
Returns
Description
Extract keywords from a GenBank KEYWORDS line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract keywords from a GenBank DESCRIPTION line
Synopsis
Prototype
void embBtreeGenBankDE (
const AjPStr kwline,
AjPList kwlist,
ajint maxlen
);
Input
| kwline: | (Input) | keyword line |
| maxlen: | (Input) | max keyword length |
Output
| kwlist: | (Output) | list of keywords |
Returns
Description
Extract keywords from a GenBank DESCRIPTION line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract keywords from a GenBank ORGANISM line
Synopsis
Prototype
void embBtreeGenBankTX (
const AjPStr kwline,
AjPList kwlist,
ajint maxlen
);
Input
| kwline: | (Input) | keyword line |
| maxlen: | (Input) | max keyword length |
Output
| kwlist: | (Output) | list of keywords |
Returns
Description
Extract keywords from a GenBank ORGANISM line
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Extract keywords from a Fasta description
Synopsis
Prototype
void embBtreeFastaDE (
const AjPStr kwline,
AjPList kwlist,
ajint maxlen
);
Input
| kwline: | (Input) | keyword line |
| maxlen: | (Input) | max keyword length |
Output
| kwlist: | (Output) | list of keywords |
Returns
Description
Extract keywords from a Fasta description
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Read files to index
Synopsis
Prototype
ajint embBtreeReadDir (
AjPStr** filelist,
const AjPStr fdirectory,
const AjPStr files,
const AjPStr exclude
);
Input
| fdirectory: | (Input) | Directory to scan |
| files: | (Input) | Filename to search for (or NULL) |
| exclude: | (Input) | list of files to exclude |
Output
| filelist: | (Output) | list of files to read |
Returns
| ajint: | number of matching files |
Description
Read files to index
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Construct a database entry object
Synopsis
Prototype
EmbPBtreeEntry embBtreeEntryNew (void);
Returns
| EmbPBtreeEntry: | db entry object pointer |
Description
Construct a database entry object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Delete a database entry object
Synopsis
Prototype
void embBtreeEntryDel (
EmbPBtreeEntry* thys
);
Output
| thys: | (Delete) | db entry object pointer |
Returns
Description
Delete a database entry object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Set database fields to index
Synopsis
Prototype
ajint embBtreeSetFields (
EmbPBtreeEntry entry,
AjPStr const* fields
);
Input
| fields: | (Input) | user specified fields |
Output
| entry: | (Output) | Database entry information |
Returns
| ajint: | number of fields set |
Description
Set database fields to index
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Set general database information
Synopsis
Prototype
void embBtreeSetDbInfo (
EmbPBtreeEntry entry,
const AjPStr name,
const AjPStr dbrs,
const AjPStr date,
const AjPStr release,
const AjPStr type,
const AjPStr directory,
const AjPStr idirectory
);
Input
| name: | (Input) | user specified name |
| dbrs: | (Input) | user specified resource |
| date: | (Input) | user specified date |
| release: | (Input) | user specified release |
| type: | (Input) | user specified type |
| directory: | (Input) | user specified directory |
| idirectory: | (Input) | user specified index directory |
Output
| entry: | (Output) | Database entry information |
Returns
Description
Set general database information
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Read files to index
Synopsis
Prototype
ajint embBtreeGetFiles (
EmbPBtreeEntry entry,
const AjPStr fdirectory,
const AjPStr files,
const AjPStr exclude
);
Input
| fdirectory: | (Input) | Directory to scan |
| files: | (Input) | Filename to search for (or NULL) |
| exclude: | (Input) | list of files to exclude |
Input & Output
| entry: | (Modify) | list of files to read |
Returns
| ajint: | number of matching files |
Description
Read files to index
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Put files to entry file
Synopsis
Prototype
AjBool embBtreeWriteEntryFile (
const EmbPBtreeEntry entry
);
Input
| entry: | (Input) | database data |
Returns
Description
Put files to entry file
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Get resource information for selected database
Synopsis
Prototype
void embBtreeGetRsInfo (
EmbPBtreeEntry entry
);
Input & Output
| entry: | (Modify) | database data |
Returns
Description
Get resource information for selected database
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Open index files
Synopsis
Prototype
AjBool embBtreeOpenCaches (
EmbPBtreeEntry entry
);
Input & Output
| entry: | (Modify) | database data |
Returns
Description
Open index files
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Close index files
Synopsis
Prototype
AjBool embBtreeCloseCaches (
EmbPBtreeEntry entry
);
Input & Output
| entry: | (Modify) | database data |
Returns
Description
Close index files
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0
Write index parameter files
Synopsis
Prototype
AjBool embBtreeDumpParameters (
EmbPBtreeEntry entry
);
Input & Output
| entry: | (Modify) | database data |
Returns
Description
Write index parameter files
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 3.0.0