Skip to content

Add an intro to forward sims + a basic SLiM script - #142

Closed
hyanwong wants to merge 1 commit into
tskit-dev:mainfrom
hyanwong:forward-sim
Closed

hyanwong wants to merge 1 commit into
tskit-dev:mainfrom
hyanwong:forward-sim

Conversation

@hyanwong

@hyanwong hyanwong commented Nov 10, 2021 •

Copy link
Copy Markdown
Member

For the forward simulation tutorials, it would be nice to be able to run SLiM on the command line. I don't know how we set up CI in this repo to install SLiM, or indeed if we want to (but I think we should). I find it helpful to know how to run SLiM from a python script as in the PR (which would of course allow analysis in a Jupyter notebook)

@petrelharp - there is a tutorial and a few vignettes in the pyslim repo. Do we want to jupyter-book-ify any and move them into the general "tutorials" repo? I can help with this.

@benjeffery benjeffery left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I've added a change to install the tskit beta to get this to pass CI. Lets see if it works or if we need a separate PR.

@hyanwong

hyanwong commented Dec 8, 2021 •

Copy link
Copy Markdown
Member Author

It won't pass until we can install SLiM on CI (which presumably means changing the setup to use conda, see #156 ). So I should have marked this as a draft, for comments, sorry @benjeffery !

@hyanwong
hyanwong marked this pull request as draft December 8, 2021 12:38
@hyanwong

hyanwong commented Dec 8, 2021 •

Copy link
Copy Markdown
Member Author

Also we'd need a version of SLiM / pyslim that works with tskit 0.4. That might be a day or two.

@benjeffery

Copy link
Copy Markdown
Member

Ah ok! I think I'll do a separate PR for 0.4.0 then. Thanks!

@hyanwong hyanwong closed this Jul 8, 2022
@hyanwong

hyanwong commented Jul 8, 2022

Copy link
Copy Markdown
Member Author

We decided that we wouldn't put slim code into the tskit tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants