bl_fasta_set_seq_ae(3)

LIBRARY
#include <biolibc/fasta.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_fasta_set_seq_ae(
bl_fasta_t *bl_fasta_ptr,
size_t c,
char  new_seq_element
)

ARGUMENTS
bl_fasta_ptr    Pointer to the structure to set
c               Subscript to the seq array
new_seq_element The new value for seq[c]

DESCRIPTION
Mutator for an array element of seq member in a bl_fasta_t structure. Use this function to set bl_fasta_ptr->seq[c] in a bl_fasta_t object from non-member functions.

RETURN VALUES
BL_FASTA_DATA_OK if the new value is acceptable and assigned BL_FASTA_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_fasta_t      bl_fasta;
size_t          c;
char *          new_seq_element;
if ( bl_fasta_set_seq_ae(&bl_fasta, c, new_seq_element)
        == BL_FASTA_DATA_OK )
{
}

SEE ALSO
BL_FASTA_SET_SEQ_AE(3)