The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Functions | Variables
throne.c File Reference

Convert between 1 and 3 letter aa codes. More...

#include <string.h>
#include "SysDefs.h"

Go to the source code of this file.

Macros

#define NUMAAKNOWN   39
 

Functions

char blThrone (char *three)
 
char blThronex (char *three)
 
char * blOnethr (char one)
 

Variables

BOOL gBioplibSeqNucleicAcid = FALSE
 

Detailed Description

Convert between 1 and 3 letter aa codes.

Version
V1.9
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file throne.c.

Macro Definition Documentation

#define NUMAAKNOWN   39

Definition at line 98 of file throne.c.

Function Documentation

char* blOnethr ( char  one)
Parameters
[in]oneOne letter code
Returns
Three letter code (padded to 4 chars with a space)

Converts 1-letter code to 3-letter code (actually as 4 chars).

  • 07.06.93 Original By: ACRM
  • 25.07.95 If the gBioplibSeqNucleicAcid flag is set, assumes nucleic acids rather than amino acids
  • 03.02.09 Fixed nucleic search - j was incrementing instead of decrementing!
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 223 of file throne.c.

char blThrone ( char *  three)
Parameters
[in]*threeThree letter code
Returns
One letter code

Converts 3-letter code to 1-letter code. Handles ASX and GLX as X

  • 29.09.92 Original By: ACRM
  • 11.03.94 Modified to handle ASX and GLX in the tables
  • 25.07.95 Added handling of gBioplibSeqNucleicAcid
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 153 of file throne.c.

char blThronex ( char *  three)
Parameters
[in]*threeThree letter code
Returns
One letter code

Converts 3-letter code to 1-letter code. Handles ASX and GLX as B and Z.

  • 29.09.92 Original By: ACRM
  • 25.07.95 Added handling of gBioplibSeqNucleicAcid
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 188 of file throne.c.

Variable Documentation

BOOL gBioplibSeqNucleicAcid = FALSE

Definition at line 130 of file throne.c.