-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'AlexsLemonade/main' into allyhawkins/on…
…tology-exploration
- Loading branch information
Showing
28 changed files
with
6,092 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# This is a workflow to build the docker image for the seurat-conversion module | ||
# | ||
# Docker modules are run on pull requests when code for files that affect the Docker image have changed. | ||
# If other files are used during the Docker build, they should be added to `paths` | ||
# | ||
# At module initialization, this workflow is inactive, and needs to be activated manually | ||
|
||
name: Build docker image for seurat-conversion | ||
|
||
concurrency: | ||
# only one run per branch at a time | ||
group: "docker_seurat-conversion_${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
on: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
# paths: | ||
# - "analyses/seurat-conversion/Dockerfile" | ||
# - "analyses/seurat-conversion/.dockerignore" | ||
# - "analyses/seurat-conversion/renv.lock" | ||
# - "analyses/seurat-conversion/conda-lock.yml" | ||
# push: | ||
# branches: | ||
# - main | ||
# paths: | ||
# - "analyses/seurat-conversion/Dockerfile" | ||
# - "analyses/seurat-conversion/.dockerignore" | ||
# - "analyses/seurat-conversion/renv.lock" | ||
# - "analyses/seurat-conversion/conda-lock.yml" | ||
workflow_dispatch: | ||
inputs: | ||
push-ecr: | ||
description: "Push to AWS ECR" | ||
type: boolean | ||
required: true | ||
|
||
jobs: | ||
test-build: | ||
name: Test Build Docker Image | ||
if: github.event_name == 'pull_request' || (contains(github.event_name, 'workflow_') && !inputs.push-ecr) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Build image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: "{{defaultContext}}:analyses/seurat-conversion" | ||
push: false | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
||
build-push: | ||
name: Build and Push Docker Image | ||
if: github.repository_owner == 'AlexsLemonade' && (github.event_name == 'push' || inputs.push-ecr) | ||
uses: ./.github/workflows/build-push-docker-module.yml | ||
with: | ||
module: "seurat-conversion" | ||
push-ecr: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This is a workflow to run the seurat-conversion module | ||
# | ||
# Analysis modules are run based on three triggers: | ||
# - Manual trigger | ||
# - On pull requests where code in the module has changed | ||
# - As a reusable workflow called from a separate workflow which periodically runs all modules | ||
# | ||
# At initialization, only the manual trigger is active | ||
|
||
name: Run seurat-conversion analysis module | ||
env: | ||
MODULE_PATH: analyses/seurat-conversion | ||
AWS_DEFAULT_REGION: us-east-2 | ||
|
||
concurrency: | ||
# only one run per branch at a time | ||
group: "run_seurat-conversion_${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
# workflow_call: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
# paths: | ||
# - analyses/seurat-conversion/** | ||
# - "!analyses/seurat-conversion/Dockerfile" | ||
# - "!analyses/seurat-conversion/.dockerignore" | ||
# - .github/workflows/run_seurat-conversion.yml | ||
|
||
jobs: | ||
run-module: | ||
if: github.repository_owner == 'AlexsLemonade' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: 4.4.0 | ||
use-public-rspm: true | ||
|
||
- name: Set up pandoc | ||
uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- name: Set up renv | ||
uses: r-lib/actions/setup-renv@v2 | ||
with: | ||
working-directory: ${{ env.MODULE_PATH }} | ||
|
||
# Update this step as needed to download the desired data | ||
- name: Download test data | ||
run: ./download-data.py --test-data --format SCE | ||
|
||
- name: Run analysis module | ||
run: | | ||
cd ${MODULE_PATH} | ||
# run module script(s) here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Contributing to OpenScPCA | ||
|
||
Please see the [OpenScPCA website](https://openscpca.readthedocs.io/) for information about how to contribute to this project, including: | ||
Please see the [OpenScPCA website](https://openscpca.readthedocs.io/en/latest) for information about how to contribute to this project, including: | ||
|
||
|
||
* [Obtaining access to data as a formal OpenScPCA contributor](https://openscpca.readthedocs.io/#become-a-contributor) | ||
* [Setting up](https://openscpca.readthedocs.io/technical-setup) | ||
* [Contributing to analyses](https://openscpca.readthedocs.io/contributing-to-analyses) | ||
* [Obtaining access to data as a formal OpenScPCA contributor](https://openscpca.readthedocs.io/en/latest/#become-a-contributor) | ||
* [Setting up](https://openscpca.readthedocs.io/en/latest/technical-setup) | ||
* [Contributing to analyses](https://openscpca.readthedocs.io/en/latest/contributing-to-analyses) | ||
|
||
Please also review our [Policies](https://openscpca.readthedocs.io/policies) before contributing. | ||
Please also review our [Policies](https://openscpca.readthedocs.io/en/latest/policies) before contributing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.