Skip to content
Snippets Groups Projects
Commit 63e2931d authored by Sania Mekchiche's avatar Sania Mekchiche
Browse files

fini

parent a7264e71
Branches
No related tags found
No related merge requests found
......@@ -39,9 +39,9 @@ On va pouvoir ainsi récupérer les indices des k-mers dans un seul tableau.
### Explication de:
for kmer in set_kmer_courant:
>>>>max_rang += 1
>>>>h = abs(hash(kmer))
>>>>mphf.append([h, max_rang])
max_rang += 1
h = abs(hash(kmer))
mphf.append([h, max_rang])
Ce bloc permet de donner un rang aux k-mer qui sera donc unique pour les cas où par exemple des collisions persisterais après avoir terminé de diminuer la table.
On parcours tous les kmers et on leurs attribut un rang +1 par au precedent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment