138 PDB *FindHetatmResidue(
PDB *pdb,
char chain,
int resnum,
char insert)
140 char chain_a[2] =
" ",
143 DEPRECATED(
"FindHetatmResidue()",
"blFindHetatmResidue()");
146 insert_a[0] = insert;
170 PDB *FindResidue(
PDB *pdb,
char chain,
int resnum,
char insert)
172 char chain_a[2] =
" ",
175 DEPRECATED(
"FindResidue()",
"blFindResidue()");
178 insert_a[0] = insert;
220 BOOL FindZonePDB(
PDB *pdb,
int start,
char startinsert,
int stop,
221 char stopinsert,
char chain,
int mode,
PDB **pdb_start,
224 char startinsert_a[2] =
" ",
225 stopinsert_a[2] =
" ",
228 DEPRECATED(
"FindZonePDB()",
"blFindZonePDB()");
230 strncpy(startinsert_a,&startinsert,1);
231 strncpy(stopinsert_a ,&stopinsert ,1);
232 strncpy(chain_a ,&chain ,1);
275 BOOL InPDBZone(
PDB *p,
char chain,
int resnum1,
char insert1,
276 int resnum2,
char insert2)
278 char chain_a[2] =
" ",
285 insert1_a[0] = insert1;
286 insert2_a[0] = insert2;
288 return(
blInPDBZone(p,chain_a,resnum1,insert1_a,resnum2, insert2_a));
313 void WritePDB(FILE *fp,
PDB *pdb)
337 void WriteWholePDB(FILE *fp,
WHOLEPDB *wpdb)
340 DEPRECATED(
"WriteWholePDB",
"blWriteWholePDB()");
367 void WriteWholePDBHeader(FILE *fp,
WHOLEPDB *wpdb)
369 DEPRECATED(
"WriteWholePDBHeader()",
"blWriteWholePDBHeader()");
390 void WriteWholePDBTrailer(FILE *fp,
WHOLEPDB *wpdb)
392 DEPRECATED(
"WriteWholePDBTrailer()",
"blWriteWholePDBTrailer()");
416 char *GetPDBChainLabels(
PDB *pdb)
423 DEPRECATED(
"GetPDBChainLabels()",
"blGetPDBChainLabels()");
430 if((chains = (
char *)malloc(maxchains *
sizeof(
char)))==
NULL)
434 chains[nchains] = pdb->
chain[0];
440 if(p->
chain[0] != chains[nchains])
443 if(++nchains == maxchains)
446 if((chains = realloc(chains, maxchains *
sizeof(
char)))==
NULL)
450 chains[nchains] = p->
chain[0];
455 if(++nchains == maxchains)
458 if((chains = realloc(chains, maxchains *
sizeof(
char)))==
NULL)
463 chains[nchains] =
'\0';
473 PDB *ReadPDB(FILE *fp,
int *natom)
479 PDB *ReadPDBAll(FILE *fp,
int *natom)
485 PDB *ReadPDBAtoms(FILE *fp,
int *natom)
487 DEPRECATED(
"ReadPDBAtoms()",
"blReadPDBAtoms()");
491 PDB *ReadPDBOccRank(FILE *fp,
int *natom,
int OccRank)
493 DEPRECATED(
"ReadPDBOccRank()",
"blReadPDBOccRank()");
497 PDB *ReadPDBAtomsOccRank(FILE *fp,
int *natom,
int OccRank)
499 DEPRECATED(
"ReadPDBAtomsOccRank()",
"blReadPDBAtomsOccRank()");
503 PDB *doReadPDB(FILE *fp,
int *natom,
BOOL AllAtoms,
int OccRank,
518 PDB *doReadPDBML(FILE *fp,
int *natom,
BOOL AllAtoms,
int OccRank,
528 DEPRECATED(
"doReadPDBML()",
"blDoReadPDBML()");
539 BOOL CheckFileFormatPDBML(FILE *fp)
541 DEPRECATED(
"CheckFileFormatPDBML()",
"blCheckFileFormatPDBML()");
545 void WriteAsPDB(FILE *fp,
PDB *pdb)
547 DEPRECATED(
"WriteAsPDB()",
"blWritePDBAsPDBorGromos()");
551 void WriteAsPDBML(FILE *fp,
PDB *pdb)
553 DEPRECATED(
"WriteAsPDBML()",
"blWritePDBAsPDBML()");
557 BOOL FormatCheckWritePDB(
PDB *pdb)
559 DEPRECATED(
"FormatCheckWritePDB()",
"blFormatCheckWritePDB()");
563 void WritePDBRecord(FILE *fp,
PDB *pdb)
565 DEPRECATED(
"WritePDBRecord()",
"blWritePDBRecord()");
569 void WritePDBRecordAtnam(FILE *fp,
PDB *pdb)
571 DEPRECATED(
"WritePDBRecordAtnam()",
"blWritePDBRecordAtnam()");
575 void WriteGromosPDB(FILE *fp,
PDB *pdb)
577 DEPRECATED(
"WriteGromosPDB()",
"blWriteGromosPDB()");
581 void WriteGromosPDBRecord(FILE *fp,
PDB *pdb)
583 DEPRECATED(
"WriteGromosPDBRecord()",
"blWriteGromosPDBRecord()");
587 void GetCofGPDB(
PDB *pdb,
VEC3F *cg)
593 void GetCofGPDBRange(
PDB *start,
PDB *stop,
VEC3F *cg)
595 DEPRECATED(
"GetCofGPDBRange()",
"blGetCofGPDBRange()");
599 void GetCofGPDBSCRange(
PDB *start,
PDB *stop,
VEC3F *cg)
601 DEPRECATED(
"GetCofGPDBSCRange()",
"blGetCofGPDBSCRange()");
605 void OriginPDB(
PDB *pdb)
611 void RotatePDB(
PDB *pdb,
REAL rm[3][3])
617 void TranslatePDB(
PDB *pdb,
VEC3F tvect)
619 DEPRECATED(
"TranslatePDB()",
"blTranslatePDB()");
626 return(
blFitPDB(ref_pdb, fit_pdb, rm));
653 int GetPDBCoor(
PDB *pdb,
COOR **coor)
659 int HAddPDB(FILE *fp,
PDB *pdb)
665 int ReadPGP(FILE *fp)
671 FILE *OpenPGPFile(
char *pgpfile,
BOOL AllHyd)
673 DEPRECATED(
"OpenPGPFile()",
"blOpenPGPFile()");
677 PDB *SelectAtomsPDB(
PDB *pdbin,
int nsel,
char **sel,
int *natom)
679 DEPRECATED(
"SelectAtomsPDB()",
"blSelectAtomsPDBAsCopy()");
683 PDB *StripHPDB(
PDB *pdbin,
int *natom)
685 DEPRECATED(
"StripHPDB()",
"blStripHPDBAsCopy()");
689 SECSTRUC *ReadSecPDB(FILE *fp,
int *nsec)
695 void RenumAtomsPDB(
PDB *pdb)
697 DEPRECATED(
"RenumAtomsPDB()",
"blRenumAtomsPDB()");
701 PDB *FindEndPDB(
PDB *start)
703 DEPRECATED(
"FindEndPDB()",
"blFindNextResidue()");
709 DEPRECATED(
"FixOrderPDB()",
"blFixOrderPDB()");
715 DEPRECATED(
"ShuffleResPDB()",
"blShuffleResPDB()");
719 BOOL GetAtomTypes(
char *resnam,
char **AtomTypes)
721 DEPRECATED(
"GetAtomTypes()",
"blGetAtomTypes()");
731 void CopyPDB(
PDB *out,
PDB *in)
755 REAL CalcChi(
PDB *pdb,
int type)
761 PDB *GetPDBByN(
PDB *pdb,
int n)
775 DEPRECATED(
"KillSidechain()",
"blKillSidechain()");
779 void SetResnam(
PDB *ResStart,
PDB *NextRes,
char *resnam,
int resnum,
780 char *insert,
char *chain)
783 blSetResnam(ResStart, NextRes, resnam, resnum, insert, chain);
786 void ApplyMatrixPDB(
PDB *pdb,
REAL matrix[3][3])
788 DEPRECATED(
"ApplyMatrixPDB()",
"blApplyMatrixPDB()");
792 BOOL GetResolPDB(FILE *fp,
REAL *resolution,
REAL *RFactor,
795 DEPRECATED(
"GetResolPDB()",
"blGetResolPDB()");
803 return(
blGetExptlPDB(fp, resolution, RFactor, FreeR, StrucType));
809 DEPRECATED(
"GetExptlOld()",
"blGetExptlOld()");
810 return(
blGetExptlOld(fp, resolution, RFactor, FreeR, StrucType));
813 char *ReportStructureType(
int type)
815 DEPRECATED(
"ReportStructureType()",
"blReportStructureType()");
819 PDB **IndexPDB(
PDB *pdb,
int *natom)
827 DEPRECATED(
"ReadDisulphidesPDB()",
"blReadDisulphidesPDB()");
831 BOOL ParseResSpec(
char *spec,
char *chain,
int *resnum,
char *insert)
833 DEPRECATED(
"ParseResSpec()",
"blParseResSpec()");
837 BOOL ParseResSpecNoUpper(
char *spec,
char *chain,
int *resnum,
840 DEPRECATED(
"ParseResSpecNoUpper()",
"blParseResSpec()");
844 BOOL DoParseResSpec(
char *spec,
char *chain,
int *resnum,
char *insert,
845 BOOL uppercaseresspec)
847 DEPRECATED(
"DoParseResSpec()",
"blDoParseResSpec()");
852 BOOL RepSChain(
PDB *pdb,
char *sequence,
char *ChiTable,
char *RefCoords)
855 return(
blRepSChain(pdb, sequence, ChiTable, RefCoords));
858 PDB *FindNextChainPDB(
PDB *pdb)
860 DEPRECATED(
"FindNextChainPDB()",
"blFindNextChainPDB()");
864 BOOL FixCterPDB(
PDB *pdb,
int style)
872 DEPRECATED(
"CalcCterCoords()",
"blCalcCterCoords()");
876 int CalcTetraHCoords(
PDB *nter,
COOR *coor)
878 DEPRECATED(
"CalcTetraHCoords()",
"blCalcTetraHCoords()");
882 int AddNTerHs(
PDB **ppdb,
BOOL Charmm)
888 char *FNam2PDB(
char *filename)
894 PDB *TermPDB(
PDB *pdb,
int length)
900 PDB *FindHetatmResidueSpec(
PDB *pdb,
char *resspec)
902 DEPRECATED(
"FindHetatmResidueSpec()",
"blFindHetatmResidueSpec()");
906 PDB *FindResidueSpec(
PDB *pdb,
char *resspec)
908 DEPRECATED(
"FindResidueSpec()",
"blFindResidueSpec()");
912 PDB *FindNextResidue(
PDB *pdb)
914 DEPRECATED(
"FindNextResidue()",
"blFindNextResidue()");
926 DEPRECATED(
"CopyPDBCoords()",
"blCopyPDBCoords()");
933 DEPRECATED(
"CalcCellTrans()",
"blCalcCellTrans()");
937 int GetCrystPDB(FILE *fp,
VEC3F *UnitCell,
VEC3F *CellAngles,
938 char *spacegroup,
REAL OrigMatrix[3][4],
939 REAL ScaleMatrix[3][4])
941 DEPRECATED(
"GetCrystPDB()",
"blGetCrystPDB()");
942 return(
blGetCrystPDB(fp, UnitCell, CellAngles, spacegroup, OrigMatrix,
946 void WriteCrystPDB(FILE *fp,
VEC3F UnitCell,
VEC3F CellAngles,
947 char *spacegroup,
REAL OrigMatrix[3][4],
948 REAL ScaleMatrix[3][4])
950 DEPRECATED(
"WriteCrystPDB()",
"blWriteCrystPDB()");
955 PDB *ExtractZonePDB(
PDB *inpdb,
char *chain1,
int resnum1,
char *insert1,
956 char *chain2,
int resnum2,
char *insert2)
958 DEPRECATED(
"ExtractZonePDB()",
"blExtractZonePDBAsCopy()");
963 PDB *ExtractZoneSpecPDB(
PDB *inpdb,
char *resspec1,
char *resspec2)
965 DEPRECATED(
"ExtractZoneSpecPDB()",
"blExtractZoneSpecPDBAsCopy()");
971 DEPRECATED(
"FindAtomInRes()",
"blFindAtomInRes()");
975 BOOL InPDBZoneSpec(
PDB *p,
char *resspec1,
char *resspec2)
977 DEPRECATED(
"InPDBZoneSpec()",
"blInPDBZoneSpec()");
981 BOOL AtomNameMatch(
char *atnam,
char *spec,
BOOL *ErrorWarn)
983 DEPRECATED(
"AtomNameMatch()",
"blAtomNameMatch()");
987 BOOL AtomNameRawMatch(
char *atnam,
char *spec,
BOOL *ErrorWarn)
989 DEPRECATED(
"AtomNameRawMatch()",
"blAtomNameRawMatch()");
993 BOOL LegalAtomSpec(
char *spec)
995 DEPRECATED(
"LegalAtomSpec()",
"blLegalAtomSpec()");
999 BOOL RepOneSChain(
PDB *pdb,
char *ResSpec,
char aa,
char *ChiTable,
1002 DEPRECATED(
"RepOneSChain()",
"blRepOneSChain()");
1006 void EndRepSChain(
void)
1008 DEPRECATED(
"EndRepSChain()",
"blEndRepSChain()");
1012 char **ReadSeqresPDB(FILE *fp,
int *nchains)
1014 DEPRECATED(
"ReadSeqresPDB()",
"blReadSeqresPDB()");
1018 PDB *SelectCaPDB(
PDB *pdb)
1020 DEPRECATED(
"SelectCaPDB()",
"blSelectCaPDB()");
1024 char *FixAtomName(
char *name,
REAL occup)
1026 DEPRECATED(
"FixAtomName()",
"blFixAtomName()");
1032 DEPRECATED(
"FreeWholePDB()",
"blFreeWholePDB()");
1038 DEPRECATED(
"ReadWholePDB()",
"blReadWholePDB()");
1042 WHOLEPDB *ReadWholePDBAtoms(FILE *fpin)
1044 DEPRECATED(
"ReadWholePDBAtoms()",
"blReadWholePDBAtoms()");
1056 DEPRECATED(
"AddCBtoAllGly()",
"blAddCBtoAllGly()");
1060 PDB *StripGlyCB(
PDB *pdb)
1066 PDB *RemoveAlternates(
PDB *pdb)
1068 DEPRECATED(
"RemoveAlternates()",
"blRemoveAlternates()");
1072 PDB *BuildAtomNeighbourPDBList(
PDB *pdb,
PDB *pRes,
REAL NeighbDist)
1075 "blBuildAtomNeighbourPDBListAsCopy()");
1079 PDB *FindAtomWildcardInRes(
PDB *pdb,
char *pattern)
1081 DEPRECATED(
"FindAtomWildcardInRes()",
"blFindAtomWildcardInRes()");
1085 PDB *DupeResiduePDB(
PDB *in)
1087 DEPRECATED(
"DupeResiduePDB()",
"blDupeResiduePDB()");
1091 PDB *StripWatersPDB(
PDB *pdbin,
int *natom)
1093 DEPRECATED(
"StripWatersPDB()",
"blStripWatersPDBAsCopy()");
1099 DEPRECATED(
"AllocPDBStructure()",
"blAllocPDBStructure()");
1103 PDB *FindNextChain(
PDB *pdb)
1105 DEPRECATED(
"FindNextChain()",
"blFindNextChain()");
1109 void FreePDBStructure(
PDBSTRUCT *pdbstruct)
1111 DEPRECATED(
"FreePDBStructure()",
"blFreePDBStructure()");
1115 void SetElementSymbolFromAtomName(
char *element,
char *atom_name)
1117 DEPRECATED(
"SetElementSymbolFromAtomName()",
"blSetElementSymbolFromAtomName()");
1128 AA *InsertNextResiduesInAAList(
AA *a,
char res,
int nres)
1130 DEPRECATED(
"InsertNextResiduesInAAList()",
"blInsertNextResiduesInAAList()");
1134 AA *InsertNextResidueInAAList(
AA *a,
char res)
1136 DEPRECATED(
"InsertNextResidueInAAList()",
"blInsertNextResidueInAAList()");
1140 char *BuildSeqFromAAList(
AA *aa)
1142 DEPRECATED(
"BuildSeqFromAAList()",
"blBuildSeqFromAAList()");
1146 AA *InsertResidueInAAListAt(
AA *aa,
char res,
int pos)
1148 DEPRECATED(
"InsertResidueInAAListAt()",
"blInsertResidueInAAListAt()");
1152 AA *InsertResiduesInAAListAt(
AA *aa,
char res,
int nres,
int pos)
1154 DEPRECATED(
"InsertResiduesInAAListAt()",
"blInsertResiduesInAAListAt()");
1158 AA *BuildAAList(
char *seq)
1160 DEPRECATED(
"BuildAAList()",
"blBuildAAList()");
1164 int FindAAListOffsetByResnum(
AA *aa,
int resnum)
1166 DEPRECATED(
"FindAAListOffsetByResnum()",
"blFindAAListOffsetByResnum()");
1170 AA *FindAAListItemByResnum(
AA *aa,
int resnum)
1172 DEPRECATED(
"FindAAListItemByResnum()",
"blFindAAListItemByResnum()");
1176 void SetAAListFlagByResnum(
AA *aa,
int resnum)
1178 DEPRECATED(
"SetAAListFlagByResnum()",
"blSetAAListFlagByResnum()");
1182 char *BuildFlagSeqFromAAList(
AA *aa,
char ch)
1184 DEPRECATED(
"BuildFlagSeqFromAAList()",
"blBuildFlagSeqFromAAList()");
1188 int GetAAListLen(
AA *aa)
1190 DEPRECATED(
"GetAAListLen()",
"blGetAAListLen()");
1200 CSSR *ReadCSSR(FILE *fp,
int *natom,
char *name,
char *title)
1206 PDB *ReadCSSRasPDB(FILE *fp,
int *natom)
1208 DEPRECATED(
"ReadCSSRasPDB()",
"blReadCSSRasPDB()");
1214 DEPRECATED(
"NormaliseCSSR()",
"blNormaliseCSSR()");
1220 DEPRECATED(
"NormalisePDB()",
"blNormalisePDB()");
1224 void ortho(
REAL cell[3],
REAL alpha,
REAL beta,
REAL gamma,
REAL amatrx[3][3],
int isw,
int ncode)
1227 blOrtho(cell, alpha, beta, gamma, amatrx, isw, ncode);
1230 void WriteCSSR(FILE *fp,
CSSR *cssr,
char *name,
char *title)
1245 return(
blMatfit(x1, x2, rm, n, wt1, column));
1253 int IsHBonded(
PDB *res1,
PDB *res2,
int type)
1265 int IsMCDonorHBonded(
PDB *res1,
PDB *res2,
int type)
1267 DEPRECATED(
"IsMCDonorHBonded()",
"blIsMCDonorHBonded()");
1271 int IsMCAcceptorHBonded(
PDB *res1,
PDB *res2,
int type)
1273 DEPRECATED(
"IsMCAcceptorHBonded()",
"blIsMCAcceptorHBonded()");
1284 char throne(
char *three)
1290 char thronex(
char *three)
1296 char *onethr(
char one)
1305 return(
blDoPDB2Seq(pdb, DoAsxGlx, ProtOnly, NoX));
1308 int SplitSeq(
char *LinearSeq,
char **seqs)
1314 int ReadSimplePIR(FILE *fp,
int maxres,
char **seqs)
1316 DEPRECATED(
"ReadSimplePIR()",
"blReadSimplePIR()");
1321 int ReadPIR(FILE *fp,
BOOL DoInsert,
char **seqs,
int maxchain,
1325 return(
blReadPIR(fp, DoInsert, seqs, maxchain, seqinfo, punct, error));
1328 int ReadRawPIR(FILE *fp,
char **seqs,
int maxchain,
BOOL upcase,
1332 return(
blReadRawPIR(fp, seqs, maxchain, upcase, seqinfo, error));
1335 int align(
char *seq1,
int length1,
char *seq2,
int length2,
1336 BOOL verbose,
BOOL identity,
int penalty,
1337 char *align1,
char *align2,
int *align_len)
1340 return(
blAlign(seq1, length1, seq2, length2,
1341 verbose, identity, penalty,
1342 align1, align2, align_len));
1345 int affinealign(
char *seq1,
int length1,
char *seq2,
int length2,
1346 BOOL verbose,
BOOL identity,
int penalty,
int penext,
1347 char *align1,
char *align2,
int *align_len)
1349 DEPRECATED(
"affinealign()",
"blAffinealign()");
1351 verbose, identity, penalty, penext,
1352 align1, align2, align_len));
1356 int CalcMDMScore(
char resa,
char resb)
1358 DEPRECATED(
"CalcMDMScore()",
"blCalcMDMScore()");
1362 int affinealignuc(
char *seq1,
int length1,
char *seq2,
int length2,
1363 BOOL verbose,
BOOL identity,
int penalty,
int penext,
1364 char *align1,
char *align2,
int *align_len)
1366 DEPRECATED(
"affinealignuc()",
"blAffinealignuc()");
1368 verbose, identity, penalty, penext,
1369 align1, align2, align_len));
1372 int CalcMDMScoreUC(
char resa,
char resb)
1374 DEPRECATED(
"CalcMDMScoreUC()",
"blCalcMDMScoreUC()");
1378 BOOL ReadMDM(
char *mdmfile)
1390 char DNAtoAA(
char *dna)
1396 int TrueSeqLen(
char *sequence)
1402 int KnownSeqLen(
char *sequence)
1404 DEPRECATED(
"KnownSeqLen()",
"blKnownSeqLen()");
1408 BOOL NumericReadMDM(
char *mdmfile)
1410 DEPRECATED(
"NumericReadMDM()",
"blNumericReadMDM()");
1414 int NumericCalcMDMScore(
int resa,
int resb)
1416 DEPRECATED(
"NumericCalcMDMScore()",
"blNumericCalcMDMScore()");
1420 int NumericAffineAlign(
int *seq1,
int length1,
int *seq2,
int length2,
1421 BOOL verbose,
BOOL identity,
int penalty,
1422 int penext,
int *align1,
int *align2,
1425 DEPRECATED(
"NumericAffineAlign()",
"blNumericAffineAlign()");
1427 verbose, identity, penalty,
1428 penext, align1, align2,
1432 void SetMDMScoreWeight(
char resa,
char resb,
REAL weight)
1434 DEPRECATED(
"SetMDMScoreWeight()",
"blSetMDMScoreWeight()");
PDB * blRemoveAlternates(PDB *pdb)
PDB ** blIndexPDB(PDB *pdb, int *natom)
void blEndRepSChain(void)
PDB * blFindNextChain(PDB *pdb)
Defines for CSSR handling.
PDB * blKillPDB(PDB *pdb, PDB *prev)
BOOL blCopyPDBCoords(PDB *out, PDB *in)
void blSetChi(PDB *pdb, PDB *next, REAL chi, int type)
char ** blReadSeqresPDB(FILE *fp, int *nchains)
Include file for PDB routines.
int blCalcMDMScoreUC(char resa, char resb)
Header file for hbond determining code.
char blThronex(char *three)
AA * blInsertResidueInAAListAt(AA *aa, char res, int pos)
AA * blInsertNextResidueInAAList(AA *a, char res)
BOOL blFitCaCbPDB(PDB *ref_pdb, PDB *fit_pdb, REAL rm[3][3])
void blSetResnam(PDB *ResStart, PDB *NextRes, char *resnam, int resnum, char *insert, char *chain)
BOOL blAtomNameRawMatch(char *atnam, char *spec, BOOL *ErrorWarn)
void blWritePDBRecord(FILE *fp, PDB *pdb)
int blNumericAffineAlign(int *seq1, int length1, int *seq2, int length2, BOOL verbose, BOOL identity, int penalty, int penext, int *align1, int *align2, int *align_len)
void blOrtho(REAL cell[3], REAL alpha, REAL beta, REAL gamma, REAL amatrx[3][3], int isw, int ncode)
PDB * blTermPDB(PDB *pdb, int length)
Redirect calls to deprecated functions.
void blWriteCrystPDB(FILE *fp, VEC3F UnitCell, VEC3F CellAngles, char *spacegroup, REAL OrigMatrix[3][4], REAL ScaleMatrix[3][4])
PDB * blSelectAtomsPDBAsCopy(PDB *pdbin, int nsel, char **sel, int *natom)
char * blOnethr(char one)
AA * blInsertResiduesInAAListAt(AA *aa, char res, int nres, int pos)
void blCalcCellTrans(VEC3F UnitCell, VEC3F CellAngles, VEC3F *xtrans, VEC3F *ytrans, VEC3F *ztrans)
PDBSTRUCT * blAllocPDBStructure(PDB *pdb)
char * blFNam2PDB(char *filename)
SECSTRUC * blReadSecPDB(FILE *fp, int *nsec)
PDB * blStripGlyCB(PDB *pdb)
void blFreePDBStructure(PDBSTRUCT *pdbstruct)
void blSetMDMScoreWeight(char resa, char resb, REAL weight)
BOOL blFitCaPDB(PDB *ref_pdb, PDB *fit_pdb, REAL rm[3][3])
BOOL blNumericReadMDM(char *mdmfile)
WHOLEPDB * blReadWholePDBAtoms(FILE *fpin)
BOOL blLegalAtomSpec(char *spec)
int blGetCrystPDB(FILE *fp, VEC3F *UnitCell, VEC3F *CellAngles, char *spacegroup, REAL OrigMatrix[3][4], REAL ScaleMatrix[3][4])
int blIsMCAcceptorHBonded(PDB *res1, PDB *res2, int type)
CSSR * blReadCSSR(FILE *fp, int *natom, char *name, char *title)
BOOL blCheckFileFormatPDBML(FILE *fp)
WHOLEPDB * blReadWholePDB(FILE *fpin)
int blIsHBonded(PDB *res1, PDB *res2, int type)
PDB * blReadPDBAtomsOccRank(FILE *fp, int *natom, int OccRank)
int blKnownSeqLen(char *sequence)
void blWriteWholePDBTrailer(FILE *fp, WHOLEPDB *wpdb, int numTer)
PDB * blReadPDBAtoms(FILE *fp, int *natom)
int blGetPDBCoor(PDB *pdb, COOR **coor)
char * blDoPDB2Seq(PDB *pdb, BOOL DoAsxGlx, BOOL ProtOnly, BOOL NoX)
void blRotatePDB(PDB *pdb, REAL rm[3][3])
PDB * blDupeResiduePDB(PDB *in)
BOOL blRepSChain(PDB *pdb, char *sequence, char *ChiTable, char *RefCoords)
void blFreeWholePDB(WHOLEPDB *wpdb)
AA * blInsertNextResiduesInAAList(AA *a, char res, int nres)
BOOL blDoParseResSpec(char *inSpec, char *chain, int *resnum, char *insert, BOOL uppercaseresspec)
BOOL blFormatCheckWritePDB(PDB *pdb)
PDB * blReadPDB(FILE *fp, int *natom)
void blWriteWholePDBHeader(FILE *fp, WHOLEPDB *wpdb)
PDB * blReadPDBOccRank(FILE *fp, int *natom, int OccRank)
PDB * blFindAtomWildcardInRes(PDB *pdb, char *pattern)
Header file for sequence handling.
int blReadPIR(FILE *fp, BOOL DoInsert, char **seqs, int maxchain, SEQINFO *seqinfo, BOOL *punct, BOOL *error)
BOOL blInPDBZone(PDB *p, char *chain, int resnum1, char *insert1, int resnum2, char *insert2)
int blGetAAListLen(AA *aa)
PDB * blFindResidueSpec(PDB *pdb, char *resspec)
int blIsMCDonorHBonded(PDB *res1, PDB *res2, int type)
int blAffinealignuc(char *seq1, int length1, char *seq2, int length2, BOOL verbose, BOOL identity, int penalty, int penext, char *align1, char *align2, int *align_len)
BOOL blFitNCaCPDB(PDB *ref_pdb, PDB *fit_pdb, REAL rm[3][3])
int blFindAAListOffsetByResnum(AA *aa, int resnum)
PDB * blReadPDBAll(FILE *fp, int *natom)
REAL blCalcChi(PDB *pdb, int type)
BOOL blFindZonePDB(PDB *pdb, int start, char *startinsert, int stop, char *stopinsert, char *chain, int mode, PDB **pdb_start, PDB **pdb_stop)
BOOL blGetResolPDB(FILE *fp, REAL *resolution, REAL *RFactor, int *StrucType)
AA * blFindAAListItemByResnum(AA *aa, int resnum)
PDB * blFindHetatmResidue(PDB *pdb, char *chain, int resnum, char *insert)
BOOL blAddCBtoAllGly(PDB *pdb)
BOOL blFitPDB(PDB *ref_pdb, PDB *fit_pdb, REAL rm[3][3])
BOOL blInPDBZoneSpec(PDB *p, char *resspec1, char *resspec2)
PDB * blStripWatersPDBAsCopy(PDB *pdbin, int *natom)
int blCalcTetraHCoords(PDB *nter, COOR *coor)
AA * blBuildAAList(char *seq)
char * blBuildSeqFromAAList(AA *aa)
BOOL blWritePDBAsPDBML(FILE *fp, PDB *pdb)
BOOL blMatfit(COOR *x1, COOR *x2, REAL rm[3][3], int n, REAL *wt1, BOOL column)
int blHAddPDB(FILE *fp, PDB *pdb)
PDB * blShuffleBB(PDB *pdb)
void blWritePDBRecordAtnam(FILE *fp, PDB *pdb)
BOOL blKillSidechain(PDB *ResStart, PDB *NextRes, BOOL doCB)
BOOL blGetExptlOld(FILE *fp, REAL *resolution, REAL *RFactor, REAL *FreeR, int *StrucType)
Include file for least squares fitting.
BOOL blReadMDM(char *mdmfile)
BOOL blGetExptlPDB(FILE *fp, REAL *resolution, REAL *RFactor, REAL *FreeR, int *StrucType)
BOOL blMovePDB(PDB *move, PDB **from, PDB **to)
void blWriteGromosPDB(FILE *fp, PDB *pdb)
int blWritePDB(FILE *fp, PDB *pdb)
PDB * blFindNextChainPDB(PDB *pdb)
int blAddNTerHs(PDB **ppdb, BOOL Charmm)
char blThrone(char *three)
BOOL blAddCBtoGly(PDB *pdb)
void blCopyPDB(PDB *out, PDB *in)
void blGetCofGPDBRange(PDB *start, PDB *stop, VEC3F *cg)
int blSplitSeq(char *LinearSeq, char **seqs)
int blTrueSeqLen(char *sequence)
PDB * blAppendPDB(PDB *first, PDB *second)
Include file for amino acid linked lists.
void blWriteCSSR(FILE *fp, CSSR *cssr, char *name, char *title)
PDB * blGetPDBByN(PDB *pdb, int n)
void blWriteGromosPDBRecord(FILE *fp, PDB *pdb)
DISULPHIDE * blReadDisulphidesPDB(FILE *fp, BOOL *error)
PDB * blShuffleResPDB(PDB *start, PDB *end, BOOL Pad)
int blAlign(char *seq1, int length1, char *seq2, int length2, BOOL verbose, BOOL identity, int penalty, char *align1, char *align2, int *align_len)
PDB * blFindResidue(PDB *pdb, char *chain, int resnum, char *insert)
char blDNAtoAA(char *dna)
FILE * blOpenPGPFile(char *pgpfile, BOOL AllHyd)
char * blFixAtomName(char *name, REAL occup)
void blGetCofGPDB(PDB *pdb, VEC3F *cg)
void blGetCofGPDBSCRange(PDB *start, PDB *stop, VEC3F *cg)
int blReadRawPIR(FILE *fp, char **seqs, int maxchain, BOOL upcase, SEQINFO *seqinfo, BOOL *error)
int blWritePDBAsPDBorGromos(FILE *fp, PDB *pdb, BOOL doGromos)
char * blBuildFlagSeqFromAAList(AA *aa, char ch)
PDB * blFindNextResidue(PDB *pdb)
int blCalcMDMScore(char resa, char resb)
char * blReportStructureType(int type)
BOOL blRepOneSChain(PDB *pdb, char *ResSpec, char aa, char *ChiTable, char *RefCoords)
PDB * blStripHPDBAsCopy(PDB *pdbin, int *natom)
void blSetAAListFlagByResnum(AA *aa, int resnum)
void blOriginPDB(PDB *pdb)
BOOL blFixCterPDB(PDB *pdb, int style)
int blNumericCalcMDMScore(int resa, int resb)
PDB * blFindAtomInRes(PDB *pdb, char *atnam_in)
WHOLEPDB * blDoReadPDBML(FILE *fp, BOOL AllAtoms, int OccRank, int ModelNum, BOOL DoWhole)
PDB * blReadCSSRasPDB(FILE *fp, int *natom)
PDB * blFindHetatmResidueSpec(PDB *pdb, char *resspec)
void blNormalisePDB(PDB *pdb, REAL cell[3], REAL alpha, REAL beta, REAL gamma)
void blNormaliseCSSR(CSSR *cssr, REAL cell[3], REAL alpha, REAL beta, REAL gamma)
int blReadSimplePIR(FILE *fp, int maxres, char **seqs)
BOOL blAtomNameMatch(char *atnam, char *spec, BOOL *ErrorWarn)
PDB * blBuildAtomNeighbourPDBListAsCopy(PDB *pdb, PDB *pRes, REAL NeighbDist)
BOOL blGetAtomTypes(char *resnam, char **AtomTypes)
PDB * blSelectCaPDB(PDB *pdb)
int blAffinealign(char *seq1, int length1, char *seq2, int length2, BOOL verbose, BOOL identity, int penalty, int penext, char *align1, char *align2, int *align_len)
char chain[blMAXCHAINLABEL]
void blTranslatePDB(PDB *pdb, VEC3F tvect)
BOOL blCalcCterCoords(PDB *p, PDB *ca_p, PDB *c_p, PDB *o_p)
void blSetElementSymbolFromAtomName(char *element, char *atom_name)
WHOLEPDB * blDoReadPDB(FILE *fp, BOOL AllAtoms, int OccRank, int ModelNum, BOOL DoWhole)
BOOL blParseResSpec(char *spec, char *chain, int *resnum, char *insert)
PDB * blFixOrderPDB(PDB *pdb, BOOL Pad, BOOL Renum)
REAL blCalcRMSPDB(PDB *pdb1, PDB *pdb2)
BOOL blValidHBond(PDB *AtomH, PDB *AtomD, PDB *AtomA, PDB *AtomP)
void blRenumAtomsPDB(PDB *pdb, int offset)
void blApplyMatrixPDB(PDB *pdb, REAL matrix[3][3])