Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding genetic map for honeybee #1399

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stdpopsim/catalog/ApiMel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
Catalog definitions for ApiMel (Ensembl ID='apis_mellifera')
"""
from . import species # noqa: F401
from . import genetic_maps # noqa: F401
35 changes: 35 additions & 0 deletions stdpopsim/catalog/ApiMel/genetic_maps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import stdpopsim

_species = stdpopsim.get_species("ApiMel")

_genetic_map_citation = stdpopsim.Citation(
doi="https://doi.org/10.1186/s13059-014-0566-0",
author="Liu et al.",
year=2015,
reasons={stdpopsim.CiteReason.GEN_MAP},
)

_gm = stdpopsim.GeneticMap(
species=_species,
id="Liu_Amel_HAv3.1", # ID for genetic map, see naming conventions
description="Crossover events mapped in 55 individuals",
long_description="""
This map is based on the study of crossover events in 55 individuals
from three colonies of Apis mellifera ligustica from China. The study
included three diploid queens, six diploid workers, and 46 haploid
drones. The map was first lifted from the Amel_4.5 to Amel_HAv3.1
assembly. To convert the crossover events to genetic position, the
recombination rate was assumed stable between crossovers and the
genetic position was inferred from the physical positions of SNPs
within these crossover ranges.
""",
url=(
"https://stdpopsim.s3.us-west-2.amazonaws.com/"
"genetic_maps/ApiMel/Liu2015_liftover_maps.tar.gz"
),
sha256="fb394ca952324224c1adc1a5c64ed0117d260baabb21520409f4c3621ea5c649",
file_pattern="Liu2015_liftover_maps/Amel_HAv3.1_lifted_chr{id}.txt",
citations=[_genetic_map_citation],
)

_species.add_genetic_map(_gm)