embdomain.c


Section: Operators

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

Functions: embScopToPdbid embScopToSp embScopToAcc


Function embScopToPdbid

Read a scop identifier code and writes the equivalent pdb identifier code

Synopsis

Prototype
AjPStr embScopToPdbid (
      const AjPStr scop,
      AjPStr* pdb
);

TypeNameRead/WriteDescription
const AjPStrscopInputScop identifier code
AjPStr*pdbOutputPdb identifier code
AjPStr RETURNPointer to pdb identifier code.

Input
scop:(Input)Scop identifier code
Output
pdb:(Output)Pdb identifier code
Returns
AjPStr:Pointer to pdb identifier code.

Description

Read a scop identifier code and writes the equivalent pdb identifier code

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 embScopToSp

Read a scop identifier code and writes the equivalent swissprot identifier code. Relies on a list of Pdbtosp objects sorted by PDB code, which is usually obtained by a call to ajPdbtospReadAllNew.

Synopsis

Prototype
AjBool embScopToSp (
      const AjPStr scop,
      AjPStr* spr,
      const AjPList list
);

TypeNameRead/WriteDescription
const AjPStrscopInputScop domain identifier code
AjPStr*sprOutputSwissprot identifier code
const AjPListlistInputSorted list of Pdbtosp objects
AjBool RETURNTrue if a swissprot identifier code was found for the Scop code.

Input
scop:(Input)Scop domain identifier code
list:(Input)Sorted list of Pdbtosp objects
Output
spr:(Output)Swissprot identifier code
Returns
AjBool:True if a swissprot identifier code was found for the Scop code.

Description

Read a scop identifier code and writes the equivalent swissprot identifier code. Relies on a list of Pdbtosp objects sorted by PDB code, which is usually obtained by a call to ajPdbtospReadAllNew.

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 embScopToAcc

Read a scop identifier code and writes the equivalent accession number. Relies on a list of Pdbtosp objects sorted by PDB code, which is usually obtained by a call to ajPdbtospReadAllNew.

Synopsis

Prototype
AjBool embScopToAcc (
      const AjPStr scop,
      AjPStr* acc,
      const AjPList list
);

TypeNameRead/WriteDescription
const AjPStrscopInputScop domain identifier code
AjPStr*accOutputAccession number
const AjPListlistInputSorted list of Pdbtosp objects
AjBool RETURNTrue if a swissprot identifier code was found for the Scop code.

Input
scop:(Input)Scop domain identifier code
list:(Input)Sorted list of Pdbtosp objects
Output
acc:(Output)Accession number
Returns
AjBool:True if a swissprot identifier code was found for the Scop code.

Description

Read a scop identifier code and writes the equivalent accession number. Relies on a list of Pdbtosp objects sorted by PDB code, which is usually obtained by a call to ajPdbtospReadAllNew.

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