eccLib 1.1.0
Python library for bioinformatics written in C
Loading...
Searching...
No Matches
Functions | Variables
fasta.c File Reference

Implementations for the FASTA module. More...

#include "fasta.h"
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
Include dependency graph for fasta.c:

Functions

void initialize_fasta_binary_mapping ()
 Initializes the FASTA binary mapping.
 
char getIUPACchar (uint8_t index, bool rna)
 Returns IUPAC FASTA character.
 
bool is_valid_title (const char *title, size_t len)
 Checks if a FASTA title is valid.
 

Variables

uint8_t fasta_binary_mapping [CHAR_MAX+1]
 A lookup table mapping FASTA characters to binary values.
 

Detailed Description

Implementations for the FASTA module.