ajdomain.c


Constructors

These constructors return a pointer to a new instance of an object.

Function ajCathReadAllNew

Reads a DCF file (domain classification file) for CATH domains. This file is in DCF format (see documentation for DOMAINATRIX "cathparse" application) and creates a list of Cath objects for the entire content.

Synopsis

Prototype

AjPList ajCathReadAllNew (
      AjPFile inf
);

Input & Output

inf:(Modify)Pointer to CATH classification file

Returns

AjPList:List of Cath objects.

Description

Reads a DCF file (domain classification file) for CATH domains. This file is in DCF format (see documentation for DOMAINATRIX "cathparse" application) and creates a list of Cath objects for the entire content.

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 ajCathReadAllRawNew

Reads the CATH parsable files (dir.cla.scop.txt & dir.des.scop.txt) and writes a list of Cath objects.

Synopsis

Prototype

AjPList ajCathReadAllRawNew (
      AjPFile cathf,
      AjPFile domf,
      AjPFile namesf,
      AjPFile logf
);

Input & Output

cathf:(Modify)Cath class file
domf:(Modify)Cath domain file
namesf:(Modify)Output file
logf:(Modify)Log file

Returns

AjPList:List of Scop objects.

Description

Reads the CATH parsable files (dir.cla.scop.txt & dir.des.scop.txt) and writes a list of Cath objects.

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 ajCathReadCNew

Read a Cath object from a DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "cathparse" application).

Synopsis

Prototype

AjPCath ajCathReadCNew (
      AjPFile inf,
      const char* entry
);

Input

entry:(Input)CATH id of entry to retrieve (or "*" for next domain in file).

Input & Output

inf:(Modify)Input file stream

Returns

AjPCath:Cath object.

Description

Read a Cath object from a DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "cathparse" application).

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 ajCathReadNew

Read a Cath object from a DCF file (domain classification file) which is in DCF format (see documentation for DOMAINATRIX "cathparse" application).

Synopsis

Prototype

AjPCath ajCathReadNew (
      AjPFile inf,
      const AjPStr entry
);

Input

entry:(Input)CATH id of entry to retrieve (or "*" for next domain in file).

Input & Output

inf:(Modify)Input file stream

Returns

AjPCath:Cath object.

Description

Read a Cath object from a DCF file (domain classification file) which is in DCF format (see documentation for DOMAINATRIX "cathparse" application).

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 ajDomainReadAllNew

Reads the DCF file (domain classification file; see documentation for DOMAINATRIX "scopparse" application) and creates a list of Domain objects for the entire content.

Synopsis

Prototype

AjPList ajDomainReadAllNew (
      AjPFile inf
);

Input & Output

inf:(Modify)Pointer to DOMAIN classification file

Returns

AjPList:List of domain objects or NULL (file read problem).

Description

Reads the DCF file (domain classification file; see documentation for DOMAINATRIX "scopparse" application) and creates a list of Domain objects for the entire content.

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 ajScopReadAllNew

Reads the DCF file (domain classification file) of SCOP domains. The DCF file is in DCF format (see documentation for DOMAINATRIX "scopparse" application). The function creates a list of cop objects for the entire content.

Synopsis

Prototype

AjPList ajScopReadAllNew (
      AjPFile inf
);

Input & Output

inf:(Modify)Pointer to SCOP classification file

Returns

AjPList:List of scop objects or NULL (file read problem).

Description

Reads the DCF file (domain classification file) of SCOP domains. The DCF file is in DCF format (see documentation for DOMAINATRIX "scopparse" application). The function creates a list of cop objects for the entire content.

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 ajScopReadAllRawNew

Reads the SCOP parsable files (dir.cla.scop.txt & dir.des.scop.txt) and creates a list of Scop objects.

Synopsis

Prototype

AjPList ajScopReadAllRawNew (
      AjPFile claf,
      AjPFile desf,
      AjBool omit
);

Input

omit:(Input)True if domains of 1 chain only are output

Input & Output

claf:(Modify)Scop class file
desf:(Modify)Scop description file

Returns

AjPList:List of Scop objects.

Description

Reads the SCOP parsable files (dir.cla.scop.txt & dir.des.scop.txt) and creates a list of Scop objects.

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 ajCathNew

Cath object constructor. Fore-knowledge of the number of chain segments the domain is comprised of is required.

Synopsis

Prototype

AjPCath ajCathNew (
      ajint n
);

Input

n:(Input)No. of chain segments

Returns

AjPCath:Pointer to a Cath object

Description

Cath object constructor. Fore-knowledge of the number of chain segments the domain is comprised of is required.

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 ajDomainNew

Domain object constructor. Fore-knowledge of the number of chains (SCOP domains) or chain segments (CATH domains) the domain is comprised of is required. This is normally called by the ajDomainReadCNew / ajDomainReadNew functions.

Synopsis

Prototype

AjPDomain ajDomainNew (
      ajint n,
      ajint type
);

Input

n:(Input)Number of chains (SCOP) or chain segments (CATH)
type:(Input)Either ajSCOP (1) or ajCATH (2)

Returns

AjPDomain:Pointer to a Domain object

Description

Domain object constructor. Fore-knowledge of the number of chains (SCOP domains) or chain segments (CATH domains) the domain is comprised of is required. This is normally called by the ajDomainReadCNew / ajDomainReadNew functions.

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 ajScopNew

Scop object constructor. Fore-knowledge of the number of chains is required. This is normally called by the ajScopReadCNew / ajScopReadNew functions.

Synopsis

Prototype

AjPScop ajScopNew (
      ajint chains
);

Input

chains:(Input)Number of chains

Returns

AjPScop:Pointer to a Scop object

Description

Scop object constructor. Fore-knowledge of the number of chains is required. This is normally called by the ajScopReadCNew / ajScopReadNew functions.

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 ajDomainReadNew

