Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.

I23 haplo conversion #27

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft

I23 haplo conversion #27

wants to merge 15 commits into from

Conversation

josiahseaman
Copy link
Member

Adds in ZoomLevels so multiple Graphs can share the same Nodes and Paths. Each GraphGenome has many ZoomLevels. Each ZoomLevel is a complete Graph, summarizing the layer of zoom-1. Zoom 0 is nucleotide level. HaploBlocker algorithm is being converted to use these database objects.

…. Getters for .specimens, .upstream, .downstream. Now comes the harder work of thinking through the algorithm in database terms.
…s can visit Nodes from any zoom layer. There is one path per accession per zoom layer. Paths and nodes contain links to their parent/child summaries.
…he code. But zoom filtering is becoming cumbersome.
…nvenience. WIP: Converting all tests and code to database queries. GraphTest now passing.
…derstand Profiles well enough to update generate_profiles(). This may be the same concept as Haploblocker identifying the set of unique signatures at a locus.
…and NodeTraversals to a new ZoomLevel. I'm committing here because I want to save a working test state. Using pycharm, make sure you use Django Tests (manage.py) with no Target. This will run all tests in the project. I added bulk_create for NodeTraversals because the KE_chromo test was ridiculously slow.
@subwaystation
Copy link
Member

I will take a look at it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants