Bioplib
Protein Structure C Library
|
Conversion from PDB to sequence and other sequence related routines. More...
Go to the source code of this file.
Functions | |
char * | blDoPDB2Seq (PDB *pdb, BOOL DoAsxGlx, BOOL ProtOnly, BOOL NoX) |
HASHTABLE * | blDoPDB2SeqByChain (PDB *pdb, BOOL DoAsxGlx, BOOL ProtOnly, BOOL NoX) |
Conversion from PDB to sequence and other sequence related routines.
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.
Definition in file PDB2Seq.c.
[in] | *pdb | PDB linked list |
[in] | DoAsxGlx | Handle Asx and Glx as B and Z rather than X |
[in] | ProtOnly | Don't do DNA/RNA; these simply don't get done rather than being handled as X |
[in] | NoX | Skip amino acids which would be assigned as X |
malloc()'s an array containing the 1-letter sequence corresponding to an input PDB linked list. Returns NULL if given a NULL parameter or memory allocation fails. Puts *'s in the sequence for multi-chains.
This routine is normally called via the macro interfaces: PDB2Seq(pdb), PDB2SeqX(pdb), PDBProt2Seq(pdb), PDBProt2SeqX(pdb) Those with Prot in their names handle protein only; those with X handle Asx/Glx as B/Z rather than as X
[in] | *pdb | PDB linked list |
[in] | DoAsxGlx | Handle Asx and Glx as B and Z rather than X |
[in] | ProtOnly | Don't do DNA/RNA; these simply don't get done rather than being handled as X |
[in] | NoX | Skip amino acids which would be assigned as X |
Reads sequence from ATOM records in 1-letter code, storing the results in a hash indexed by chain label.
This routine is normally called via the macro interfaces: PDB2SeqByCHain(pdb), PDB2SeqXByCHain(pdb), PDBProt2SeqByChain(pdb), PDBProt2SeqXByChain(pdb) Those with Prot in their names handle protein only; those with X handle Asx/Glx as B/Z rather than as X