first previous next last contents

shift_contig_tags

#include <tagUtils.h>

void shift_contig_tags(
        GapIO  *io,
        int     contig,
        int     posn,
        int     dist);

This function moves tags within a contig with number contig. All tags starting at position posn, or to the right of posn are moved to the right by dist bases. dist should not be a negative value.

The function is used internally by (for example) algorithms to add pads to the consensus or for joing contigs.


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_157.html