ajrefseq.c

Datatypes:
AjPRefseq Reference sequence data
none Miscellaneous functions


Datatype: AjPRefseq

Function is for manipulating reference sequence data objects

Sections:
constructorsConstructors
Reference sequence data destructorsDestructors
CastsCasts
reference sequence data modifiersModifiers


AjPRefseq: constructors

Constructors

Functions:
ajRefseqNewRefseq data constructor


Function ajRefseqNew

Refseq data constructor

Prototype

AjPRefseq ajRefseqNew (
      void
);

TypeNameRead/WriteDescription
AjPRefseq RETURNNew object

In release 6.5.0


AjPRefseq: Reference sequence data destructors

Destruction destroys all internal data structures and frees the memory allocated for the reference sequence data object.

Functions:
ajRefseqDelReference sequence data destructor


Function ajRefseqDel

Reference sequence data destructor

Prototype

void ajRefseqDel (
      AjPRefseq* Prefseq
);

TypeNameRead/WriteDescription
AjPRefseq*PrefseqDeleteReference sequence data object to delete
void RETURN

In release 6.5.0


AjPRefseq: Casts

Return values from a reference sequence data object

Functions:
ajRefseqGetDbReturn the database name
ajRefseqGetIdReturn the identifier
ajRefseqGetQryCReturns the query string of a reference sequence data object. Because this is a pointer to the real internal string the caller must take care not to change the character string in any way. If the string is to be changed (case for example) then it must first be copied.
ajRefseqGetQrySReturns the query string of a reference sequence data object. Because this is a pointer to the real internal string the caller must take care not to change the character string in any way. If the string is to be changed (case for example) then it must first be copied.


Function ajRefseqGetDb

Return the database name

Prototype

const AjPStr ajRefseqGetDb (
      const AjPRefseq refseq
);

TypeNameRead/WriteDescription
const AjPRefseqrefseqInputRefseq
const AjPStr RETURNDatabase name

In release 6.5.0


Function ajRefseqGetId

Return the identifier

Prototype

const AjPStr ajRefseqGetId (
      const AjPRefseq refseq
);

TypeNameRead/WriteDescription
const AjPRefseqrefseqInputRefseq
const AjPStr RETURNReturned id

In release 6.5.0


Function ajRefseqGetQryC

Returns the query string of a reference sequence data object. Because this is a pointer to the real internal string the caller must take care not to change the character string in any way. If the string is to be changed (case for example) then it must first be copied.

Prototype

const char* ajRefseqGetQryC (
      const AjPRefseq refseq
);

TypeNameRead/WriteDescription
const AjPRefseqrefseqInputReference sequence data object.
const char* RETURNQuery as a character string.

In release 6.5.0


Function ajRefseqGetQryS

Returns the query string of a reference sequence data object. Because this is a pointer to the real internal string the caller must take care not to change the character string in any way. If the string is to be changed (case for example) then it must first be copied.

Prototype

const AjPStr ajRefseqGetQryS (
      const AjPRefseq refseq
);

TypeNameRead/WriteDescription
const AjPRefseqrefseqInputReference sequence data object.
const AjPStr RETURNQuery as a string.

In release 6.5.0


AjPRefseq: reference sequence data modifiers

Reference sequence data modifiers

Functions:
ajRefseqClearResets all data for a reference sequence data object so that it can be reused.


Function ajRefseqClear

Resets all data for a reference sequence data object so that it can be reused.

Prototype

void ajRefseqClear (
      AjPRefseq refseq
);

TypeNameRead/WriteDescription
AjPRefseqrefseqModifyReference sequence data object
void RETURN

In release 6.5.0


Datatype: none

Functions to initialise and clean up internals

Sections:
exitMiscellaneous


Section: exit

Functions called on exit from the program by ajExit to do any necessary cleanup and to report internal statistics to the debug file

Functions:
ajRefseqExitCleans up reference sequence processing internal memory


Function ajRefseqExit

Cleans up reference sequence processing internal memory

Prototype

void ajRefseqExit (
      void
);

TypeNameRead/WriteDescription
void RETURN

In release 6.5.0