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
);

TypeNameRead/WriteDescription
const char*pgmInputApplication name, used as the name of the ACD file
ajintargcInputNumber of arguments provided on the command line, usually passed as-is by the calling application.
char* const[]argvInputActual arguments as an array of text.
void RETURN

Input
pgm:(Input)Application name, used as the name of the ACD file
argc:(Input)Number of arguments provided on the command line, usually passed 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 6.4.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
);

TypeNameRead/WriteDescription
const char*pgmInputApplication name, used as the name of the ACD file
ajintargcInputNumber of arguments provided on the command line, usually passed as-is by the calling application.
char* const[]argvInputActual arguments as an array of text.
const char*packageInputPackage name, used to find the ACD file
void RETURN

Input
pgm:(Input)Application name, used as the name of the ACD file
argc:(Input)Number of arguments provided on the command line, usually passed 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 6.4.0

Function embInitPV

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 embInitPV (
      const char* pgm,
      ajint argc,
      char* const[] argv,
      const char* package,
      const char* packversion
);

TypeNameRead/WriteDescription
const char*pgmInputApplication name, used as the name of the ACD file
ajintargcInputNumber of arguments provided on the command line, usually passed as-is by the calling application.
char* const[]argvInputActual arguments as an array of text.
const char*packageInputPackage name, used to find the ACD file
const char*packversionInputPackage version
void RETURN

Input
pgm:(Input)Application name, used as the name of the ACD file
argc:(Input)Number of arguments provided on the command line, usually passed 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
packversion:(Input)Package version
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 6.4.0