Skip to content

Commit 660d3d6

Browse files
authored
Merge pull request #59 from CenterForMedicalGeneticsGhent/dev
Release PR
2 parents e2157a2 + 6634cc2 commit 660d3d6

File tree

258 files changed

+9203
-2824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+9203
-2824
lines changed

.github/CONTRIBUTING.md

-1
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,3 @@ To get started:
110110
Devcontainer specs:
111111

112112
- [DevContainer config](.devcontainer/devcontainer.json)
113-
- [Dockerfile](.devcontainer/Dockerfile)

.github/ISSUE_TEMPLATE/bug_report.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ body:
3838
id: system
3939
attributes:
4040
label: System information
41-
description: "* Nextflow version _(eg. 22.10.1)_
41+
description: "* Nextflow version _(eg. 23.04.0)_
4242
4343
* Hardware _(eg. HPC, Desktop, Cloud)_
4444
4545
* Executor _(eg. slurm, local, awsbatch)_
4646
47-
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
47+
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud,
48+
or Apptainer)_
4849
4950
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
5051

.github/ISSUE_TEMPLATE/config.yml

Whitespace-only changes.

.github/ISSUE_TEMPLATE/feature_request.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Feature request
22
description: Suggest an idea for the CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing pipeline
3-
labels:
4-
- enhancement
3+
labels: enhancement
54
body:
65
- type: textarea
76
id: description

.github/PULL_REQUEST_TEMPLATE.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/CenterForMed
1515

1616
- [ ] This comment contains a description of changes (with reason).
1717
- [ ] If you've fixed a bug or added code that should be tested, add tests!
18-
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing/tree/master/.github/CONTRIBUTING.md)
19-
- [ ] If necessary, also make a PR on the CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
18+
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing/tree/master/.github/CONTRIBUTING.md)
2019
- [ ] Make sure your code lints (`nf-core lint`).
2120
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
2221
- [ ] Usage Documentation in `docs/usage.md` is updated.

