#include <IO.h> int io_insert_base( GapIO *io, int gel, int pos, char base); int io_modify_base( GapIO *io, int gel, int pos, char base); int io_delete_base( GapIO *io, int gel, int pos);
These functions modify readings by inserting, changing, or deleting individual bases. Where needed, they update any annotations on the reading to ensure that all annotations are still covering the same sequence fragments. The confidence values and original positions arrays are also updated. Inserted and edited bases are given confidence of 100 and original positions of 0.
io_insert_base uses the
io_insert_seq function to inserts a
single base with chacter base to at base position pos. Positions
are measured counted such that inserting at base 1 inserts a base at the start
io_modify_base uses the
io_replace_seq function to replace a
single base at position pos with base.
io_delete_base uses the
io_delete_seq function to delete a
single base at position pos.
io_delete_base modify the sequence,
but DO NOT update the the GReadings.sequence_length or