diff --git a/build_venv.sh b/build_venv.sh
new file mode 100755
index 0000000000000000000000000000000000000000..258f8f63f886555f085d90fc837753110cda605d
--- /dev/null
+++ b/build_venv.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Build a virtual environment that can be used to run the Prefactor pipeline
+
+python3 -m venv venv
+. venv/bin/activate
+
+python3 -m pip install --upgrade pip
+python3 -m pip install --upgrade wheel
+
+python3 -m pip install -r requirements.txt
+
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d915dfea6d36edbdcdf20b274eb06767b25c8425
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+toil @ git+https://github.com/DataBiosphere/toil.git@27dae4cb1ea7e9df56c5e901ec786387c8111f5b#egg=toil[cwl]