popsim-consortium / popsim-consortium/stdpopsim

Allow more flexible sampling (e.g., from past times)

Open
#320 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
144
Forks
100
Avg merge
2h 44m
Merged PRs (30d)
2

Description

We're using sampling_time=None currently to denote populations that are never sampled from. In reality we should be able to sample from any population, it's mainly just a case of what time thoses samples should be at. This gets complicated though, since someone may want to sample at multiple times from the same population. Then, we can just use the standard msprime API for creating samples.

So, perhaps the current approach is a good compromise, covering the majority of cases people will want?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reviewing the current handling of sampling_time=None and the standard msprime API for creating samples. Before implementation, clarify how multiple sampling times and past times should be represented; done would require an agreed sampling interface and corresponding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.