embdomain.c


Operators

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

Function embScopToPdbid

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

Synopsis

Prototype

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

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 3.0.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
);

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 3.0.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
);

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 3.0.0