first previous next last contents


#include <IO.h>

int io_delete_contig(
	GapIO  *io,
	int	contig_num);

This function deletes a single contig number from the database. It does not remove any of the readings on the contig, but all annotations on the consensus sequence for this contig are deallocated.

The last contig in the database is renumbered to be contig_num. This updates the io_clength(), io_clnbr(), and io_crnbr() arrays in io and the contig order information.

A REG_DELETE notification is sent to the deleted contig after removal, followed by a REG_NUMBER_CHANGE notification to renumbered contig, followed by updating the contig registry tables.e

It returns 0 for success.

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