.github/workflows/branch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Check PRs
1414
if: github.repository == 'CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing'
1515
run: |
16-
{ [[ ${{github.event.pull_request.head.repo.full_name }} == CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
16+
{ [[ ${{github.event.pull_request.head.repo.full_name }} == CenterForMedicalGeneticsGhent/nf-cmgg-preprocessing ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
1717
1818
# If the above check failed, post a comment on the PR explaining the failure
1919
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets

.github/workflows/ci.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ env:
1313
AWS_ACCESS_KEY_ID: ${{ secrets.UGENT_S3_ACCESS_KEY }}
1414
AWS_SECRET_ACCESS_KEY: ${{ secrets.UGENT_S3_SECRET_KEY }}
1515

16+
concurrency:
17+
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
18+
cancel-in-progress: true
19+
1620
jobs:
1721
test:
1822
name: Run pipeline with test data
@@ -22,12 +26,7 @@ jobs:
2226
strategy:
2327
matrix:
2428
NXF_VER:
25-
- "22.10.0"
26-
#- "latest-everything"
27-
test:
28-
- "test_flowcell"
29-
#- "test_fastq"
30-
#- "test_cram"
29+
- 23.04.0
3130
aligner:
3231
#- "bowtie2"
3332
- "bwamem"
@@ -36,7 +35,7 @@ jobs:
3635
#- "snap"
3736
steps:
3837
- name: Check out pipeline code
39-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
4039

4140
- name: Install Nextflow
4241
uses: nf-core/setup-nextflow@v1
@@ -45,4 +44,4 @@ jobs:
4544

4645
- name: Run pipeline with test data
4746
run: |
48-
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test }},docker --aligner ${{ matrix.aligner }} --outdir ./results
47+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --aligner ${{ matrix.aligner }} --outdir ./results

.github/workflows/clean-up.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Close user-tagged issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0" # Once a week
5+
6+
jobs:
7+
clean-up:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v7
14+
with:
15+
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
16+
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
17+
close-issue-message: "This issue was closed because it has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor and then staled for 20 days with no activity."
18+
days-before-stale: 30
19+
days-before-close: 20
20+
days-before-pr-close: -1
21+
any-of-labels: "awaiting-changes,awaiting-feedback"
22+
exempt-issue-labels: "WIP"
23+
exempt-pr-labels: "WIP"
24+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/fix-linting.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}
2626

27-
- uses: actions/setup-node@v2
27+
- uses: actions/setup-node@v3
2828

2929
- name: Install Prettier
3030
run: npm install -g prettier @prettier/plugin-php
@@ -34,10 +34,11 @@ jobs:
3434
id: prettier_status
3535
run: |
3636
if prettier --check ${GITHUB_WORKSPACE}; then
37-
echo "::set-output name=result::pass"
37+
echo "result=pass" >> $GITHUB_OUTPUT
3838
else
39-
echo "::set-output name=result::fail"
39+
echo "result=fail" >> $GITHUB_OUTPUT
4040
fi
41+
4142
- name: Run 'prettier --write'
4243
if: steps.prettier_status.outputs.result == 'fail'
4344
run: prettier --write ${GITHUB_WORKSPACE}

.github/workflows/linting.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ jobs:
7878

7979
- uses: actions/setup-python@v4
8080
with:
81-
python-version: "3.7"
81+
python-version: "3.11"
8282
architecture: "x64"
8383

8484
- name: Install dependencies
8585
run: |
8686
python -m pip install --upgrade pip
87-
pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
87+
pip install nf-core
8888
8989
- name: Run nf-core lint
9090
env:

.gitpod.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
image: nfcore/gitpod:latest
2+
tasks:
3+
- name: Update Nextflow and setup pre-commit
4+
command: |
5+
pre-commit install --install-hooks
6+
nextflow self-update
27
38
vscode:
49
extensions: # based on nf-core.nf-core-extensionpack

.nf-core.yml

+20-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
repository_type: pipeline
2+
template:
3+
name: nf-cmgg-preprocessing
4+
description: Preprocessing workflow for sequencing data at CMGG
5+
author: matthdsm
6+
prefix: CenterForMedicalGeneticsGhent
27
lint:
38
files_exist:
4-
- .github/workflows/awsfulltest.yml
5-
- .github/workflows/awstest.yml
6-
- assets/nf-core-nf-cmgg-preprocessing_logo_dark.png
79
- assets/nf-core-nf-cmgg-preprocessing_logo_light.png
10+
- conf/test.config
811
- conf/test_full.config
9-
- docs/images/nf-core-nf-cmgg-preprocessing_logo_dark.png
12+
- CODE_OF_CONDUCT.md
1013
- docs/images/nf-core-nf-cmgg-preprocessing_logo_light.png
14+
- docs/images/nf-core-nf-cmgg-preprocessing_logo_dark.png
15+
- lib/nfcore_external_java_deps.jar
16+
- .github/ISSUE_TEMPLATE/config.yml
17+
- .github/workflows/awstest.yml
18+
- .github/workflows/awsfulltest.yml
1119
files_unchanged:
12-
- .github/ISSUE_TEMPLATE/feature_request.yml
13-
- .github/PULL_REQUEST_TEMPLATE.md
14-
- .github/workflows/linting.yml
20+
- CODE_OF_CONDUCT.md
21+
- assets/nf-core-nf-cmgg-preprocessing_logo_light.png
22+
- docs/images/nf-core-nf-cmgg-preprocessing_logo_light.png
23+
- docs/images/nf-core-nf-cmgg-preprocessing_logo_dark.png
24+
- .github/ISSUE_TEMPLATE/bug_report.yml
1525
- .gitignore
16-
- docs/README.md
26+
multiqc_config:
27+
- report_comment
1728
nextflow_config:
29+
- params.input
1830
- manifest.name
1931
- manifest.homePage
20-
multiqc_config:
21-
- report_comment
22-
readme:
23-
- nextflow_badge

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/mirrors-prettier
3+
rev: "v2.7.1"
4+
hooks:
5+
- id: prettier

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## v1.2.0
7+
8+
- Add fix for sample replicates with different split sizes
9+
- Add option to use samtools for duplicate marking
10+
- Updated modules
11+
- Updated to nf-core template v2.8
12+
- Fix issue where unaligned samples were not merged and fixed naming
13+
- Add minimal support for sample "tags" in sample sheet
14+
- Add panel coverage analysis
15+
- Limit panel coverage analyses to samples with WES/WGS tags
16+
- Make BAM_ARCHIVE accept channels with cram files
17+
- Drop ELPREP support
18+
- Add support for cram and index outputs in SAMTOOLS_SORMADUP
19+
- Add option to disable marking duplicates
20+
- Update to nf-core template v2.9
21+
- Start using nf-validation for input parsing
22+
- Drop support for generating aligner indices
23+
624
## v1.1.2
725

826
- Support for bamprocessing with ELPREP

CITATIONS.md

+12
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
- [Biobambam2](https://gitlab.com/german.tischler/biobambam2)
1616
> Tischler, G., Leonard, S. biobambam: tools for read pair collation based algorithms on BAM files. Source Code Biol Med 9, 13 (2014). <https://doi.org/10.1186/1751-0473-9-13>
1717
- [Bowtie2](http://bowtie-bio.sourceforge.net/bowtie2/index.shtml)
18+
1819
> - Langmead B, Wilks C., Antonescu V., Charles R. Scaling read aligners to hundreds of threads on general-purpose processors. Bioinformatics. bty648.
1920
> - Langmead B, Salzberg S. Fast gapped-read alignment with Bowtie 2. Nature Methods. 2012, 9:357-359.
2021
> - Langmead B, Trapnell C, Pop M, Salzberg SL. Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biology 10:R25.
22+
2123
- [BWA](http://bio-bwa.sourceforge.net/)
2224
> Li H. and Durbin R. (2009) Fast and accurate short read alignment with Burrows-Wheeler Transform. Bioinformatics, 25:1754-60. [PMID: 19451168]
2325
- [FastP](https://github.com/OpenGene/fastp)
@@ -33,9 +35,16 @@
3335
> Petr Danecek, James K Bonfield, Jennifer Liddle, John Marshall, Valeriu Ohan, Martin O Pollard, Andrew Whitwham, Thomas Keane, Shane A McCarthy, Robert M Davies, Heng Li
3436
> GigaScience, Volume 10, Issue 2, February 2021, giab008, <https://doi.org/10.1093/gigascience/giab008>
3537
- [Snap](http://snap.cs.berkeley.edu)
38+
3639
> - Faster and More Accurate Sequence Alignment with SNAP. Matei Zaharia, William J. Bolosky, Kristal Curtis, Armando Fox, David Patterson, Scott Shenker, Ion Stoica, Richard M. Karp, and Taylor Sittler. arXiv:1111.5572v1, November 2011.
3740
> - Fuzzy set intersection based paired-end short-read alignment. William J. Bolosky, Arun Subramaniyan, Matei Zaharia, Ravi Pandya, Taylor Sittler, and David Patterson. BioRxiv, November 2021.
3841
42+
> Andrews, S. (2010). FastQC: A Quality Control Tool for High Throughput Sequence Data [Online].
43+
44+
- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)
45+
46+
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
47+
3948
## Software packaging/containerisation tools
4049

4150
- [Anaconda](https://anaconda.com)
@@ -52,5 +61,8 @@
5261
5362
- [Docker](https://dl.acm.org/doi/10.5555/2600239.2600241)
5463

64+
> Merkel, D. (2014). Docker: lightweight linux containers for consistent development and deployment. Linux Journal, 2014(239), 2. doi: 10.5555/2600239.2600241.
65+
5566
- [Singularity](https://pubmed.ncbi.nlm.nih.gov/28494014/)
67+
5668
> Kurtzer GM, Sochat V, Bauer MW. Singularity: Scientific containers for mobility of compute. PLoS One. 2017 May 11;12(5):e0177459. doi: 10.1371/journal.pone.0177459. eCollection 2017. PubMed PMID: 28494014; PubMed Central PMCID: PMC5426675.

0 commit comments

Comments
 (0)