embmat.c


Function embMatMatchDel

Deallocate a MatMatch structure

Synopsis

Prototype
void embMatMatchDel (
      EmbPMatMatch* s
);

TypeNameRead/WriteDescription
EmbPMatMatch*sOutputStructure to delete
void RETURN

Output
s:(Output)Structure to delete
Returns
void:No return value

Description

Deallocate a MatMatch structure

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 embMatPrintsInit

Initialise file pointer to the EMBOSS PRINTS data file

Synopsis

Prototype
void embMatPrintsInit (
      AjPFile* fp
);

TypeNameRead/WriteDescription
AjPFile*fpOutputfile pointer
void RETURN

Output
fp:(Output)file pointer
Returns
void:No return value

Description

Initialise file pointer to the EMBOSS PRINTS data 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 6.4.0

Function embMatProtReadInt

Fill a protein matrix structure (EmbPMatPrints) from a data file Gets next entry.

Synopsis

Prototype
EmbPMatPrints embMatProtReadInt (
      AjPFile fp
);

TypeNameRead/WriteDescription
AjPFilefpModifydata file pointer
EmbPMatPrints RETURNmatrix structure

Input & Output
fp:(Modify)data file pointer
Returns
EmbPMatPrints:matrix structure

Description

Fill a protein matrix structure (EmbPMatPrints) from a data file Gets next entry.

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 embMatProtDelInt

Deallocate a protein matrix structure (EmbPMatPrints)

Synopsis

Prototype
void embMatProtDelInt (
      EmbPMatPrints* s
);

TypeNameRead/WriteDescription
EmbPMatPrints*sDeletematrix structure
void RETURN

Output
s:(Delete)matrix structure
Returns
void:No return value

Description

Deallocate a protein matrix structure (EmbPMatPrints)

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 embMatProtScanInt

Scan a protein sequence with a fingerprint

Synopsis

Prototype
ajuint embMatProtScanInt (
      const AjPStr s,
      const AjPStr n,
      const EmbPMatPrints m,
      AjPList* l,
      AjBool* all,
      AjBool* ordered,
      AjBool overlap
);

TypeNameRead/WriteDescription
const AjPStrsInputSequence
const AjPStrnInputname of sequence
const EmbPMatPrintsmInputFingerprint matrix
AjPList*lOutputList to push hits to
AjBool*allOutputSet if all elements match
AjBool*orderedOutputSet if all elements are in order
AjBooloverlapInputTrue if overlaps are allowed
ajuint RETURNnumber of hits

Input
s:(Input)Sequence
n:(Input)name of sequence
m:(Input)Fingerprint matrix
overlap:(Input)True if overlaps are allowed
Output
l:(Output)List to push hits to
all:(Output)Set if all elements match
ordered:(Output)Set if all elements are in order
Returns
ajuint:number of hits

Description

Scan a protein sequence with a fingerprint

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