first previous next last contents

rmanno

#include <tagUtils.h>

int rmanno(
        GapIO  *io,
        int     anno,
        int     lpos,
        int     rpos);

This function removes annotations in a specified region from an annotation list. The annotation list starts at annotation number anno. The new list head (which will change if we delete the first annotation) is returned. The region to remove annotations over is between base numbers lpos and rpos inclusive. Note that annotations overlapping this region, but not contained entirely within it, will have their either their position or length modified, or may need splitting in two. (Consider the case where a single tag spans the entire region to see where splitting is necessary.)

When succeeding the the new annotation number to form the annotation list head. Otherwise returns 0.


first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_163.html