Skip to content

Commit

Permalink
chore: Merge branch 'rseqc-docker' of https://github.com/CCBR/RENEE i…
Browse files Browse the repository at this point in the history
…nto rseqc-docker
  • Loading branch information
kelly-sovacool committed Apr 3, 2024
2 parents 0c5af57 + 1f0a0ae commit 0cef7c6
Show file tree
Hide file tree
Showing 84 changed files with 3,576 additions and 2,850 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ jobs:
citation._implementation.cffobj['version'] = "${{ env.NEXT_VERSION }}"
citation._implementation.cffobj['date-released'] = "${{ env.DATE }}"
with open('CITATION.cff', 'w') as outfile:
outfile.write(yaml.dump(citation._implementation.cffobj, sort_keys=False))
outfile.write(yaml.dump(citation._implementation.cffobj, sort_keys=False, indent=2))
- uses: pre-commit/[email protected]
with:
extra_args: --files CITATION.cff CHANGELOG.md VERSION
continue-on-error: true

- name: Commit & push to branch
run: |
Expand Down
50 changes: 48 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
Dryrun_Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: docker://snakemake/snakemake:v5.24.2
- name: Dry-run pipeline
run: |
docker run -v $PWD:/opt2 -w /opt2 snakemake/snakemake:v5.24.2 \
python ./renee run \
python src/renee/__main__.py run \
--input .tests/KO_S3.R1.fastq.gz .tests/KO_S3.R2.fastq.gz .tests/KO_S4.R1.fastq.gz .tests/KO_S4.R2.fastq.gz .tests/WT_S1.R1.fastq.gz .tests/WT_S1.R2.fastq.gz .tests/WT_S2.R1.fastq.gz .tests/WT_S2.R2.fastq.gz \
--output output \
--genome config/genomes/biowulf/hg38_30.json \
Expand All @@ -29,3 +29,49 @@ jobs:
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:v5.24.2 snakemake --lint -s /opt2/output/workflow/Snakefile -d /opt2/output || \
echo 'There may have been a few warnings or errors. Please read through the log to determine if its harmless.'
Test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
snakemake-version: ["7.32.3"]
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: test
cache-environment: true
condarc: |
channels:
- conda-forge
- bioconda
create-args: >-
python=${{ matrix.python-version }}
snakemake=${{ matrix.snakemake-version }}
setuptools
pip
pytest
- name: check CLI basics
run: |
./bin/renee --help
./bin/renee --version
shell: micromamba-shell {0}
- name: Test
run: |
python -m pytest
env:
TMPDIR: ${{ runner.temp }}
shell: micromamba-shell {0}

build-status: # https://github.com/orgs/community/discussions/4324#discussioncomment-3477871
runs-on: ubuntu-latest
needs: [Dryrun_Lint, Test]
if: always()
steps:
- name: Successful build
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Failing build
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
8 changes: 7 additions & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,20 @@ jobs:
with open('VERSION', 'w') as outfile:
outfile.write(f"{version}-dev\n")
- uses: pre-commit/[email protected]
with:
extra_args: --files CITATION.cff CHANGELOG.md VERSION
continue-on-error: true

- name: Open pull request
run: |
git add CHANGELOG.md VERSION
git commit -m "chore: bump changelog & version after release of ${{ github.ref_name }}"
git push --set-upstream origin ${{ env.BRANCH }}
gh pr create \
--fill-first
--fill-first \
--reviewer ${{ github.triggering_actor }}
- name: Clean up release-draft branch
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ site/

# other

**/.koparde*
**/.koparde*
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## RENEE development version

- Minor documentation improvements. (#100, @kelly-sovacool)
- Fix RNA report bug, caused by hard-coding of PC1-3, when only PC1-2 were generated. (#104, @slsevilla)
- Allow printing the version or help message even if singularity is not in the path. (#110, @kelly-sovacool)
- Fix RSeQC environments:
- Set RSeQC envmodule version to 4.0.0, which synchronizes it with the version in the docker container used by singularity. (#122, @kelly-sovacool)
- Update docker with RSeQC's tools properly added to the path. (#123, @kelly-sovacool)

## RENEE 2.5.11

- Create a citation file to describe how to cite RENEE. (#86, @kelly-sovacool)
Expand All @@ -9,7 +18,6 @@
- Fix RSEM reference and rRNA interval list paths in FRCE-specific config files (#85, @kelly-sovacool & @slsevilla)
- Fix bug which caused incorrect genome annotation JSON files to be used (#87, @kelly-sovacool)
- Set default temporary directory depending on HPC platform. (#98, @kelly-sovacool)
- Update docker for RSEQC with tools properly added to the path. (#123, @kelly-sovacool)

## RENEE 2.5.10

Expand Down
6 changes: 5 additions & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ url: https://ccbr.github.io/RENEE
repository-code: https://github.com/CCBR/RENEE
license: MIT
type: software
identifiers:
- description: Archived snapshots of all versions
type: doi
value: 10.5281/zenodo.10553198
version: v2.5.11
date-released: '2024-01-22'
date-released: 2024-01-22
Loading

0 comments on commit 0cef7c6

Please sign in to comment.