Skip to content

Commit

Permalink
Merge branch 'release/1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshah committed Sep 6, 2024
2 parents e55c072 + b3fdfed commit 6576bfc
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 46 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/test_ubg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
max-parallel: 1
matrix:
platform: [ubuntu-latest]
python-version: [3.6]
python-version: ['3.10']
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name : Set up NodeJS
Expand All @@ -34,24 +34,13 @@ jobs:
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install node
- name: Setup Docker
uses: docker-practice/actions-setup-docker@master
with:
docker_channel: nightly
# this value please see https://github.com/AkihiroSuda/moby-snapshot/releases
docker_nightly_version: snapshot-20201109
env:
PLATFORM: ${{ matrix.platform }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.RS_PAT }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Install Test data
run: |
bash install_data.sh
- name: Test with tox
id: run-tox
run: tox -vv
Expand Down
2 changes: 1 addition & 1 deletion command_line_tools
5 changes: 3 additions & 2 deletions install_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ filename=test_uncollapsed_bam_generation.tar.gz
# Skip if already have test data
[[ -f $filename ]] && exit 0

curl -c ./cookie -s -k -L "https://drive.google.com/uc?export=download&id=$fileid" > /dev/null
#curl -c ./cookie -s -k -L "https://drive.google.com/uc?export=download&id=$fileid" > /dev/null
#curl -k -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}

curl -k -Lb ./cookie "https://drive.google.com/uc?export=download&confirm=`awk '/download/ {print $NF}' ./cookie`&id=${fileid}" -o ${filename}
curl -L "https://drive.usercontent.google.com/download?id=${fileid}&confirm=xxx" -o ${filename}

if [[ "$OSTYPE" == "linux-gnu" ]]; then
tar --warning=no-unknown-keyword -xzvf $filename
Expand Down
16 changes: 6 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
toil[cwl]
pip
pytz
typing
bumpversion
flake8
tox
twine
pytest
pytest-runner
coloredlogs==15.0.1
pytest==7.2.0
setuptools==65.4.1
toil[cwl]==5.10.0
pytest-runner==6.0.1
tox==3.27.1
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.0
current_version = 1.3.0
commit = True
tag = True

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with open('README.md') as readme_file:
readme = readme_file.read()

requirements = ['toil[cwl]==5.5.0', ]
requirements = ['toil[cwl]==5.10.0', ]

setup_requirements = ['pytest-runner', ]

