embinit.c


Function embInit

Initialises everything. Reads an ACD (AJAX Command Definition) file prompts the user for any missing information, reads all sequences and other input into local structures which applications can request. Must be called in each EMBOSS program first.

Synopsis

Prototype

void embInit (
      const char* pgm,
      ajint argc,
      char* const[] argv
);

Input

pgm:(Input)Application name, used as the name of the ACD file
argc:(Input)Number of arguments provided on the command line, usually passsed as-is by the calling application.
argv:(Input)Actual arguments as an array of text.

Returns

void:No return value

Description

Initialises everything. Reads an ACD (AJAX Command Definition) file prompts the user for any missing information, reads all sequences and other input into local structures which applications can request. Must be called in each EMBOSS program first.

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 embInitP

Initialises everything. Reads an ACD (AJAX Command Definition) file prompts the user for any missing information, reads all sequences and other input into local structures which applications can request. Must be called in each EMBOSS program first.

Synopsis

Prototype

void embInitP (
      const char* pgm,
      ajint argc,
      char* const[] argv,
      const char* package
);

Input

pgm:(Input)Application name, used as the name of the ACD file
argc:(Input)Number of arguments provided on the command line, usually passsed as-is by the calling application.
argv:(Input)Actual arguments as an array of text.
package:(Input)Package name, used to find the ACD file

Returns

void:No return value

Description

Initialises everything. Reads an ACD (AJAX Command Definition) file prompts the user for any missing information, reads all sequences and other input into local structures which applications can request. Must be called in each EMBOSS program first.

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