Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize to new targene-pipeline structure #5

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e29bfde
add ukb_image
roskamsh Oct 1, 2024
913ea13
add new cluster options
roskamsh Oct 1, 2024
7fd049d
update to recent targene code and rearrange subworkflows/modules
roskamsh Oct 1, 2024
85725e7
working test config with GenOMICC data
roskamsh Oct 1, 2024
b7e7ffc
remove old extract module
roskamsh Oct 1, 2024
9fe767b
move these modules to confounders.nf
roskamsh Oct 1, 2024
008ce19
add genotypes.nf processes into here
roskamsh Oct 1, 2024
4227ecb
update to new targene version and rearrange subworkflows/modules
roskamsh Oct 1, 2024
380e712
add missing containers & rename
roskamsh Oct 1, 2024
de9ad31
change UKBB cohort name to UKB
roskamsh Oct 1, 2024
aeac47b
update default UKB_CONFIG specification
roskamsh Oct 1, 2024
632d0c5
update to most recent resource specifications
roskamsh Oct 2, 2024
a6717cc
add exit status 135 & revert back to old clusterOptions
roskamsh Oct 2, 2024
cf703a4
fix bug where task couldn't re-submit on retries
roskamsh Oct 2, 2024
173ceaf
add old cluster options back in
roskamsh Oct 3, 2024
25107d7
add run_type default
roskamsh Oct 3, 2024
762dc54
update CHR_FORMAT for ld block removal range
roskamsh Oct 3, 2024
c11d95b
fix file configuration
roskamsh Oct 3, 2024
44162d2
update SNPs to match targene-pipeline
roskamsh Oct 3, 2024
8de3019
add RUN_TYPE
roskamsh Oct 3, 2024
d44e14f
add new profiles
roskamsh Oct 3, 2024
480e992
add first try CI yaml
roskamsh Oct 3, 2024
ae9cf2e
add CI config
roskamsh Oct 3, 2024
af0b75f
add docker config
roskamsh Oct 3, 2024
de37810
add local config
roskamsh Oct 3, 2024
1e760c6
python requirements for tests
roskamsh Oct 3, 2024
fac12d8
first end-to-end test script
roskamsh Oct 3, 2024
2d56faf
update path
roskamsh Oct 3, 2024
c8f2b2d
update command-line argument to pytest
roskamsh Oct 3, 2024
5364b9c
add pytest
roskamsh Oct 3, 2024
e44b5cd
add additional teste using pytest
roskamsh Oct 3, 2024
d54701e
move command declaration into function
roskamsh Oct 3, 2024
c3e1bf0
update tests
roskamsh Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
- push
- pull_request
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Test ${{ matrix.testrun }} -- ${{ github.event_name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
testrun:
- "test1.py"
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r test/requirements.txt
- name: Set up nextflow
uses: nf-core/setup-nextflow@v1.2.0
- name: Run tests
run: pytest test/${{ matrix.testrun }}
Empty file added assets/NO_QC_FILE
Empty file.
Empty file added assets/NO_WITHDRAWAL_LIST
Empty file.
4 changes: 4 additions & 0 deletions assets/exclusion_regions_hg19.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
5 44000000 51500000 r1
6 25000000 33500000 r2
8 8000000 12000000 r3
11 45000000 57000000 r4
4 changes: 4 additions & 0 deletions assets/exclusion_regions_hg38.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
5 43999898 52204166 r1
6 24999772 33532223 r2
8 8142478 12142491 r3
11 44978449 57232526 r4
Loading
Loading