Read a Domain object from a DCF file (domain classification file - see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjPDomain ajDomainReadNew (
      AjPFile inf,
      const AjPStr entry
);

Input

entry:(Input)Domain id of domain to read (or "*" for next domain in file).

Input & Output

inf:(Modify)Input file stream.

Returns

AjPDomain:Domain object.

Description

Read a Domain object from a DCF file (domain classification file - see documentation for DOMAINATRIX "scopparse" application).

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 ajScopReadNew

Read a Scop object from a DCF file (domain classification file). The DCF file is in DCF format (see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjPScop ajScopReadNew (
      AjPFile inf,
      const AjPStr entry
);

Input

entry:(Input)SCOP id of domain to read (or "*" for next domain in file).

Input & Output

inf:(Modify)Input file stream.

Returns

AjPScop:Scop object.

Description

Read a Scop object from a DCF file (domain classification file). The DCF file is in DCF format (see documentation for DOMAINATRIX "scopparse" application).

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 ajDomainReadCNew

Read a Domain object from a DCF (domain classification file; see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjPDomain ajDomainReadCNew (
      AjPFile inf,
      const char* entry,
      ajint dtype
);

Input

entry:(Input)Domain id of domain to parse
dtype:(Input)Type of domain (ajSCOP or ajCATH) in the DCF file, or '0' if not sure.

Input & Output

inf:(Modify)Input file stream

Returns

AjPDomain:Domain object or NULL (file read problem).

Description

Read a Domain object from a DCF (domain classification file; see documentation for DOMAINATRIX "scopparse" application).

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 ajScopReadCNew

Read a Scop object from a DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjPScop ajScopReadCNew (
      AjPFile inf,
      const char* entry
);

Input

entry:(Input)SCOP id of domain to parse

Input & Output

inf:(Modify)Input file stream

Returns

AjPScop:Scop object or NULL (file read problem).

Description

Read a Scop object from a DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "scopparse" application).

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

Structure Destructors

These destructors functions receive the address of the instance to be deleted. The original pointer is set to NULL so is ready for re-use.

Function ajDomainDel

Destructor for domain object.

Synopsis

Prototype

void ajDomainDel (
      AjPDomain* ptr
);

Output

ptr:(Delete)Domain object pointer

Returns

void:No return value

Description

Destructor for domain object.

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 ajScopDel

Destructor for scop object.

Synopsis

Prototype

void ajScopDel (
      AjPScop* ptr
);

Output

ptr:(Delete)Scop object pointer

Returns

void:No return value

Description

Destructor for scop object.

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 ajCathDel

Destructor for Cath object. Fore-knowledge of the number of chain segments domain is comprised of is required.

Synopsis

Prototype

void ajCathDel (
      AjPCath* ptr
);

Output

ptr:(Delete)Cath object pointer

Returns

void:No return value

Description

Destructor for Cath object. Fore-knowledge of the number of chain segments domain is comprised of is required.

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

Assignments

These functions overwrite the instance provided as the first argument A NULL value is always acceptable so these functions are often used to create a new instance by assignment.

Function ajDomainCopy

Copies the contents from one Domain object to another.

Synopsis

Prototype

AjBool ajDomainCopy (
      AjPDomain* to,
      const AjPDomain from
);

Input

from:(Input)Domain object

Output

to:(Output)Domain object pointer

Returns

AjBool:True if copy was successful.

Description

Copies the contents from one Domain object to another.

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 ajCathCopy

Copies the contents from one Cath object to another.

Synopsis

Prototype

AjBool ajCathCopy (
      AjPCath* to,
      const AjPCath from
);

Input

from:(Input)Cath object

Output

to:(Output)Cath object pointer

Returns

AjBool:True if copy was successful.

Description

Copies the contents from one Cath object to another.

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 ajScopCopy

Copies the contents from one Scop object to another.

Synopsis

Prototype

AjBool ajScopCopy (
      AjPScop* to,
      const AjPScop from
);

Input

from:(Input)Scop object

Output

to:(Output)Scop object pointer

Returns

AjBool:True if copy was successful.

Description

Copies the contents from one Scop object to another.

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

Operators

These functions use the contents of an instance but do not make any changes.

Function ajScopMatchSunid

Function to sort Scop objects by Sunid_Family.

Synopsis

Prototype

ajint ajScopMatchSunid (
      const void* entry1,
      const void* entry2
);

Input

entry1:(Input)Pointer to Scop object 1
entry2:(Input)Pointer to Scop object 2

Returns

ajint:-1 if Start1 should sort before Start2, +1 if the Start2 should sort first. 0 if they are identical.

Description

Function to sort Scop objects by Sunid_Family.

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 ajScopMatchScopid

Function to sort Scop objects by Entry element.

Synopsis

Prototype

ajint ajScopMatchScopid (
      const void* hit1,
      const void* hit2
);

Input

hit1:(Input)Pointer to Scop object 1
hit2:(Input)Pointer to Scop object 2

Returns

ajint:-1 if Entry1 should sort before Entry2, +1 if the Entry2 should sort first. 0 if they are identical in length and content.

Description

Function to sort Scop objects by Entry element.

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 ajScopMatchPdbId

Function to sort Scop objects by Pdb element.

Synopsis

Prototype

ajint ajScopMatchPdbId (
      const void* hit1,
      const void* hit2
);

Input

hit1:(Input)Pointer to Scop object 1
hit2:(Input)Pointer to Scop object 2

Returns

ajint:-1 if Pdb1 should sort before Pdb2, +1 if the Pdb2 should sort first. 0 if they are identical in length and content.

Description

Function to sort Scop objects by Pdb element.

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 ajCathMatchPdbId

Function to sort Cath objects by Pdb element.

Synopsis

Prototype

ajint ajCathMatchPdbId (
      const void* hit1,
      const void* hit2
);

Input

hit1:(Input)Pointer to Cath object 1
hit2:(Input)Pointer to Cath object 2

Returns

ajint:-1 if Pdb1 should sort before Pdb2, +1 if the Pdb2 should sort first. 0 if they are identical in length and content.

Description

Function to sort Cath objects by Pdb element.

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

Reporters

These functions return the contents of an instance but do not make any changes.

Function ajDomainGetId

Returns domain id, either DomainID element (Cath object) or Entry (Scop object).

Synopsis

Prototype

AjPStr ajDomainGetId (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns domain id, either DomainID element (Cath object) or Entry (Scop object).

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 ajDomainGetSeqPdb

Returns the pdb sequence from a Domain object.

Synopsis

Prototype

AjPStr ajDomainGetSeqPdb (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns the pdb sequence from a Domain object.

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 ajDomainGetSeqSpr

Returns the swissprot sequence from a Domain object.

Synopsis

Prototype

AjPStr ajDomainGetSeqSpr (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns the swissprot sequence from a Domain object.

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 ajDomainGetPdb

Returns the Pdb element from a Domain object.

Synopsis

Prototype

AjPStr ajDomainGetPdb (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns the Pdb element from a Domain object.

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 ajDomainGetAcc

Returns the Acc element from a Domain object.

Synopsis

Prototype

AjPStr ajDomainGetAcc (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns the Acc element from a Domain object.

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 ajDomainGetSpr

Returns the Spr element from a Domain object.

Synopsis

Prototype

AjPStr ajDomainGetSpr (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

AjPStr:Or NULL on error.

Description

Returns the Spr element from a Domain object.

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 ajDomainGetN

Returns no. chains or chain segments in a domain, either NSegment element (Cath domains) or N element (Scop domains).

Synopsis

Prototype

ajint ajDomainGetN (
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Returns

ajint:Or -1 on error.

Description

Returns no. chains or chain segments in a domain, either NSegment element (Cath domains) or N element (Scop domains).

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 ajScopArrFindScopid

Performs a binary search for a SCOP domain id over an array of Scop structures (which of course must first have been sorted). This is a case-insensitive search.

Synopsis

Prototype

ajint ajScopArrFindScopid (
      AjPScop const* arr,
      ajint siz,
      const AjPStr id
);

Input

arr:(Input)Array of AjPScop objects
siz:(Input)Size of array
id:(Input)Search term

Returns

ajint:Index of first Scop object found with a SCOP domain id matching id, or -1 if id is not found.

Description

Performs a binary search for a SCOP domain id over an array of Scop structures (which of course must first have been sorted). This is a case-insensitive search.

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 ajScopArrFindSunid

Performs a binary search for a SCOP sunid over an array of Scop objects (which of course must first have been sorted). This is a case-insensitive search.

Synopsis

Prototype

ajint ajScopArrFindSunid (
      AjPScop const* arr,
      ajint siz,
      ajint id
);

Input

arr:(Input)Array of Scop objects
siz:(Input)Size of array
id:(Input)Search term

Returns

ajint:Index of first Scop object found with an PDB code matching id, or -1 if id is not found.

Description

Performs a binary search for a SCOP sunid over an array of Scop objects (which of course must first have been sorted). This is a case-insensitive search.

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 ajScopArrFindPdbid

Performs a binary search for a SCOP domain id over an array of Scop objects (which of course must first have been sorted). This is a case-insensitive search.

Synopsis

Prototype

ajint ajScopArrFindPdbid (
      AjPScop const* arr,
      ajint siz,
      const AjPStr id
);

Input

arr:(Input)Array of AjPScop objects
siz:(Input)Size of array
id:(Input)Search term

Returns

ajint:Index of first Scop object found with a PDB code matching id, or -1 if id is not found.

Description

Performs a binary search for a SCOP domain id over an array of Scop objects (which of course must first have been sorted). This is a case-insensitive search.

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 ajCathArrFindPdbid

Performs a binary search for a CATH domain id over an array of Cath structures (which of course must first have been sorted). This is a case-insensitive search.

Synopsis

Prototype

ajint ajCathArrFindPdbid (
      AjPCath const* arr,
      ajint siz,
      const AjPStr id
);

Input

arr:(Input)Array of AjPCath objects
siz:(Input)Size of array
id:(Input)Search term

Returns

ajint:Index of first Cath object found with a PDB code matching id, or -1 if id is not found.

Description

Performs a binary search for a CATH domain id over an array of Cath structures (which of course must first have been sorted). This is a case-insensitive search.

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

Input and Output

These functions use the contents of an instance but do not make any changes.

Function ajPdbWriteDomain

Writes a clean coordinate file for a SCOP domain. Where coordinates for multiple models (e.g. NMR structures) are given, data for model 1 are written. In the clean file, the coordinates are presented as belonging to a single chain regardless of how many chains the domain comprised. Coordinates for heterogens are NOT written to file.

Synopsis

Prototype

AjBool ajPdbWriteDomain (
      AjPFile outf,
      const AjPPdb pdb,
      const AjPScop scop,
      AjPFile errf
);

Input

pdb:(Input)Pdb object
scop:(Input)Scop object

Input & Output

outf:(Modify)Output file stream
errf:(Modify)Output file stream for error messages

Returns

AjBool:True on success

Description

Writes a clean coordinate file for a SCOP domain. Where coordinates for multiple models (e.g. NMR structures) are given, data for model 1 are written. In the clean file, the coordinates are presented as belonging to a single chain regardless of how many chains the domain comprised. Coordinates for heterogens are NOT written to 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 3.0.0

Function ajCathWrite

Write contents of a Cath object to an output DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "cathparse" application).

Synopsis

Prototype

AjBool ajCathWrite (
      AjPFile outf,
      const AjPCath obj
);

Input

obj:(Input)Cath object

Input & Output

outf:(Modify)Output file stream

Returns

AjBool:True if file was written ok.

Description

Write contents of a Cath object to an output DCF file (domain classification file) in DCF format (see documentation for DOMAINATRIX "cathparse" application).

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 ajDomainWrite

Write contents of a Domain object to an output file in DCF format (see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjBool ajDomainWrite (
      AjPFile outf,
      const AjPDomain obj
);

Input

obj:(Input)Domain object

Input & Output

outf:(Modify)Output file stream

Returns

AjBool:True if file was written ok.

Description

Write contents of a Domain object to an output file in DCF format (see documentation for DOMAINATRIX "scopparse" application).

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 ajScopWrite

Write contents of a Scop object to a DCF file (domain classification file). The DCF file uses DCF format (see documentation for DOMAINATRIX "scopparse" application).

Synopsis

Prototype

AjBool ajScopWrite (
      AjPFile outf,
      const AjPScop obj
);

Input

obj:(Input)Scop object

Input & Output

outf:(Modify)Output file stream

Returns

AjBool:True if file was written ok.

Description

Write contents of a Scop object to a DCF file (domain classification file). The DCF file uses DCF format (see documentation for DOMAINATRIX "scopparse" application).

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

Miscellaneous

These functions may have diverse functions that do not fit into the other categories.

Function ajDomainDCFType

Reads a DCF file (domain classification file; see documentation for DOMAINATRIX "scopparse" application) and assertains the type of domains (ajSCOP or ajCATH) within.

Synopsis

Prototype

ajint ajDomainDCFType (
      AjPFile inf
);

Input & Output

inf:(Modify)Input file stream

Returns

ajint:ajSCOP, ajCATH or -1 (error) as appropriate.

Description

Reads a DCF file (domain classification file; see documentation for DOMAINATRIX "scopparse" application) and assertains the type of domains (ajSCOP or ajCATH) within.

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 ajDomainDummyFunction

Dummy function to catch all unused functions defined in the ajdomain source file.

Synopsis

Prototype

void ajDomainDummyFunction (
      void
);

Returns

void:No return value

Description

Dummy function to catch all unused functions defined in the ajdomain source 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 3.0.0