Skip to content

Commit

Permalink
Merge pull request #11 from TheJacksonLaboratory/G3-191-add-default-s…
Browse files Browse the repository at this point in the history
…pecies-identifier-types-for-aon-to-geneweaver-core

G3 191: Adding aon species to id type map
  • Loading branch information
bergsalex committed Feb 23, 2024
2 parents 22bce56 + 3b0e8e9 commit 6c9e0ff
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geneweaver-core"
version = "0.9.0a4"
version = "0.9.0a5"
description = "The core of the Jax-Geneweaver Python library"
authors = ["Jax Computational Sciences <cssc@jax.org>"]
readme = "README.md"
Expand Down
16 changes: 16 additions & 0 deletions src/geneweaver/core/mapping.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""Mapping definitions."""

from geneweaver.core.enum import GeneIdentifier, Species

AON_ID_TYPE_FOR_SPECIES = {
Species.MUS_MUSCULUS: GeneIdentifier.MGI,
Species.HOMO_SAPIENS: GeneIdentifier.HGNC,
Species.RATTUS_NORVEGICUS: GeneIdentifier.RGD,
Species.DANIO_RERIO: GeneIdentifier.ZFIN,
Species.DROSOPHILA_MELANOGASTER: GeneIdentifier.FLYBASE,
Species.MACACA_MULATTA: GeneIdentifier.ENTREZ,
Species.CAENORHABDITIS_ELEGANS: GeneIdentifier.WORMBASE,
Species.SACCHAROMYCES_CEREVISIAE: GeneIdentifier.SGD,
Species.GALLUS_GALLUS: GeneIdentifier.CGNC,
Species.CANIS_FAMILIARIS: GeneIdentifier.ENTREZ,
}

0 comments on commit 6c9e0ff

Please sign in to comment.