iossifovlab / gpf

GPF: Genotypes and Phenotypes in Families
MIT License
2 stars 0 forks source link

GRR demo annotators #661

Closed IvoTod closed 3 months ago

IvoTod commented 3 months ago

Background

The next step for external annotation is to create demonstration annotators that use GRR resources.

Aim

Implement 2 new annotators that use gene models and reference genomes.

Implementation

The annotators work by converting the pipeline GRR into a CachedRepository, using a custom cache dir located in the tool's working directory. The working directory gets injected into annotator info parameters during pipeline creation. The new gene models tool annotates by listing gene syms that match the annotatable's position and the reference genome tool annotates by extracting the sequence from the reference genome at the annotatable's position.