-
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 #81 from uab-cgds-worthey/joss_manuscript
Bring master branch up to date
- Loading branch information
Showing
47 changed files
with
1,293 additions
and
1,144 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
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,23 @@ | ||
on: [push] | ||
|
||
jobs: | ||
paper: | ||
runs-on: ubuntu-latest | ||
name: Paper Draft | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build draft PDF | ||
uses: openjournals/openjournals-draft-action@master | ||
with: | ||
journal: joss | ||
# This should be the path to the paper within your repo. | ||
paper-path: paper/paper.md | ||
- name: Upload | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: paper | ||
# This is the output path where Pandoc will write the compiled | ||
# PDF. Note, this should be the same directory as the input | ||
# paper.md | ||
path: paper/paper.pdf |
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,121 @@ | ||
name: system_testing | ||
on: | ||
# push: | ||
# paths: | ||
# - ".github/workflows/system_testing.yml" | ||
# - ".test/**" | ||
# - "configs/**" | ||
# - "src/**" | ||
# - "workflow/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
system-testing: | ||
name: System testing - QuaC | ||
runs-on: ubuntu-20.04 | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- name: Frees Disk Space (Ubuntu) | ||
# For more info about this task, see https://github.com/uab-cgds-worthey/quac/issues/78 | ||
uses: jlumbroso/free-disk-space@v1.2.0 | ||
with: | ||
# this might remove tools that are actually needed, when set to "true" | ||
tool-cache: true | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Create quac environment | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
mamba-version: "*" | ||
channels: conda-forge,bioconda,defaults | ||
auto-activate-base: false | ||
activate-environment: quac | ||
environment-file: configs/env/quac.yaml | ||
|
||
- name: Check conda solution | ||
run: | | ||
mamba env export | ||
- name: Check snakemake exists in conda env | ||
run: | | ||
which snakemake | ||
snakemake --version | ||
- uses: eWaterCycle/setup-singularity@v7 | ||
with: | ||
singularity-version: 3.8.3 | ||
|
||
- name: Check singularity is working | ||
run: | | ||
singularity --version | ||
- name: Set up dependencies for QuaC | ||
run: | | ||
bash src/setup_dependency_datasets.sh | ||
- name: Run QuaC system testing - WGS mode AND no prior QC data | ||
run: | | ||
PROJECT_CONFIG="project_2samples" | ||
PRIOR_QC_STATUS="no_priorQC" | ||
USE_SLURM="" | ||
python src/run_quac.py \ | ||
--project_name test_project \ | ||
--projects_path ".test/ngs-data/" \ | ||
--pedigree ".test/configs/${PRIOR_QC_STATUS}/${PROJECT_CONFIG}.ped" \ | ||
--outdir "data/quac/results/test_${PROJECT_CONFIG}_wgs-${PRIOR_QC_STATUS}/analysis" \ | ||
--quac_watch_config "configs/quac_watch/wgs_quac_watch_config.yaml" \ | ||
--workflow_config "configs/workflow.yaml" \ | ||
$USE_SLURM | ||
- name: Run QuaC system testing - Exome mode AND no prior QC data | ||
run: | | ||
PROJECT_CONFIG="project_2samples" | ||
PRIOR_QC_STATUS="no_priorQC" | ||
USE_SLURM="" | ||
python src/run_quac.py \ | ||
--project_name test_project \ | ||
--projects_path ".test/ngs-data/" \ | ||
--pedigree ".test/configs/${PRIOR_QC_STATUS}/${PROJECT_CONFIG}.ped" \ | ||
--outdir "data/quac/results/test_${PROJECT_CONFIG}_exome-${PRIOR_QC_STATUS}/analysis" \ | ||
--quac_watch_config "configs/quac_watch/exome_quac_watch_config.yaml" \ | ||
--workflow_config "configs/workflow.yaml" \ | ||
--exome \ | ||
$USE_SLURM | ||
- name: Run QuaC system testing - WGS mode AND uses prior QC data | ||
run: | | ||
PROJECT_CONFIG="project_2samples" | ||
PRIOR_QC_STATUS="include_priorQC" | ||
USE_SLURM="" | ||
python src/run_quac.py \ | ||
--project_name test_project \ | ||
--projects_path ".test/ngs-data/" \ | ||
--pedigree ".test/configs/${PRIOR_QC_STATUS}/${PROJECT_CONFIG}.ped" \ | ||
--outdir "data/quac/results/test_${PROJECT_CONFIG}_wgs-${PRIOR_QC_STATUS}/analysis" \ | ||
--quac_watch_config "configs/quac_watch/wgs_quac_watch_config.yaml" \ | ||
--include_prior_qc \ | ||
--allow_sample_renaming \ | ||
--workflow_config "configs/workflow.yaml" \ | ||
$USE_SLURM | ||
- name: Run QuaC system testing - Exome mode AND uses prior QC data | ||
run: | | ||
PROJECT_CONFIG="project_2samples" | ||
PRIOR_QC_STATUS="include_priorQC" | ||
USE_SLURM="" | ||
python src/run_quac.py \ | ||
--project_name test_project \ | ||
--projects_path ".test/ngs-data/" \ | ||
--pedigree ".test/configs/${PRIOR_QC_STATUS}/${PROJECT_CONFIG}.ped" \ | ||
--outdir "data/quac/results/test_${PROJECT_CONFIG}_exome-${PRIOR_QC_STATUS}/analysis" \ | ||
--quac_watch_config "configs/quac_watch/exome_quac_watch_config.yaml" \ | ||
--exome \ | ||
--include_prior_qc \ | ||
--allow_sample_renaming \ | ||
--workflow_config "configs/workflow.yaml" \ | ||
$USE_SLURM |
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
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,7 @@ | ||
{ | ||
"partition": "express", | ||
"ntasks": "1", | ||
"time": "02:00:00", | ||
"cpus-per-task": "1", | ||
"mem-per-cpu": "8G" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.