Skip to content

Commit 0bfd0d9

Browse files
committed
fix colima instructions
1 parent 8d57bea commit 0bfd0d9

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

RunningCZIDWorkflowsOnARMMacs.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The following is how to set up a virtual machine using `colima` where you can bu
77

88
### Install Colima
99

10-
`brew install colima`
10+
`brew install qemu colima`
1111

1212
Go to the czid-workflows repo
1313

@@ -28,7 +28,7 @@ SSH into the VM
2828

2929
In the VM run:
3030

31-
`sudo apk add py3-virtualenv gcc python3-dev musl-dev linux-headers make`
31+
`sudo apt-get update && sudo apt install python3-virtualenv gcc python3-dev musl-dev make qemu-user-static`
3232

3333
Go to where the `czid-workflows` repo is mounted
3434

@@ -37,3 +37,18 @@ Go to where the `czid-workflows` repo is mounted
3737
Then you should be able to build and run the docker containers as normal
3838

3939
`make build WORKFLOW=minimap2`
40+
41+
or
42+
43+
`make pull WORKFLOW=consensus-genome`
44+
45+
Then try running an environment with:
46+
47+
```
48+
virtualenv -p python3 .venv
49+
source .venv/bin/activate
50+
51+
pip install -r requirements-dev.txt
52+
sudo ./.venv/bin/miniwdl run workflows/consensus-genome/run.wdl docker_image_id=czid-consensus-genome fastqs_0=workflows/consensus-genome/test/sample_sars-cov-2_paired_r1.fastq.gz fastqs_1=workflows/consensus-genome/test/sample_sars-cov-2_paired_r2.fastq.gz technology=Illumina sample="test" ref_fasta=s3://czid-public-references/consensus-genome/MN908947.3.fa -i workflows/consensus-genome/test/local_test.yml -v
53+
54+
```

0 commit comments

Comments
 (0)