Skip to content

Commit

Permalink
Update links to validation data
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymillar authored and mergify[bot] committed Jun 27, 2023
1 parent ae929c4 commit 07e75c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions validation/gwas/method/pc_relate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ HapMap data.
This code is scheduled as part of the Github Actions CI.

To run manually, you need to first download the test data
from `gs://sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip`,
keep in mind that `sgkit-data` GCS bucket uses
[Requester Pays config](https://cloud.google.com/storage/docs/requester-pays),
and the file size is about 32MB.
from `https://storage.googleapis.com/sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip`,
the file size is about 32MB.

```bash
gsutil -u $BILLING_PROJECT cp gs://sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip /tmp/
wget https://storage.googleapis.com/sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip -P /tmp/
./run.sh /tmp/hapmap_JPT_CHB_r23a_filtered.zip
```

Expand Down
3 changes: 1 addition & 2 deletions validation/gwas/method/pc_relate/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ TEST_DATA="$1"

if [[ -z "$TEST_DATA" ]]; then
echo "usage $0 <PATH_TO_TEST_DATA>" >&2
echo "You can download real test data from gs://sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip" >&2
echo "sgkit-data GCS bucket uses Requester Pays config: https://cloud.google.com/storage/docs/requester-pays" >&2
echo "You can download real test data from https://storage.googleapis.com/sgkit-data/validation/hapmap_JPT_CHB_r23a_filtered.zip" >&2
exit 1
fi

Expand Down

0 comments on commit 07e75c2

Please sign in to comment.