FastqPuri
Functions
Lmer.h File Reference

Manipulation of Lmers and sequences. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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'}.
 

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
Note
I have to try to merge the two versions of conversions!
Basically, and depending on the method used, nucleotides {'a', 'c', 'g', 't'} are shifted to the characters {'\000','\001','\002','\003'} or to {'\001','\002','\003','\004'} in a Lmer. A function to provide the reverse complement is also provided.

Function Documentation

◆ init_map()

void init_map ( )

Initialize lookup table fw_1B.

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