first previous next last contents


#include <IO.h>

int pad_consensus(
        GapIO  *io,
        int     contig,
        int     pos,
        int     npads);

This function inserts npads pads into the consensus for contig number contig at position pos by inserting into all of the readings creating the consensus at this point.

The function deals with inserting to the appropriate readings including adjustment of cutoff positions and annotations, moving of all the readings to the right of pos, and adjustment of the annotations on the consensus sequence.

It returns 0 for success.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.