Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
SplitSeq.c File Reference
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

int blSplitSeq (char *LinearSeq, char **seqs)
 

Detailed Description

Version
V1.11
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 SplitSeq.c.

Function Documentation

int blSplitSeq ( char *  LinearSeq,
char **  seqs 
)
Parameters
[in]*LinearSeqArray containing sequence with chains terminated by *'s
[out]**seqsAllocated set of character arrays containing one chain per array
Returns
Number of chains found

Splits a sequence stored as a linear array with each chain separated by a * into an array of sequences. Returns the number of chains found.

  • 18.06.93 Original By: ACRM
  • 09.07.93 Cleans up properly of allocation failed
  • 07.09.94 Sequence space was being allocated one too small
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 115 of file SplitSeq.c.