%0 Journal Article %T A new hash function and its use in read mapping on genome %J AUT Journal of Mathematics and Computing %I Amirkabir University of Technology %Z 2783-2449 %A Salari, Farzaneh %A Zare Mirakabad, Fatemeh %A Sadeghi, Mehdi %D 2020 %\ 09/01/2020 %V 1 %N 2 %P 165-170 %! A new hash function and its use in read mapping on genome %K Read mapping %K Reference-based assembly %K Hash Function %R 10.22060/ajmc.2019.15991.1020 %X Mapping reads onto genomes is an indispensable step in sequencing data analysis. A widely used method to speed up mapping is to index a genome by a hash table, in which genomic positions of $k$-mers are stored in the table. The hash table size increases exponentially with the $k$-mer length and thus the traditional hash function is not appropriate for a $k$-mer as long as a read. We present a hashing mechanism by two functions named $score1$ and $score2$ which can hash sequences with the length of reads. The size of hash table is directly proportional to the genome size, which is absolutely lower than that of hash table built by the conventional hash function. We evaluate our hashing system by developing a read mapper and running the mapper on $E. coli$ genome with some simulated data sets. The results show that the high percentage of simulated reads can be mapped to correct locations on the genome. %U https://ajmc.aut.ac.ir/article_3820_2f1a93f155633055c47da0dae0ffe430.pdf