Datatypes:
| none | Base |
Sections:
| character conversion | Casts |
| Complement | General use |
| binary conversion | Casts |
| query | General use |
| retrieval | General use |
| Doublet names | Casts |
| exit | Miscellaneous |
Functions:
| ajBaseAlphaCompare | Returns an element of the base match probability array |
| ajBaseAlphaToBin | Returns a binary OR'd representation of an IUB base where A=1, C=2, G=4 and T=8 Uses the base table set up by daseInit |
float ajBaseAlphaCompare (
ajint base,
ajint base2
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | First base offset |
| ajint | base2 | Input | Second base offset |
| float | RETURN | Base probability value |
From EMBOSS 6.0.0
ajint ajBaseAlphaToBin (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | character to convert |
| ajint | RETURN | Binary OR'd representation |
From EMBOSS 6.0.0
float ajBaseAlphacharCompare (
char c,
char c2
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | First base to compare |
| char | c2 | Input | Second base to compare |
| float | RETURN | estimated match |
From EMBOSS 6.0.0
char ajBaseAlphacharToBin (
char c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | character to convert |
| char | RETURN | Binary OR'd representation |
From EMBOSS 6.0.0
Functions:
| ajBaseAlphacharComp | Complements a nucleotide base. |
char ajBaseAlphacharComp (
char c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | Base character. |
| char | RETURN | Complementary base. |
From EMBOSS 6.0.0
Functions:
| ajBaseBinToAlpha | Converts a binary OR'd representation of an IUB base where A=1, C=2, G=4 and T=8 into an ambiguous DNA base code (uses T rather than U). |
char ajBaseBinToAlpha (
ajint c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | c | Input | character to convert |
| char | RETURN | Ambiguous DNA base code |
From EMBOSS 6.0.0
Functions:
| ajBaseExistsBin | Tests whether a base code exists |
| ajBaseExistsChar | Tests whether a base code exists |
AjBool ajBaseExistsBin (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Base code in range 0 to 31 |
| AjBool | RETURN | True if base code is known |
From EMBOSS 6.0.0
AjBool ajBaseExistsChar (
char c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | Base character |
| AjBool | RETURN | True if base code is known |
From EMBOSS 6.0.0
Functions:
| ajBaseGetCodes | Returns a string of matching base codes |
| ajBaseGetMnemonic | Returns a string of matching base codes |
const AjPStr ajBaseGetCodes (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Original base code |
| const AjPStr | RETURN | Base codes |
From EMBOSS 6.0.0
const AjPStr ajBaseGetMnemonic (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Original base code |
| const AjPStr | RETURN | Base codes |
From EMBOSS 6.0.0
Functions:
| ajBaseFromDoublet | Takes a 2 character PDB base code and writes a char with the corresponding single letter code. |
AjBool ajBaseFromDoublet (
const AjPStr nuc2,
char* Pc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | nuc2 | Input | AjPStr object (2 letter code) |
| char* | Pc | Output | Resulting residue code |
| AjBool | RETURN | True on success, false if doublet is not recognised |
From EMBOSS 6.1.0
Functions:
| ajBaseExit | Cleans up sequence base and residue processing internal memory |
void ajBaseExit (
void
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| void | RETURN |
From EMBOSS 4.0.0
Functions:
| ajResidueAlphaToBin | Returns a binary OR'd representation of an IUB residue where A=1, C=2, Uses the base table set up by residueInit |
ajint ajResidueAlphaToBin (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | character to convert |
| ajint | RETURN | Binary OR'd representation |
From EMBOSS 6.0.0
Functions:
| ajResidueBinToAlpha | Converts a binary OR'd representation of an IUB residue where A=1, C=2, etc into an ambiguous protein code |
char ajResidueBinToAlpha (
ajint c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | c | Input | character to convert |
| char | RETURN | Ambiguous residue code |
From EMBOSS 6.0.0
Functions:
| ajResidueExistsBin | Tests whether a residue code exists |
| ajResidueExistsChar | Tests whether a residue code exists |
AjBool ajResidueExistsBin (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Base code in range 0 to 31 |
| AjBool | RETURN | True if base code is known |
From EMBOSS 6.0.0
AjBool ajResidueExistsChar (
char c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | Base character |
| AjBool | RETURN | True if base code is known |
From EMBOSS 6.0.0
Functions:
| ajResidueGetCodes | Returns a string of matching amino acid residue codes |
| ajResidueGetMnemonic | Returns a string of matching amino acid residue codes |
const AjPStr ajResidueGetCodes (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Original base code |
| const AjPStr | RETURN | Base codes |
From EMBOSS 6.0.0
const AjPStr ajResidueGetMnemonic (
ajint base
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | base | Input | Original base code |
| const AjPStr | RETURN | Base codes |
From EMBOSS 6.0.0
Functions:
| ajResidueFromTriplet | Takes a 3 character amino acid code and writes a char with the corresponding single letter code. |
| ajResidueToTriplet | Writes an AjPStr with an amino acid 3 letter code |
AjBool ajResidueFromTriplet (
const AjPStr aa3,
char* Pc
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| const AjPStr | aa3 | Input | AjPStr object (3 letter code) |
| char* | Pc | Output | Resulting residue code |
| AjBool | RETURN | True on success, false if triplet is not recognised |
From EMBOSS 6.0.0
AjBool ajResidueToTriplet (
char c,
AjPStr* Paa3
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| char | c | Input | Single letter identifier of amino acid |
| AjPStr* | Paa3 | Output | AjPStr object |
| AjBool | RETURN | True on success |
From EMBOSS 6.0.0
Functions:
| ajBasecodeFromInt | Returns 'A' for 0 to 'Z' for 25 |
| ajBasecodeToInt | Returns A=0 to Z=25 or 27 otherwise |
ajint ajBasecodeFromInt (
ajint n
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | n | Input | character to convert |
| ajint | RETURN | 0 as 'A' up to 25 as 'Z' |
From EMBOSS 6.0.0
ajint ajBasecodeToInt (
ajint c
);
| Type | Name | Read/Write | Description |
|---|---|---|---|
| ajint | c | Input | character to convert |
| ajint | RETURN | A=0 to Z=25 or 27 if unknown |
From EMBOSS 6.0.0