Skip to content

Commit

Permalink
Document performance testing requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Tyler authored and jeromekelleher committed Oct 14, 2024
1 parent 3e79f84 commit e3b64ed
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions performance/compare.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# This script requires pv.

# https://www.ivarch.com/programs/pv.shtml

# There is a Homebrew formula to install pv on macOS.

# This script also depends on the simulation data:
# make -C data

import subprocess
import sys

Expand Down
1 change: 1 addition & 0 deletions performance/data/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*
!Makefile
!requirements.txt
11 changes: 11 additions & 0 deletions performance/data/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# The make recipes require bcftools and bgzip.

# https://samtools.github.io/bcftools/howtos/install.html
# https://www.htslib.org/doc/bgzip.html

# On macOS, there are Homebrew formulas for bcftools and htslib,
# which contains bgzip.

# The Python requirements are listed in requirements.txt:
# pip install -r requirements.txt

.PHONY: all clean

all: sim_10k.vcz
Expand Down
3 changes: 3 additions & 0 deletions performance/data/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
stdpopsim
tskit
bio2zarr

0 comments on commit e3b64ed

Please sign in to comment.