embindex.c


Function embBtreeEmblKW

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

void:No return value

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

Function embBtreeEmblTX

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

void:No return value

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

Function embBtreeEmblAC

Extract accession numbers from an EMBL AC line

Synopsis

Prototype

void embBtreeEmblAC (
      const AjPStr acline,
      AjPList aclist
);

Input

acline:(Input)AC line

Output

aclist:(Output)list of accession numbers

Returns

void:No return value

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

Function embBtreeEmblSV

Extract sequence version from an EMBL new format ID line

Synopsis

Prototype

void embBtreeEmblSV (
      const AjPStr idline,
      AjPList svlist
);

Input

idline:(Input)AC line

Output

svlist:(Output)list of accession numbers

Returns

void:No return value

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

Function embBtreeEmblDE

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

void:No return value

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

Function embBtreeGenBankAC

Extract accession numbers from a GenBank ACCESSION line

Synopsis

Prototype

void embBtreeGenBankAC (
      const AjPStr acline,
      AjPList aclist
);

Input

acline:(Input)AC line

Output

aclist:(Output)list of accession numbers

Returns

void:No return value

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

Function embBtreeGenBankKW

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

void:No return value

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

Function embBtreeGenBankDE

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

void:No return value

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

Function embBtreeGenBankTX

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

void:No return value

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

Function embBtreeFastaDE

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

void:No return value

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

Function embBtreeReadDir

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

Function embBtreeEntryNew

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

Function embBtreeEntryDel

Delete a database entry object

Synopsis

Prototype

void embBtreeEntryDel (
      EmbPBtreeEntry* thys
);

Output

thys:(Delete)db entry object pointer

Returns

void:No return value

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

Function embBtreeSetFields

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

Function embBtreeSetDbInfo

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

void:No return value

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

Function embBtreeGetFiles

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

Function embBtreeWriteEntryFile

Put files to entry file

Synopsis

Prototype

AjBool embBtreeWriteEntryFile (
      const EmbPBtreeEntry entry
);

Input

entry:(Input)database data

Returns

AjBool:true on success

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

Function embBtreeGetRsInfo

Get resource information for selected database

Synopsis

Prototype

void embBtreeGetRsInfo (
      EmbPBtreeEntry entry
);

Input & Output

entry:(Modify)database data

Returns

void:No return value

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

Function embBtreeOpenCaches

Open index files

Synopsis

Prototype

AjBool embBtreeOpenCaches (
      EmbPBtreeEntry entry
);

Input & Output

entry:(Modify)database data

Returns

AjBool:true on success

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

Function embBtreeCloseCaches

Close index files

Synopsis

Prototype

AjBool embBtreeCloseCaches (
      EmbPBtreeEntry entry
);

Input & Output

entry:(Modify)database data

Returns

AjBool:true on success

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

Function embBtreeDumpParameters

Write index parameter files

Synopsis

Prototype

AjBool embBtreeDumpParameters (
      EmbPBtreeEntry entry
);

Input & Output

entry:(Modify)database data

Returns

AjBool:true on success

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