-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from friendsofstrandseq/weber8thomas/bug-slurm…
…-time Fix bug slurm time
- Loading branch information
Showing
6 changed files
with
309 additions
and
289 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
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 |
---|---|---|
|
@@ -158,268 +158,3 @@ jobs: | |
# run: | | ||
# snakemake -j 1 -c 1 --executor slurm --workflow-profile .tests/config/slurm_config/ \ | ||
# --use-conda --conda-frontend mamba --configfile .tests/config/simple_config_ashleys.yaml -p --snakefile workflow/Snakefile | ||
|
||
Testing-with-MultiQC: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --configfile .tests/config/simple_config_ashleys.yaml --config MultiQC=True \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
Testing-with-ms-norm: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --configfile .tests/config/simple_config_ashleys.yaml --config multistep_normalisation=True \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
Testing-with-hg38: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
# - Testing-basic-with-slurm | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --config reference=hg38 use_light_data=True chromosomes=[chr17] \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
Testing-with-hg19: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
# - Testing-basic-with-slurm | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --config reference=hg19 use_light_data=True chromosomes=[chr17] \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
Testing-with-T2T: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
# - Testing-basic-with-slurm | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
- name: Pull LFS objects in submodules | ||
run: git submodule foreach --recursive 'git lfs pull' | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --config reference=T2T use_light_data=True chromosomes=[chr17] \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
Testing-with-mm10: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- Formatting | ||
- Linting | ||
- Testing-basic | ||
# - Testing-basic-with-slurm | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
# Update references | ||
- name: Git Submodule Update | ||
run: | | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Add Conda to system path | ||
run: echo "$CONDA/bin" >> $GITHUB_PATH | ||
|
||
- name: Install dependencies | ||
run: conda install -c conda-forge mamba | ||
|
||
- name: Setup Snakemake | ||
run: mamba install -c conda-forge -c bioconda snakemake==7.32.4 | ||
|
||
- name: List options of workflow | ||
run: | | ||
snakemake --cores 1 --config list_commands=True --verbose --debug | ||
- name: Run workflow | ||
run: | | ||
snakemake --cores 1 --use-conda --config reference=T2T use_light_data=True chromosomes=[chr17] \ | ||
--conda-frontend mamba -p --verbose --debug --snakefile workflow/Snakefile | ||
# Testing_publishdir: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - name: Testing data | ||
# uses: snakemake/[email protected] | ||
# with: | ||
# directory: . | ||
# snakefile: ./workflow/Snakefile | ||
# stagein: "conda config --set channel_priority flexible" | ||
# args: "--cores 1 --use-conda --configfile .tests/config/simple_config_ashleys.yaml --config publishdir=.tests/data_chr17_publishdir --conda-frontend mamba -p --verbose --debug" | ||
# - name: Testing report | ||
# uses: snakemake/[email protected] | ||
# with: | ||
# directory: . | ||
# snakefile: ./workflow/Snakefile | ||
# args: "--cores 1 --use-conda --configfile .tests/config/simple_config_ashleys.yaml --config publishdir=.tests/data_chr17_publishdir --conda-frontend mamba --report report.zip" |
Oops, something went wrong.