jeromekelleher / sc2ts

Infer a succinct tree sequence from SARS-COV-2 variation data
MIT License
4 stars 3 forks source link

Add gene annotations to ts metadata #21

Open jeromekelleher opened 1 year ago

jeromekelleher commented 1 year ago

Useful to have things like gene_name and gene_position in the site metadata.

Using data from here: https://github.com/nextstrain/nextclade_data/blob/release/data/datasets/sars-cov-2/references/MN908947/versions/2022-10-27T12:00:00Z/files/genemap.gff

jeromekelleher commented 1 year ago

Better idea - add the annotation to the ts metadata and provide some functions to get the gene name from it given a site.