117 char *sequence,
char **chainLabels,
129 strcpy(outlabel,label);
134 strcpy(outlabel,
"PDBPIR");
136 strcpy(outlabel, label);
150 fprintf(out,
">%s\n",outlabel);
154 fprintf(out,
">P1;%s\n",outlabel);
155 fprintf(out,
"Sequence extracted from PDB file - %s\n",
156 (title[0]?title:
"By pdb2pir"));
169 for(i=0,count=0; sequence[i]; i++)
174 if((sequence[i] !=
'*') && (!DoneHeader))
178 strcpy(outlabel,label);
179 strcpy(chn, chainLabels[chaincount]);
180 strcat(outlabel,chn);
184 sprintf(outlabel,
"Chain%s",chainLabels[chaincount]);
188 fprintf(out,
">%s\n",outlabel);
192 fprintf(out,
">P1;%s\n",outlabel);
193 fprintf(out,
"Sequence extracted from PDB file - %s\n",
194 (title[0]?title:
"By pdb2pir"));
208 if(sequence[i] ==
'*')
231 fputc(sequence[i],out);
void blWriteOneStringPIR(FILE *out, char *label, char *title, char *sequence, char **chainLabels, BOOL ByChain, BOOL doFasta)
Header file for sequence handling.
System-type variable type definitions.