Expand All @@ -22,7 +22,7 @@
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.10',
],
description="Workflow for making MSK-ACCESS standard binary alignment mapping file.",
install_requires=requirements,
Expand All @@ -36,6 +36,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/msk-access/uncollapsed_bam_generation',
version='1.2.0',
version='1.3.0',
zip_safe=False,
)
2 changes: 1 addition & 1 deletion subworkflows
Submodule subworkflows updated 64 files
+41 −0 .github/workflows/codeql.yml
+5 −5 .github/workflows/pack_cwls.yml
+31 −0 .github/workflows/validate_cwls.yml
+1 −0 .gitignore
+656 −11 LICENSE
+173 −136 alignment/alignment__packed.cwl
+74 −0 athena_report/README.md
+115 −0 athena_report/athena_report.cwl
+885 −0 athena_report/athena_report__packed.cwl
+3 −0 athena_report/example_inputs.yaml
+12 −0 athena_report/example_inputs_juno.yaml
+12 −0 athena_report/example_inputs_juno_empty.yaml
+51 −0 bam_qc_stats/README.md
+57 −13 bam_qc_stats/bam_qc_stats.cwl
+317 −224 bam_qc_stats/bam_qc_stats__packed.cwl
+0 −6 base_quality_recalibration/base_quality_recalibration.cwl
+228 −219 base_quality_recalibration/base_quality_recalibration__packed.cwl
+1 −1 command_line_tools
+20 −9 docs/SUMMARY.md
+361 −300 fgbio_separate_bams/fgbio_separate_bams__packed.cwl
+43 −0 gbcms_genotyping/README.md
+51 −0 gbcms_genotyping/example_inputs.json
+316 −0 gbcms_genotyping/gbcms_genotyping.cwl
+714 −0 gbcms_genotyping/gbcms_genotyping__packed.cwl
+246 −230 indel_realignment/indel_realignment__packed.cwl
+129 −0 qc_collapsed_bam/README.md
+677 −0 qc_collapsed_bam/qc_collapsed_bam.cwl
+3,714 −0 qc_collapsed_bam/qc_collapsed_bam__packed.cwl
+539 −0 qc_collapsed_bam/qc_collapsed_bam_v2.0.cwl
+3,477 −0 qc_collapsed_bam/qc_collapsed_bam_v2.0__packed.cwl
+142 −0 qc_duplex_bam/README.md
+537 −0 qc_duplex_bam/qc_duplex_bam.cwl
+3,287 −0 qc_duplex_bam/qc_duplex_bam__packed.cwl
+508 −0 qc_duplex_bam/qc_duplex_bam_v2.0.cwl
+3,271 −0 qc_duplex_bam/qc_duplex_bam_v2.0__packed.cwl
+71 −0 qc_simplex_bam/README.md
+197 −0 qc_simplex_bam/qc_simplex_bam.cwl
+1,609 −0 qc_simplex_bam/qc_simplex_bam__packed.cwl
+135 −0 qc_simplex_bam/qc_simplex_bam_v2.0.cwl
+1,498 −0 qc_simplex_bam/qc_simplex_bam_v2.0__packed.cwl
+72 −0 qc_uncollapsed_bam/README.md
+294 −0 qc_uncollapsed_bam/qc_uncollapsed_bam.cwl
+2,404 −0 qc_uncollapsed_bam/qc_uncollapsed_bam__packed.cwl
+216 −0 qc_uncollapsed_bam/qc_uncollapsed_bam_v2.0.cwl
+2,261 −0 qc_uncollapsed_bam/qc_uncollapsed_bam_v2.0__packed.cwl
+3 −3 requirements.txt
+26 −0 vardict_workflow/README.md
+16 −0 vardict_workflow/example_inputs.yaml
+185 −0 vardict_workflow/run_processed_vardict.cwl
+2,755 −0 vardict_workflow/run_processed_vardict__packed.cwl
+103 −0 variant_annotation/README.md
+60 −0 variant_annotation/chipvar_processing.cwl
+380 −0 variant_annotation/chipvar_processing__packed.cwl
+5 −0 variant_annotation/example_inputs_chipvar.yaml
+28 −0 variant_annotation/example_inputs_variant_annotation.yaml
+353 −0 variant_annotation/variant_annotation.cwl
+1,644 −0 variant_annotation/variant_annotation__packed.cwl
+127 −0 variant_postprocessing/README.md
+165 −0 variant_postprocessing/variant_normalize_sort.cwl
+851 −0 variant_postprocessing/variant_normalize_sort__packed.cwl
+115 −0 variant_postprocessing/variant_sort.cwl
+597 −0 variant_postprocessing/variant_sort__packed.cwl
+165 −0 variant_postprocessing/variants_concat.cwl
+1,483 −0 variant_postprocessing/variants_concat__packed.cwl
14 changes: 3 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = py{36}-{linux}
envlist = py{310}-{linux}

[travis]
python =
3.6: py36
3.10: py310

[gh-actions]
python =
3.6: py36
3.10: py310

[gh-actions:env]
PLATFORM =
Expand All @@ -28,14 +28,6 @@ deps =

passenv = gh-actions

whitelist_externals =
wget
chmod
tar
goodls

commands_pre = ./install_data.sh

commands =
py.test --capture=sys --basetemp={envtmpdir} tests

0 comments on commit 6576bfc

Please sign in to comment.