Skip to content

Commit

Permalink
new tests configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Apr 3, 2024
1 parent d3ab5b6 commit 81d1b70
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/Group_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Read grouping tests

on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 7'

env:
RUN_NAME: Resume_tests
LAUNCHER: ${{github.workspace}}/tests/github/run_pipeline.py
CFG_DIR: /abga/work/andreyp/ci_isoquant/data
BIN_PATH: /abga/work/andreyp/ci_isoquant/bin/
OUTPUT_BASE: /abga/work/andreyp/ci_isoquant/output/${{github.ref_name}}/

jobs:
launch-runner:
runs-on:
labels: [self-hosted]
name: 'Running IsoQuant and QC'

steps:
- name: 'Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 'Grouping by BAM tag'
if: always()
shell: bash
env:
STEP_NAME: GROUP1.TAG.SIRVs
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by TSV file'
if: always()
shell: bash
env:
STEP_NAME: GROUP2.TSV.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by read id'
if: always()
shell: bash
env:
STEP_NAME: GROUP3.READID.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Grouping by file name'
if: always()
shell: bash
env:
STEP_NAME: GROUP4.FILES.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
86 changes: 86 additions & 0 deletions .github/workflows/Resume_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Resume option tests

on:
workflow_dispatch:
schedule:
- cron: '0 6 * * 6'

env:
RUN_NAME: Resume_tests
LAUNCHER: ${{github.workspace}}/tests/github/run_pipeline.py
CFG_DIR: /abga/work/andreyp/ci_isoquant/data
BIN_PATH: /abga/work/andreyp/ci_isoquant/bin/
OUTPUT_BASE: /abga/work/andreyp/ci_isoquant/output/${{github.ref_name}}/

jobs:
launch-runner:
runs-on:
labels: [self-hosted]
name: 'Running IsoQuant and QC'

steps:
- name: 'Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 'Resume from assignment step'
if: always()
shell: bash
env:
STEP_NAME: RESUME1.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Resume from construction step'
if: always()
shell: bash
env:
STEP_NAME: RESUME2.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Resume from multimapper step'
if: always()
shell: bash
env:
STEP_NAME: RESUME3.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Resume from assignment step with additional options'
if: always()
shell: bash
env:
STEP_NAME: RESUME4.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Resume from assignment step with 2 files'
if: always()
shell: bash
env:
STEP_NAME: RESUME_GR1.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'Resume from assignment step with TSV groups'
if: always()
shell: bash
env:
STEP_NAME: RESUME_GR2.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
File renamed without changes.
50 changes: 50 additions & 0 deletions .github/workflows/YAML_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: YAML tests

on:
workflow_dispatch:
schedule:
- cron: '0 7 * * 7'

env:
RUN_NAME: Resume_tests
LAUNCHER: ${{github.workspace}}/tests/github/run_pipeline.py
CFG_DIR: /abga/work/andreyp/ci_isoquant/data
BIN_PATH: /abga/work/andreyp/ci_isoquant/bin/
OUTPUT_BASE: /abga/work/andreyp/ci_isoquant/output/${{github.ref_name}}/

jobs:
launch-runner:
runs-on:
labels: [self-hosted]
name: 'Running IsoQuant and QC'

steps:
- name: 'Cleanup'
run: >
set -e &&
shopt -s dotglob &&
rm -rf *
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: 'YAML file with 1 experiment and 4 samples'
if: always()
shell: bash
env:
STEP_NAME: YAML1.4SAMPLES.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}
- name: 'YAML file with 2 experiments with 2 samples each'
if: always()
shell: bash
env:
STEP_NAME: YAML2.2x2SAMPLES.SIRVs.R10
run: |
export PATH=$PATH:${{env.BIN_PATH}}
python3 ${{env.LAUNCHER}} ${{env.CFG_DIR}}/${{env.STEP_NAME}}.cfg -o ${{env.OUTPUT_BASE}}

0 comments on commit 81d1b70

Please sign in to comment.