Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
6da2a34
feat: include bmd files in workflow
christinehc Nov 5, 2025
c3856e2
build: use ubuntu-latest for actions
christinehc Nov 5, 2025
a9ed382
build: fix container name
christinehc Nov 5, 2025
9538052
build: fix container name in docker pull
christinehc Nov 5, 2025
36255b1
build: include bmd in artifacts upload. force continue upload
christinehc Nov 5, 2025
ec654f8
build: create new figshare articles for each upload
christinehc Nov 5, 2025
52c51a8
build: use correct category IDs for metadata
christinehc Nov 5, 2025
04a07e4
build: use secret for project ID. specify dataset.
christinehc Nov 5, 2025
067e460
build: remove tags from metadata
christinehc Nov 5, 2025
1d5910d
build: fix variable name
christinehc Nov 5, 2025
e33f5f0
chore: update ontology mappings. fixes #107
christinehc Nov 26, 2025
ab37060
fix: correct misassignment of unique sample IDs. addresses #102
christinehc Nov 26, 2025
7119ffe
fix: include link to structure image png. fixes #109
christinehc Dec 3, 2025
b9155d4
fix: generate image links only for valid IDs. addresses #109
christinehc Dec 5, 2025
b8e7e68
feat: adapt bmdrc code for zf data. fixes #111
christinehc Dec 11, 2025
3974823
feat,refactor: update zfBMD code for pipeline. fixes #111
christinehc Dec 11, 2025
c929b11
chore: rename zfBMDS -> zfBMDs to align with bmdrc output
christinehc Dec 11, 2025
2c4d044
chore: add new image_link col to schema
christinehc Dec 29, 2025
56c4f3a
docs: update CLI flag for output directory
christinehc Dec 29, 2025
b879bd8
feat: test github actions for figshare data download
christinehc Dec 29, 2025
94140a3
build: trigger workflow on push
christinehc Dec 30, 2025
f3967fb
feat: create manifest handler and schema parser. addresses #106
christinehc Jan 15, 2026
f6c5a47
feat: create figshare data downloader. addresses #106
christinehc Jan 15, 2026
e97cd28
fix: update schema for zebrafish data. addresses #110
christinehc Jan 15, 2026
4013769
chore,format,refactor: clean up unused code and update docstrings
christinehc Jan 15, 2026
4a4cf3d
refactor: simplify mappings scripts and remove reliance on params
christinehc Jan 15, 2026
84ef109
feat,fix,build: update main build (new files/zf pipeline). addresses …
christinehc Jan 15, 2026
139805f
build: edit dose classes to reflect sample vs. chem classes
christinehc Jan 20, 2026
9ad5097
build: update manifest with new files (+ figshare)
christinehc Jan 20, 2026
60c4c19
chore: add clarifying comments
christinehc Jan 20, 2026
c2974b3
feat: build database with zebrafish files. fixes #10, #115
christinehc Jan 20, 2026
e5a00eb
chore: correct path to schema file
christinehc Jan 20, 2026
4bf7569
refactor: implement minor changes for readability
christinehc Jan 20, 2026
ec35a86
build: remove hardcode and use secrets
christinehc Jan 20, 2026
c766086
fix: repair sample build script. enable new files. fixes #103
christinehc Jan 20, 2026
03da584
build: update docker command
christinehc Jan 21, 2026
df1b86b
build: create figshare article only after successful build
christinehc Jan 21, 2026
47a2d65
build: include manifest in docker build
christinehc Jan 21, 2026
c3867c0
build: fix entrypoints. create tmp figshare dirs
christinehc Jan 21, 2026
6c99ede
build: specify token for figshare API
christinehc Jan 21, 2026
768d4c3
build: create tmp figshare dir. copy src code
christinehc Jan 22, 2026
fe2e3a1
build: test figshare auth using github secrets
christinehc Jan 22, 2026
f2d340e
fix: temporarily prevent linkml errors by using Any type. addresses #121
christinehc Jan 29, 2026
753722d
build: include new samplesToChemicals columns. fixes #119
christinehc Jan 29, 2026
7022345
build: include new description cols in chemicals
christinehc Jan 29, 2026
b878976
feat: add utility to directly load via figshare URL. use dotenv
christinehc Jan 30, 2026
e55faa6
refactor,fix: load files from figshare. enforce NULL (fixes #118)
christinehc Feb 4, 2026
8027037
chore: pipe temporary output to `tmp/`, not `/tmp`
christinehc Feb 4, 2026
542882b
feat: include new data build files. fixes #111, closes #119, closes #115
christinehc Feb 4, 2026
2bcdfb4
fix: add data post-bmdrc fixes. addresses #130
christinehc Feb 19, 2026
9120d73
fix: check schema flexibly for zf output files
christinehc Feb 19, 2026
65e499b
chore: add response col to fits. addresses #130
christinehc Feb 19, 2026
265114b
feat,refactor: add response column and schema checks. fixes #130
christinehc Feb 19, 2026
68474c4
fix: update sigGeneStats format. fixes #120
christinehc Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
404 changes: 270 additions & 134 deletions .github/workflows/database-update.yml

Large diffs are not rendered by default.

77 changes: 37 additions & 40 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defaults:
on:
push:
branches:
- '**'
- "**"
paths:
- build_script.py
- .github/
Expand All @@ -16,15 +16,13 @@ on:
- exposome/
workflow_dispatch:


jobs:
# setup:
# runs-on: ubuntu-latest
# outputs:
# docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
# docker_password: ${{ secrets.DOCKERHUB_PASSWORD }}
# steps:


build-push-sample:
# needs: setup
Expand All @@ -44,11 +42,11 @@ jobs:
- name: Build and push sampleChem
uses: docker/build-push-action@v3
with:
file: sampleChemMapping/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-samplechem:latest
file: sampleChemMapping/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-samplechem:latest

build-push-expo:
# needs: setup
runs-on: ubuntu-latest
Expand All @@ -67,33 +65,33 @@ jobs:
- name: Build and push expo
uses: docker/build-push-action@v3
with:
file: exposome/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-exposome:latest
file: exposome/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-exposome:latest

build-push-exp:
# needs: setup
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
id: login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push expr
uses: docker/build-push-action@v3
with:
file: zfExp/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-zfexp:latest
# build-push-exp:
# # needs: setup
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Set up Docker Buildx
# id: buildx
# uses: docker/setup-buildx-action@v3
# - name: Login to DockerHub
# id: login
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
# - name: Build and push expr
# uses: docker/build-push-action@v3
# with:
# file: zfExp/Dockerfile
# platforms: linux/amd64,linux/arm64
# push: true
# tags: sgosline/srp-zfexp:latest

build-push-bmdrc:
# needs: setup
Expand All @@ -113,18 +111,17 @@ jobs:
- name: Build and push bmd
uses: docker/build-push-action@v3
with:
file: zfBmd/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-zfbmd:latest

file: zfBmd/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: sgosline/srp-zfbmd:latest
# - name: Build and push bmd2Samps
# uses: docker/build-push-action@v6
# with:
# context: old/bmd2Samps
# push: true
# tags: sgosline/srp-bmd2samps:v1
# platforms: linux/amd64,linux/arm64
# platforms: linux/amd64,linux/arm64
# - name: Build and push version 2 bmd2Samps
# uses: docker/build-push-action@v6
# with:
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/test-data-download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Test-data-download

on:
push:
branches:
- "**"
paths:
- data/

# Allows running workflow manually from Actions tab
workflow_dispatch:

jobs:
download-data:
runs-on: ubuntu-latest
outputs:
data-downloaded: ${{ steps.download.outputs.success }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Download raw data from Figshare
id: download
run: |
mkdir -p data

# Morphology data
echo "Downloading morphology data..."
curl -H "Authorization: token ${{ secrets.FIGSHARE_TOKEN }}" \
-L "https://ndownloader.figshare.com/files/${{ vars.MORPHOLOGY_FILE_ID }}" \
-o data/morphology.csv

# Behavioral (LPR) data
echo "Downloading behavioral data..."
curl -H "Authorization: token ${{ secrets.FIGSHARE_TOKEN }}" \
-L "https://ndownloader.figshare.com/files/${{ vars.BEHAVIORAL_FILE_ID }}" \
-o data/behavioral.csv

# Exposome data
#echo "Downloading exposome data..."
#curl -H "Authorization: token ${{ secrets.FIGSHARE_TOKEN }}" \
# -L "https://ndownloader.figshare.com/files/${{ vars.EXPOSOME_FILE_ID }}" \
# -o data/exposome.csv

# Gene expression data
#echo "Downloading gene expression data..."
#curl -H "Authorization: token ${{ secrets.FIGSHARE_TOKEN }}" \
# -L "https://ndownloader.figshare.com/files/${{ vars.EXPRESSION_FILE_ID }}" \
# -o data/expression.csv

# Check if all files were downloaded successfully
ls -la data/
if [ -f "data/morphology.csv" ] && [ -f "data/behavioral.csv" ]; then # && [ -f "data/exposome.csv" ] && [ -f "data/expression.csv" ]; then
echo "success=true" >> $GITHUB_OUTPUT
else
echo "success=false" >> $GITHUB_OUTPUT
exit 1
fi

- name: Upload raw data artifacts
uses: actions/upload-artifact@v4
with:
name: data-files
path: data/
retention-days: 1
Loading