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.

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

From EMBOSS 1.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.

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

From EMBOSS 1.0.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.

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

From EMBOSS 6.2.0