FastqPuri
Functions | Variables
Lmer.c File Reference

Manipulation of Lmers and sequences. More...

#include "Lmer.h"
#include <string.h>
#include <stdint.h>
#include <stdio.h>
Include dependency graph for Lmer.c:

Functions

void init_map ()
 Initialize lookup table fw_1B. More...
 
void Lmer_sLmer (char *Lmer, int L)
 Transforms an Lmer to the convention stored in the lookup table fw_1B.
 
void rev_comp (char *sLmer, int L)
 Obtains the reverse complement, for {'\000','\001','\002','\003'}.
 

Variables

uint8_t fw_1B [256]
 
uint8_t bw_1B [256]
 
uint8_t Nencode
 

Detailed Description

Manipulation of Lmers and sequences.

Author
Paula Perez paula.nosp@m.pere.nosp@m.zrubi.nosp@m.o@gm.nosp@m.ail.c.nosp@m.om
Date
18.08.2017

Function Documentation

◆ init_map()

void init_map ( )

Initialize lookup table fw_1B.

{'a','c','g','t'} –> {'\000','\001','\002','\003'}, rest '\004'.

Variable Documentation

◆ bw_1B

uint8_t bw_1B[256]

global variable. Lookup table.

◆ fw_1B

uint8_t fw_1B[256]

global variable. Lookup table.

◆ Nencode

uint8_t Nencode

global variable. Encoding for N's(\004)