embindex.c
Extract keywords from an EMBL KW line
Synopsis
Prototype
void embBtreeEmblKW (
const AjPStr kwline,
AjPList kwlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | kwline | Input | keyword line |
| AjPList | kwlist | Output | list of keywords |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Extract keywords from an EMBL OC or OS line
Synopsis
Prototype
void embBtreeEmblTX (
const AjPStr txline,
AjPList txlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | txline | Input | taxonomy line |
| AjPList | txlist | Output | list of taxons |
| ajuint | maxlen | Input | max taxon length |
| void | | RETURN | |
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 5.0.0
Extract accession numbers from an EMBL AC line
Synopsis
Prototype
void embBtreeEmblAC (
const AjPStr acline,
AjPList aclist
);
| Type | Name | Read/Write | Description |
| const AjPStr | acline | Input | AC line |
| AjPList | aclist | Output | list of accession numbers |
| void | | RETURN | |
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 5.0.0
Extract sequence version from an EMBL new format ID line
Synopsis
Prototype
void embBtreeEmblSV (
const AjPStr idline,
AjPList svlist
);
| Type | Name | Read/Write | Description |
| const AjPStr | idline | Input | AC line |
| AjPList | svlist | Output | list of accession numbers |
| void | | RETURN | |
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 5.0.0
Extract words from an EMBL DE line
Synopsis
Prototype
void embBtreeEmblDE (
const AjPStr deline,
AjPList delist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | deline | Input | description line |
| AjPList | delist | Output | list of descriptions |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Extract accession numbers from a GenBank ACCESSION line
Synopsis
Prototype
void embBtreeGenBankAC (
const AjPStr acline,
AjPList aclist
);
| Type | Name | Read/Write | Description |
| const AjPStr | acline | Input | AC line |
| AjPList | aclist | Output | list of accession numbers |
| void | | RETURN | |
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 5.0.0
Extract keywords from a GenBank KEYWORDS line
Synopsis
Prototype
void embBtreeGenBankKW (
const AjPStr kwline,
AjPList kwlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | kwline | Input | keyword line |
| AjPList | kwlist | Output | list of keywords |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Extract keywords from a GenBank DESCRIPTION line
Synopsis
Prototype
void embBtreeGenBankDE (
const AjPStr kwline,
AjPList kwlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | kwline | Input | keyword line |
| AjPList | kwlist | Output | list of keywords |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Extract keywords from a GenBank ORGANISM line
Synopsis
Prototype
void embBtreeGenBankTX (
const AjPStr kwline,
AjPList kwlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | kwline | Input | keyword line |
| AjPList | kwlist | Output | list of keywords |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Extract keywords from a Fasta description
Synopsis
Prototype
void embBtreeFastaDE (
const AjPStr kwline,
AjPList kwlist,
ajuint maxlen
);
| Type | Name | Read/Write | Description |
| const AjPStr | kwline | Input | keyword line |
| AjPList | kwlist | Output | list of keywords |
| ajuint | maxlen | Input | max keyword length |
| void | | RETURN | |
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 5.0.0
Read files to index
Synopsis
Prototype
ajuint embBtreeReadDir (
AjPStr** filelist,
const AjPStr fdirectory,
const AjPStr files,
const AjPStr exclude
);
| Type | Name | Read/Write | Description |
| AjPStr** | filelist | Output | list of files to read |
| const AjPStr | fdirectory | Input | Directory to scan |
| const AjPStr | files | Input | Filename to search for (or NULL) |
| const AjPStr | exclude | Input | list of files to exclude |
| ajuint | | RETURN | number of matching files |
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
| ajuint: | 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 5.0.0
Construct a database entry object
Synopsis
Prototype
EmbPBtreeEntry embBtreeEntryNew (
void
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | | RETURN | db entry object pointer |
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 5.0.0
Delete a database entry object
Synopsis
Prototype
void embBtreeEntryDel (
EmbPBtreeEntry* thys
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry* | thys | Delete | db entry object pointer |
| void | | RETURN | |
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 5.0.0
Set database fields to index
Synopsis
Prototype
ajuint embBtreeSetFields (
EmbPBtreeEntry entry,
AjPStr const* fields
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Output | Database entry information |
| AjPStr const* | fields | Input | user specified fields |
| ajuint | | RETURN | number of fields set |
Input
| fields: | (Input) | user specified fields |
Output
| entry: | (Output) | Database entry information |
Returns
| ajuint: | 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 5.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
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Output | Database entry information |
| const AjPStr | name | Input | user specified name |
| const AjPStr | dbrs | Input | user specified resource |
| const AjPStr | date | Input | user specified date |
| const AjPStr | release | Input | user specified release |
| const AjPStr | type | Input | user specified type |
| const AjPStr | directory | Input | user specified directory |
| const AjPStr | idirectory | Input | user specified index directory |
| void | | RETURN | |
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 5.0.0
Read files to index
Synopsis
Prototype
ajuint embBtreeGetFiles (
EmbPBtreeEntry entry,
const AjPStr fdirectory,
const AjPStr files,
const AjPStr exclude
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | list of files to read |
| const AjPStr | fdirectory | Input | Directory to scan |
| const AjPStr | files | Input | Filename to search for (or NULL) |
| const AjPStr | exclude | Input | list of files to exclude |
| ajuint | | RETURN | number of matching files |
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
| ajuint: | 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 5.0.0
Put files to entry file
Synopsis
Prototype
AjBool embBtreeWriteEntryFile (
const EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| const EmbPBtreeEntry | entry | Input | database data |
| AjBool | | RETURN | true on success |
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 5.0.0
Get resource information for selected database
Synopsis
Prototype
void embBtreeGetRsInfo (
EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | database data |
| void | | RETURN | |
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 5.0.0
Open index files
Synopsis
Prototype
AjBool embBtreeOpenCaches (
EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | database data |
| AjBool | | RETURN | true on success |
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 5.0.0
Close index files
Synopsis
Prototype
AjBool embBtreeCloseCaches (
EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | database data |
| AjBool | | RETURN | true on success |
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 5.0.0
Close index files
Synopsis
Prototype
AjBool embBtreeProbeCaches (
EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | database data |
| AjBool | | RETURN | true on success |
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 5.0.0
Write index parameter files
Synopsis
Prototype
AjBool embBtreeDumpParameters (
EmbPBtreeEntry entry
);
| Type | Name | Read/Write | Description |
| EmbPBtreeEntry | entry | Modify | database data |
| AjBool | | RETURN | true on success |
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 5.0.0
Cleanup indexing internals on exit
Synopsis
Prototype
void embIndexExit (
void
);
| Type | Name | Read/Write | Description |
| void | | RETURN | |
Returns
Description
Cleanup indexing internals on exit
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 5.0.0