Skip to content

Instantly share code, notes, and snippets.

View gui11aume's full-sized avatar

Guillaume Filion gui11aume

View GitHub Profile
@gui11aume
gui11aume / learn_bwt_indexing_vanilla.c
Last active February 13, 2021 21:35
Learn Burrows-Wheeler indexing (vanilla)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define L 14 // Length of the text.
// Global variables.
char TXT[L] = "GATGCGAGAGATG$";
int SA[L] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13};
char BWT[L] = {0};