-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (52 loc) · 1.92 KB
/
Copy pathupdate_umap.yml
File metadata and controls
58 lines (52 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Update umap
on:
workflow_dispatch:
inputs: null
# schedule:
# - cron: '0 0 * * 2' # every Tuesday at midnight
jobs:
update_umap:
strategy:
matrix:
python-version: [ "3.10", "3.13" ]
os: [ ubuntu-latest ] # can't use macOS when using service containers or container jobs
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install torch --index-url https://download.pytorch.org/whl/cpu --system
uv pip install git+https://github.com/databio/bedboss.git@dev#egg=bedboss --system
# uv pip install bedboss --system
- name: Update umap
run: |
bedboss --version
bedboss download-umap --config config.yaml --output-file umap/hg38_umap.json --top-assays 50 --top-cell-lines 50
env:
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
QDRANT_HOST: ${{ secrets.QDRANT_HOST }}
QDRANT_API_KEY: ${{ secrets.QDRANT_API_KEY }}
AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Add to huggingface repo
run: |
pip install huggingface_hub
python upload_hf.py umap
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
# - name: Commit report
# run: |
# git config --global user.name 'Oleksandr Khoroshevskyi'
# git config --global user.email 'khoroshevskyi@users.noreply.github.com'
# git add -A
# git commit -m "Automated update of number of files"
# git push