Skip to content

A graph-inspired data structure for determining likely chains of sequences from breadcrumbs of evidence

License

Notifications You must be signed in to change notification settings

SamStudio8/hansel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gretel-logo

Hansel

A graph-inspired data structure for determining likely chains of ordered symbols from breadcrumbs of evidence. Brother of Gretel.

License bioconda

What is it?

Hansel is a probabilistically-weighted, graph-inspired, novel data structure. Hansel is designed to store the number of observed occurrences of a symbol a appearing at some position in space or time i, co-occurring with another symbol b at another position in space or time j.

One may traverse along ordered positions in time or space, each time predicting the next most likely symbol of the sequence to traverse to, given the previously selected symbols in the path. Hansel presents a user-friendly API for managing and interacting with the data stored within.

Requirements

pip install numpy

Install

pip install hanselx

Citation

@article{10.1093/bioinformatics/btaa977,
    author = {Nicholls, Samuel M and Aubrey, Wayne and De Grave, Kurt and Schietgat, Leander and Creevey, Christopher J and Clare, Amanda},
    title = "{On the complexity of haplotyping a microbial community}",
    journal = {Bioinformatics},
    volume = {37},
    number = {10},
    pages = {1360-1366},
    year = {2021},
    month = {01},
    issn = {1367-4803},
    doi = {10.1093/bioinformatics/btaa977},
    url = {https://doi.org/10.1093/bioinformatics/btaa977},
    eprint = {https://academic.oup.com/bioinformatics/article-pdf/37/10/1360/38663805/btaa977.pdf},
}

Read more on Twitter

License

Hansel and Gretel are distributed under the MIT license, see LICENSE.

About

A graph-inspired data structure for determining likely chains of sequences from breadcrumbs of evidence

Resources

License

Stars

Watchers

Forks

Packages

No packages published