ajpdb.c
All constructors return a pointer to a new instance. It is the
responsibility of the user to first destroy any previous instance. The
target pointer does not need to be initialised to NULL, but it is good
programming practice to do so anyway.
Functions: ajPdbtospReadAllRawNew ajPdbtospReadNew ajPdbtospReadCNew ajPdbtospReadAllNew ajCmapReadINew ajCmapReadCNew ajCmapReadAllNew ajCmapReadNew ajVdwallReadNew ajHetReadNew ajHetReadRawNew ajPdbReadFirstModelNew ajPdbReadAllModelsNew ajPdbReadNew ajPdbReadoldNew ajPdbReadoldFirstModelNew ajAtomNew ajResidueNew ajChainNew ajPdbNew ajHetentNew ajHetNew ajVdwallNew ajVdwresNew ajCmapNew ajPdbtospNew
Reads the swissprot:pdb equivalence table available at URL (1)
(1) http://www.expasy.ch/cgi-bin/lists?pdbtosp.txt
and returns the data as a list of Pdbtosp objects.
Synopsis
Prototype
AjPList ajPdbtospReadAllRawNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file |
AjPList | | RETURN | List of Pdbtosp objects. |
Input & Output
Returns
AjPList: | List of Pdbtosp objects. |
Description
Reads the swissprot:pdb equivalence table available at URL (1)
(1) http://www.expasy.ch/cgi-bin/lists?pdbtosp.txt
and returns the data as a list of Pdbtosp objects.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Pdbtosp object from a file in embl-like format (see documentation
for DOMAINATRIX "pdbtosp" application).
Synopsis
Prototype
AjPPdbtosp ajPdbtospReadNew (
AjPFile inf,
const AjPStr entry
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
const AjPStr | entry | Input | Pdb id |
AjPPdbtosp | | RETURN | True on success |
Input
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPPdbtosp: | True on success |
Description
Read a Pdbtosp object from a file in embl-like format (see documentation
for DOMAINATRIX "pdbtosp" application).
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Pdbtosp object from a file in embl-like format. Memory for the
object is allocated.
Synopsis
Prototype
AjPPdbtosp ajPdbtospReadCNew (
AjPFile inf,
const char* entry
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
const char* | entry | Input | Pdb id |
AjPPdbtosp | | RETURN | True on success |
Input
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPPdbtosp: | True on success |
Description
Read a Pdbtosp object from a file in embl-like format. Memory for the
object is allocated.
See Also
See other functions in this section
Availability
In release 6.4.0
Read all the Pdbtosp objects in a file in embl-like format (see
documentation for DOMAINATRIX "pdbtosp" application) and writes a list of
these objects. It then sorts the list by PDB id.
Synopsis
Prototype
AjPList ajPdbtospReadAllNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
AjPList | | RETURN | List of Pdbtosp objects. |
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPList: | List of Pdbtosp objects. |
Description
Read all the Pdbtosp objects in a file in embl-like format (see
documentation for DOMAINATRIX "pdbtosp" application) and writes a list of
these objects. It then sorts the list by PDB id.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). Takes the chain
identifier as an integer. If the arguments mod and chn are both 0, the
function will read the next Cmap in the file.
Synopsis
Prototype
AjPCmap ajCmapReadINew (
AjPFile inf,
ajint chn,
ajint mod
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
ajint | chn | Input | Chain number |
ajint | mod | Input | Model number |
AjPCmap | | RETURN | Pointer to new Cmap object. |
Input
chn: | (Input) | Chain number |
mod: | (Input) | Model number |
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPCmap: | Pointer to new Cmap object. |
Description
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). Takes the chain
identifier as an integer. If the arguments mod and chn are both 0, the
function will read the next Cmap in the file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). Takes the chain
identifier as a character.
Synopsis
Prototype
AjPCmap ajCmapReadCNew (
AjPFile inf,
char chn,
ajint mod
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
char | chn | Input | Chain number |
ajint | mod | Input | Model number |
AjPCmap | | RETURN | Pointer to new Cmap object. |
Input
chn: | (Input) | Chain number |
mod: | (Input) | Model number |
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPCmap: | Pointer to new Cmap object. |
Description
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). Takes the chain
identifier as a character.
See Also
See other functions in this section
Availability
In release 6.4.0
Read every Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application) and returns a list
of these objects.
Synopsis
Prototype
AjPList ajCmapReadAllNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
AjPList | | RETURN | List of Cmap objects. |
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPList: | List of Cmap objects. |
Description
Read every Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application) and returns a list
of these objects.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). This is not
usually called by the user, who uses ajCmapReadINew or ajCmapReadCNew
instead. If mode==CMAP_MODE_I, chn==0 and mod==0, the function will
read the next Cmap in the file.
Synopsis
Prototype
AjPCmap ajCmapReadNew (
AjPFile inf,
ajint mode,
ajint chn,
ajint mod
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream. |
ajint | mode | Input | Mode, either CMAP_MODE_I (treat chn arg as
an integer) or CMAP_MODE_C (treat chn arg as
a character). |
ajint | chn | Input | Chain identifier / number. |
ajint | mod | Input | Model number. |
AjPCmap | | RETURN | True on success (an object read) |
Input
mode: | (Input) | Mode, either CMAP_MODE_I (treat chn arg as
an integer) or CMAP_MODE_C (treat chn arg as
a character). |
chn: | (Input) | Chain identifier / number. |
mod: | (Input) | Model number. |
Input & Output
inf: | (Modify) | Input file stream. |
Returns
AjPCmap: | True on success (an object read) |
Description
Read a Cmap object from a file in CON format (see
documentation for DOMAINATRIX "contacts" application). This is not
usually called by the user, who uses ajCmapReadINew or ajCmapReadCNew
instead. If mode==CMAP_MODE_I, chn==0 and mod==0, the function will
read the next Cmap in the file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a Vdwall object from a file in embl-like format (see documentation
for the EMBASSY DOMAINATRIX package).
Synopsis
Prototype
AjPVdwall ajVdwallReadNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Input file stream |
AjPVdwall | | RETURN | Pointer to Vdwall object. |
Input & Output
inf: | (Modify) | Input file stream |
Returns
AjPVdwall: | Pointer to Vdwall object. |
Description
Read a Vdwall object from a file in embl-like format (see documentation
for the EMBASSY DOMAINATRIX package).
See Also
See other functions in this section
Availability
In release 6.4.0
Read heterogen dictionary, the Het object is allocated.
Synopsis
Prototype
AjPHet ajHetReadNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to Het file |
AjPHet | | RETURN | Het object. |
Input & Output
inf: | (Modify) | Pointer to Het file |
Returns
Description
Read heterogen dictionary, the Het object is allocated.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a dictionary of heterogen groups available at
http://pdb.rutgers.edu/het_dictionary.txt and writes a Het object.
Synopsis
Prototype
AjPHet ajHetReadRawNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to dictionary |
AjPHet | | RETURN | True on success |
Input & Output
inf: | (Modify) | Pointer to dictionary |
Returns
Description
Reads a dictionary of heterogen groups available at
http://pdb.rutgers.edu/het_dictionary.txt and writes a Het object.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) and writes a filled Pdb object. Data for the first
model only is read in.
Synopsis
Prototype
AjPPdb ajPdbReadFirstModelNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to clean coordinate file |
AjPPdb | | RETURN | Pointer to Pdb object. |
Input & Output
inf: | (Modify) | Pointer to clean coordinate file |
Returns
AjPPdb: | Pointer to Pdb object. |
Description
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) and writes a filled Pdb object. Data for the first
model only is read in.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a clean coordinate file (see documentation for DOMAINATRIX "pdbparse"
application) and writes a filled Pdb object. Data for all models is read.
Synopsis
Prototype
AjPPdb ajPdbReadAllModelsNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to clean coordinate file |
AjPPdb | | RETURN | Pointer to Pdb object. |
Input & Output
inf: | (Modify) | Pointer to clean coordinate file |
Returns
AjPPdb: | Pointer to Pdb object. |
Description
Reads a clean coordinate file (see documentation for DOMAINATRIX "pdbparse"
application) and writes a filled Pdb object. Data for all models is read.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) and writes a filled Pdb object. Data for the first
model only is read in.
Synopsis
Prototype
AjPPdb ajPdbReadNew (
AjPFile inf,
ajint mode
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to clean coordinate file |
ajint | mode | Input | Mode. 0==Read first model only. 1==Read all models. |
AjPPdb | | RETURN | Pointer to Pdb object. |
Input
mode: | (Input) | Mode. 0==Read first model only. 1==Read all models. |
Input & Output
inf: | (Modify) | Pointer to clean coordinate file |
Returns
AjPPdb: | Pointer to Pdb object. |
Description
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) and writes a filled Pdb object. Data for the first
model only is read in.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a clean coordinate file (see documentation for DOMAINATRIX "pdbparse"
application) lacking residue-level description in RE records and writes a
filled Pdb object.
Synopsis
Prototype
AjPPdb ajPdbReadoldNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to clean coordinate file |
AjPPdb | | RETURN | Pointer to Pdb object. |
Input & Output
inf: | (Modify) | Pointer to clean coordinate file |
Returns
AjPPdb: | Pointer to Pdb object. |
Description
Reads a clean coordinate file (see documentation for DOMAINATRIX "pdbparse"
application) lacking residue-level description in RE records and writes a
filled Pdb object.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) lacking residue-level description in RE records and
writes a filled Pdb object. Data for the first model only is read in.
Synopsis
Prototype
AjPPdb ajPdbReadoldFirstModelNew (
AjPFile inf
);
Type | Name | Read/Write | Description |
AjPFile | inf | Modify | Pointer to clean coordinate file |
AjPPdb | | RETURN | Pointer to Pdb object. |
Input & Output
inf: | (Modify) | Pointer to clean coordinate file |
Returns
AjPPdb: | Pointer to Pdb object. |
Description
Reads a clean coordinate file file (see documentation for DOMAINATRIX
"pdbparse" application) lacking residue-level description in RE records and
writes a filled Pdb object. Data for the first model only is read in.
See Also
See other functions in this section
Availability
In release 6.4.0
Atom object constructor.
This is normally called by the ajChainNew function.
Synopsis
Prototype
AjPAtom ajAtomNew (
void
);
Type | Name | Read/Write | Description |
AjPAtom | | RETURN | Pointer to an atom object |
Returns
AjPAtom: | Pointer to an atom object |
Description
Atom object constructor.
This is normally called by the ajChainNew function.
See Also
See other functions in this section
Availability
In release 6.4.0
Residue object constructor.
This is normally called by the ajChainNew function.
Synopsis
Prototype
AjPResidue ajResidueNew (
void
);
Type | Name | Read/Write | Description |
AjPResidue | | RETURN | Pointer to a Residue object |
Returns
AjPResidue: | Pointer to a Residue object |
Description
Residue object constructor.
This is normally called by the ajChainNew function.
See Also
See other functions in this section
Availability
In release 6.4.0
Chain object constructor.
This is normally called by the ajPdbNew function
Synopsis
Prototype
AjPChain ajChainNew (
void
);
Type | Name | Read/Write | Description |
AjPChain | | RETURN | Pointer to a chain object |
Returns
AjPChain: | Pointer to a chain object |
Description
Chain object constructor.
This is normally called by the ajPdbNew function
See Also
See other functions in this section
Availability
In release 6.4.0
Pdb object constructor. Fore-knowledge of the number of chains
is required. This is normally called by the functions that read PDB
files or clean coordinate files (see embpdb.c & embpdbraw.c).
Synopsis
Prototype
AjPPdb ajPdbNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Number of chains in this pdb file |
AjPPdb | | RETURN | Pointer to a pdb object |
Input
n: | (Input) | Number of chains in this pdb file |
Returns
AjPPdb: | Pointer to a pdb object |
Description
Pdb object constructor. Fore-knowledge of the number of chains
is required. This is normally called by the functions that read PDB
files or clean coordinate files (see embpdb.c & embpdbraw.c).
See Also
See other functions in this section
Availability
In release 6.4.0
Hetent object constructor.
Synopsis
Prototype
AjPHetent ajHetentNew (
void
);
Type | Name | Read/Write | Description |
AjPHetent | | RETURN | Pointer to a Hetent object |
Returns
AjPHetent: | Pointer to a Hetent object |
Description
Hetent object constructor.
See Also
See other functions in this section
Availability
In release 6.4.0
Het object constructor.
Synopsis
Prototype
AjPHet ajHetNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Number of entries in dictionary. |
AjPHet | | RETURN | Pointer to a Het object |
Input
n: | (Input) | Number of entries in dictionary. |
Returns
AjPHet: | Pointer to a Het object |
Description
Het object constructor.
See Also
See other functions in this section
Availability
In release 6.4.0
Vdwall object constructor. This is normally called by the ajVdwallReadNew
function. Fore-knowledge of the number of residues is required.
Synopsis
Prototype
AjPVdwall ajVdwallNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Number of residues |
AjPVdwall | | RETURN | Pointer to a Vdwall object |
Input
n: | (Input) | Number of residues |
Returns
AjPVdwall: | Pointer to a Vdwall object |
Description
Vdwall object constructor. This is normally called by the ajVdwallReadNew
function. Fore-knowledge of the number of residues is required.
See Also
See other functions in this section
Availability
In release 6.4.0
Vdwres object constructor. This is normally called by the ajVdwallReadNew
function. Fore-knowledge of the number of atoms is required.
Synopsis
Prototype
AjPVdwres ajVdwresNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Number of atoms |
AjPVdwres | | RETURN | Pointer to a Vdwres object |
Input
Returns
AjPVdwres: | Pointer to a Vdwres object |
Description
Vdwres object constructor. This is normally called by the ajVdwallReadNew
function. Fore-knowledge of the number of atoms is required.
See Also
See other functions in this section
Availability
In release 6.4.0
Cmap object constructor. This is normally called by the ajCmapReadNew
function. Fore-knowledge of the dimension (number of residues) for the
contact map is required.
Synopsis
Prototype
AjPCmap ajCmapNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Dimension of contact map |
AjPCmap | | RETURN | Pointer to a Cmap object |
Input
n: | (Input) | Dimension of contact map |
Returns
AjPCmap: | Pointer to a Cmap object |
Description
Cmap object constructor. This is normally called by the ajCmapReadNew
function. Fore-knowledge of the dimension (number of residues) for the
contact map is required.
See Also
See other functions in this section
Availability
In release 6.4.0
Pdbtosp object constructor. Fore-knowledge of the number of entries is
required. This is normally called by the ajPdbtospReadCNew /
ajPdbtospReadNew functions.
Synopsis
Prototype
AjPPdbtosp ajPdbtospNew (
ajint n
);
Type | Name | Read/Write | Description |
ajint | n | Input | Number of entries |
AjPPdbtosp | | RETURN | Pointer to a Pdbtosp object |
Input
n: | (Input) | Number of entries |
Returns
AjPPdbtosp: | Pointer to a Pdbtosp object |
Description
Pdbtosp object constructor. Fore-knowledge of the number of entries is
required. This is normally called by the ajPdbtospReadCNew /
ajPdbtospReadNew functions.
See Also
See other functions in this section
Availability
In release 6.4.0
All destructor functions receive the address of the instance to be
deleted. The original pointer is set to NULL so is ready for re-use.
Functions: ajAtomDel ajResidueDel ajChainDel ajPdbDel ajHetentDel ajHetDel ajVdwallDel ajVdwresDel ajCmapDel ajPdbtospDel
Destructor for atom object.
Synopsis
Prototype
void ajAtomDel (
AjPAtom* ptr
);
Type | Name | Read/Write | Description |
AjPAtom* | ptr | Delete | Atom object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Atom object pointer |
Returns
Description
Destructor for atom object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for residue object.
Synopsis
Prototype
void ajResidueDel (
AjPResidue* ptr
);
Type | Name | Read/Write | Description |
AjPResidue* | ptr | Delete | Residue object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Residue object pointer |
Returns
Description
Destructor for residue object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for chain object.
Synopsis
Prototype
void ajChainDel (
AjPChain* ptr
);
Type | Name | Read/Write | Description |
AjPChain* | ptr | Delete | Chain object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Chain object pointer |
Returns
Description
Destructor for chain object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for pdb object.
Synopsis
Prototype
void ajPdbDel (
AjPPdb* ptr
);
Type | Name | Read/Write | Description |
AjPPdb* | ptr | Delete | Pdb object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Pdb object pointer |
Returns
Description
Destructor for pdb object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Hetent object.
Synopsis
Prototype
void ajHetentDel (
AjPHetent* ptr
);
Type | Name | Read/Write | Description |
AjPHetent* | ptr | Delete | Hetent object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Hetent object pointer |
Returns
Description
Destructor for Hetent object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Het object.
Synopsis
Prototype
void ajHetDel (
AjPHet* ptr
);
Type | Name | Read/Write | Description |
AjPHet* | ptr | Delete | Het object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Het object pointer |
Returns
Description
Destructor for Het object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Vdwall object.
Synopsis
Prototype
void ajVdwallDel (
AjPVdwall* ptr
);
Type | Name | Read/Write | Description |
AjPVdwall* | ptr | Delete | Vdwall object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Vdwall object pointer |
Returns
Description
Destructor for Vdwall object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Vdwres object.
Synopsis
Prototype
void ajVdwresDel (
AjPVdwres* ptr
);
Type | Name | Read/Write | Description |
AjPVdwres* | ptr | Delete | Vdwres object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Vdwres object pointer |
Returns
Description
Destructor for Vdwres object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Cmap object.
Synopsis
Prototype
void ajCmapDel (
AjPCmap* ptr
);
Type | Name | Read/Write | Description |
AjPCmap* | ptr | Delete | Cmap object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Cmap object pointer |
Returns
Description
Destructor for Cmap object.
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for Pdbtosp object.
Synopsis
Prototype
void ajPdbtospDel (
AjPPdbtosp* ptr
);
Type | Name | Read/Write | Description |
AjPPdbtosp* | ptr | Delete | Pdbtosp object pointer |
void | | RETURN | |
Output
ptr: | (Delete) | Pdbtosp object pointer |
Returns
Description
Destructor for Pdbtosp object.
See Also
See other functions in this section
Availability
In release 6.4.0
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.
Functions: ajAtomCopy ajResidueCopy ajAtomListCopy ajResidueListCopy ajPdbCopy
Copies the data from an Atom object to an Atom object; the new object
is created if needed.
IMPORTANT - THIS DOES NOT COPY THE eNum & eType ELEMENTS, WHICH ARE SET
TO ZERO and '.' INSTEAD.
Synopsis
Prototype
AjBool ajAtomCopy (
AjPAtom* to,
const AjPAtom from
);
Type | Name | Read/Write | Description |
AjPAtom* | to | Output | Atom object pointer |
const AjPAtom | from | Input | Atom object pointer |
AjBool | | RETURN | True on success |
Input
from: | (Input) | Atom object pointer |
Output
to: | (Output) | Atom object pointer |
Returns
Description
Copies the data from an Atom object to an Atom object; the new object
is created if needed.
IMPORTANT - THIS DOES NOT COPY THE eNum & eType ELEMENTS, WHICH ARE SET
TO ZERO and '.' INSTEAD.
See Also
See other functions in this section
Availability
In release 6.4.0
Copies the data from a Residue object to an Residue object; the new object
is created if needed.
IMPORTANT - THIS DOES NOT COPY THE eNum & eType ELEMENTS, WHICH ARE SET
TO ZERO and '.' INSTEAD.
Synopsis
Prototype
AjBool ajResidueCopy (
AjPResidue* to,
const AjPResidue from
);
Type | Name | Read/Write | Description |
AjPResidue* | to | Output | Residue object pointer |
const AjPResidue | from | Input | Residue object pointer |
AjBool | | RETURN | True on success |
Input
from: | (Input) | Residue object pointer |
Output
to: | (Output) | Residue object pointer |
Returns
Description
Copies the data from a Residue object to an Residue object; the new object
is created if needed.
IMPORTANT - THIS DOES NOT COPY THE eNum & eType ELEMENTS, WHICH ARE SET
TO ZERO and '.' INSTEAD.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a list of Atom structures and writes a copy of the list. The
data are copied and the list is created if necessary.
Synopsis
Prototype
AjBool ajAtomListCopy (
AjPList* to,
const AjPList from
);
Type | Name | Read/Write | Description |
AjPList* | to | Output | List of Atom objects to write |
const AjPList | from | Input | List of Atom objects to read |
AjBool | | RETURN | True if list was copied ok. |
Input
from: | (Input) | List of Atom objects to read |
Output
to: | (Output) | List of Atom objects to write |
Returns
AjBool: | True if list was copied ok. |
Description
Read a list of Atom structures and writes a copy of the list. The
data are copied and the list is created if necessary.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a list of Residue structures and writes a copy of the list. The
data are copied and the list is created if necessary.
Synopsis
Prototype
AjBool ajResidueListCopy (
AjPList* to,
const AjPList from
);
Type | Name | Read/Write | Description |
AjPList* | to | Output | List of Residue objects to write |
const AjPList | from | Input | List of Residue objects to read |
AjBool | | RETURN | True if list was copied ok. |
Input
from: | (Input) | List of Residue objects to read |
Output
to: | (Output) | List of Residue objects to write |
Returns
AjBool: | True if list was copied ok. |
Description
Read a list of Residue structures and writes a copy of the list. The
data are copied and the list is created if necessary.
See Also
See other functions in this section
Availability
In release 6.4.0
Copies data from one Pdb object to another; the new object is
always created.
Synopsis
Prototype
AjBool ajPdbCopy (
AjPPdb* to,
const AjPPdb from
);
Type | Name | Read/Write | Description |
AjPPdb* | to | Output | Pdb object pointer |
const AjPPdb | from | Input | Pdb object pointer |
AjBool | | RETURN | True on success |
Input
from: | (Input) | Pdb object pointer |
Output
to: | (Output) | Pdb object pointer |
Returns
Description
Copies data from one Pdb object to another; the new object is
always created.
See Also
See other functions in this section
Availability
In release 6.4.0
These functions use the contents of an instance but do not make any
changes.
Functions: ajResidueSSEnv ajResidueEnv1 ajResidueEnv2 ajResidueEnv3 ajResidueEnv4 ajResidueEnv5 ajResidueEnv6 ajResidueEnv7 ajResidueEnv8 ajResidueEnv9 ajResidueEnv10 ajResidueEnv11 ajResidueEnv12 ajResidueEnv13 ajResidueEnv14 ajResidueEnv15 ajResidueEnv16 ajPdbGetEStrideType
Assigns secondary structure environment of a residue
Synopsis
Prototype
AjBool ajResidueSSEnv (
const AjPResidue res,
char* SEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char* | SEnv | Output | Character for the Secondary structure environment |
AjPFile | flog | Output | Log file |
AjBool | | RETURN | ajTrue on success |
Input
res: | (Input) | Residue object |
Output
SEnv: | (Output) | Character for the Secondary structure environment |
flog: | (Output) | Log file |
Returns
Description
Assigns secondary structure environment of a residue
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv1 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv2 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv3 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv4 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv5 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv6 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv7 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv8 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv9 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based only of side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv10 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv11 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv12 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv13 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv14 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv15 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
Synopsis
Prototype
ajint ajResidueEnv16 (
const AjPResidue res,
char SEnv,
AjPStr* OEnv,
AjPFile flog
);
Type | Name | Read/Write | Description |
const AjPResidue | res | Input | Residue object |
char | SEnv | Input | Secondary structure environment code |
AjPStr* | OEnv | Output | Character for the overall environment class |
AjPFile | flog | Output | Log file |
ajint | | RETURN | Number of environments |
Input
res: | (Input) | Residue object |
SEnv: | (Input) | Secondary structure environment code |
Output
OEnv: | (Output) | Character for the overall environment class |
flog: | (Output) | Log file |
Returns
ajint: | Number of environments |
Description
Assigns environment based on side chain accessibility and secondary
structure. Assigns environment of "*" as default.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a Pdb object and writes a string with the secondary structure. The
string that is written is the same length as the full-length chain
(regardless of whether coordinates for a residue were available or not)
therefore it can be indexed into using residue numbers. The string is
allocated if necessary. If secondary structure assignment was not available
for a residue a '.' is given in the string.
Synopsis
Prototype
ajint ajPdbGetEStrideType (
const AjPPdb obj,
ajint chn,
AjPStr* EStrideType
);
Type | Name | Read/Write | Description |
const AjPPdb | obj | Input | Pdb object |
ajint | chn | Input | Chain number |
AjPStr* | EStrideType | Output | String to hold secondary structure |
ajint | | RETURN | Length (residues) of array that was written or -1 (for
an error) |
Input
obj: | (Input) | Pdb object |
chn: | (Input) | Chain number |
Output
EStrideType: | (Output) | String to hold secondary structure |
Returns
ajint: | Length (residues) of array that was written or -1 (for
an error) |
Description
Reads a Pdb object and writes a string with the secondary structure. The
string that is written is the same length as the full-length chain
(regardless of whether coordinates for a residue were available or not)
therefore it can be indexed into using residue numbers. The string is
allocated if necessary. If secondary structure assignment was not available
for a residue a '.' is given in the string.
See Also
See other functions in this section
Availability
In release 6.4.0
These functions return the contents of an instance but do not make any
changes.
Functions: ajPdbChnidToNum ajPdbtospArrFindPdbid
Finds the chain number for a given chain identifier in a pdb structure
Synopsis
Prototype
AjBool ajPdbChnidToNum (
char id,
const AjPPdb pdb,
ajint* chn
);
Type | Name | Read/Write | Description |
char | id | Input | Chain identifier |
const AjPPdb | pdb | Input | Pdb object |
ajint* | chn | Output | Chain number |
AjBool | | RETURN | True on success |
Input
id: | (Input) | Chain identifier |
pdb: | (Input) | Pdb object |
Output
Returns
Description
Finds the chain number for a given chain identifier in a pdb structure
See Also
See other functions in this section
Availability
In release 6.4.0
Performs a binary search for a PDB code over an array of Pdbtosp
structures (which of course must first have been sorted). This is a
case-insensitive search.
Synopsis
Prototype
ajint ajPdbtospArrFindPdbid (
AjPPdbtosp const* arr,
ajint siz,
const AjPStr id
);
Type | Name | Read/Write | Description |
AjPPdbtosp const* | arr | Input | Array of AjOPdbtosp objects |
ajint | siz | Input | Size of array |
const AjPStr | id | Input | Search term |
ajint | | RETURN | Index of first Pdbtosp object found with an PDB code
matching id, or -1 if id is not found. |
Input
arr: | (Input) | Array of AjOPdbtosp objects |
siz: | (Input) | Size of array |
id: | (Input) | Search term |
Returns
ajint: | Index of first Pdbtosp object found with an PDB code
matching id, or -1 if id is not found. |
Description
Performs a binary search for a PDB code over an array of Pdbtosp
structures (which of course must first have been sorted). This is a
case-insensitive search.
See Also
See other functions in this section
Availability
In release 6.4.0
These functions are used for formatted input and output to file.
Functions: ajPdbWriteAll ajPdbWriteSegment ajHetWrite ajPdbtospWrite ajCmapWrite ajPdbExit
Writes a clean coordinate file for a protein.
Synopsis
Prototype
AjBool ajPdbWriteAll (
AjPFile outf,
const AjPPdb obj
);
Type | Name | Read/Write | Description |
AjPFile | outf | Output | Output file stream |
const AjPPdb | obj | Input | Pdb object |
AjBool | | RETURN | True on success |
Input
Output
outf: | (Output) | Output file stream |
Returns
Description
Writes a clean coordinate file for a protein.
See Also
See other functions in this section
Availability
In release 6.4.0
Writes a clean coordinate file for a segment, e.g. a domain. The segment
corresponds to a sequence that is passed to the function.
In the clean coordinate file, the coordinates are presented as belonging
to a single chain. Coordinates for heterogens are NOT written to file.
Synopsis
Prototype
AjBool ajPdbWriteSegment (
AjPFile outf,
const AjPPdb pdb,
const AjPStr segment,
char chnid,
const AjPStr domain,
AjPFile errf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Output | Output file stream |
const AjPPdb | pdb | Input | Pdb object |
const AjPStr | segment | Input | Sequence of segment to print out. |
char | chnid | Input | Chain id of segment |
const AjPStr | domain | Input | Domain code for segment |
AjPFile | errf | Output | Output file stream for error messages |
AjBool | | RETURN | True on success |
Input
pdb: | (Input) | Pdb object |
segment: | (Input) | Sequence of segment to print out. |
chnid: | (Input) | Chain id of segment |
domain: | (Input) | Domain code for segment |
Output
outf: | (Output) | Output file stream |
errf: | (Output) | Output file stream for error messages |
Returns
Description
Writes a clean coordinate file for a segment, e.g. a domain. The segment
corresponds to a sequence that is passed to the function.
In the clean coordinate file, the coordinates are presented as belonging
to a single chain. Coordinates for heterogens are NOT written to file.
See Also
See other functions in this section
Availability
In release 6.4.0
Writes the contents of a Het object to file.
Synopsis
Prototype
AjBool ajHetWrite (
AjPFile outf,
const AjPHet obj,
AjBool dogrep
);
Type | Name | Read/Write | Description |
AjPFile | outf | Output | Output file |
const AjPHet | obj | Input | Het object |
AjBool | dogrep | Input | Flag (True if we are to write 'cnt'
element of the Het object to file). |
AjBool | | RETURN | True on success |
Input
obj: | (Input) | Het object |
dogrep: | (Input) | Flag (True if we are to write 'cnt'
element of the Het object to file). |
Output
Returns
Description
Writes the contents of a Het object to file.
See Also
See other functions in this section
Availability
In release 6.4.0
Reads a list of Pdbtosp objects, e.g. taken from the swissprot:pdb
equivalence table available at URL:
(1) http://www.expasy.ch/cgi-bin/lists?pdbtosp.txt)
and writes the list out to file in embl-like format (see
documentation for DOMAINATRIX "pdbtosp" application).
Synopsis
Prototype
AjBool ajPdbtospWrite (
AjPFile outf,
const AjPList list
);
Type | Name | Read/Write | Description |
AjPFile | outf | Output | Output file |
const AjPList | list | Input | List of Pdbtosp objects |
AjBool | | RETURN | True of file was written ok. |
Input
list: | (Input) | List of Pdbtosp objects |
Output
Returns
AjBool: | True of file was written ok. |
Description
Reads a list of Pdbtosp objects, e.g. taken from the swissprot:pdb
equivalence table available at URL:
(1) http://www.expasy.ch/cgi-bin/lists?pdbtosp.txt)
and writes the list out to file in embl-like format (see
documentation for DOMAINATRIX "pdbtosp" application).
See Also
See other functions in this section
Availability
In release 6.4.0
Write a Cmap object to file in CON format (see documentation for
DOMAINATRIX "contacts" application).
Synopsis
Prototype
AjBool ajCmapWrite (
AjPFile outf,
const AjPCmap cmap
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file stream. |
const AjPCmap | cmap | Input | Cmap object pointer. |
AjBool | | RETURN | True on success (object was written successfully) |
Input
cmap: | (Input) | Cmap object pointer. |
Input & Output
outf: | (Modify) | Output file stream. |
Returns
AjBool: | True on success (object was written successfully) |
Description
Write a Cmap object to file in CON format (see documentation for
DOMAINATRIX "contacts" application).
See Also
See other functions in this section
Availability
In release 6.4.0
Cleanup of Pdb function internals.
Synopsis
Prototype
void ajPdbExit (
void
);
Type | Name | Read/Write | Description |
void | | RETURN | |
Returns
Description
Cleanup of Pdb function internals.
See Also
See other functions in this section
Availability
In release 6.4.0