Skip to content

Instantly share code, notes, and snippets.

@Mizzlr
Created June 14, 2016 01:12
Show Gist options
  • Save Mizzlr/56ccbcd9330013a1a86a57eb7625752c to your computer and use it in GitHub Desktop.
Save Mizzlr/56ccbcd9330013a1a86a57eb7625752c to your computer and use it in GitHub Desktop.
Output of ATree algorithm and Data Structure
Block of size=15 is
CACCACCTTGTGGAG
ATree as dict:
╒═════════╤═════════╕
│ chunk │ count │
╞═════════╪═════════╡
│ │ 15 │
├─────────┼─────────┤
│ A │ 3 │
├─────────┼─────────┤
│ AC │ 2 │
├─────────┼─────────┤
│ ACC │ 2 │
├─────────┼─────────┤
│ AG │ 1 │
├─────────┼─────────┤
│ C │ 6 │
├─────────┼─────────┤
│ CA │ 3 │
├─────────┼─────────┤
│ CAC │ 2 │
├─────────┼─────────┤
│ CC │ 2 │
├─────────┼─────────┤
│ CCA │ 1 │
├─────────┼─────────┤
│ CCT │ 1 │
├─────────┼─────────┤
│ CT │ 1 │
├─────────┼─────────┤
│ CTT │ 1 │
├─────────┼─────────┤
│ G │ 3 │
├─────────┼─────────┤
│ GA │ 1 │
├─────────┼─────────┤
│ GAG │ 1 │
├─────────┼─────────┤
│ GG │ 1 │
├─────────┼─────────┤
│ GGA │ 1 │
├─────────┼─────────┤
│ GT │ 1 │
├─────────┼─────────┤
│ GTG │ 1 │
├─────────┼─────────┤
│ T │ 3 │
├─────────┼─────────┤
│ TG │ 2 │
├─────────┼─────────┤
│ TGG │ 1 │
├─────────┼─────────┤
│ TGT │ 1 │
├─────────┼─────────┤
│ TT │ 1 │
├─────────┼─────────┤
│ TTG │ 1 │
╘═════════╧═════════╛
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment