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

Release 2.1.0 #555

Merged
merged 108 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
7b28989
bumpversion2.1.0dev
ramprasadn Mar 18, 2024
31ad253
Merge pull request #533 from genomic-medicine-sweden/bump-version
ramprasadn Mar 18, 2024
45eb7d5
update changelog
ramprasadn Mar 18, 2024
f93c357
Merge pull request #534 from genomic-medicine-sweden/update_changelog
ramprasadn Mar 18, 2024
701cae8
patch
ramprasadn Apr 11, 2024
7b3c42e
update output
ramprasadn Apr 11, 2024
82ad902
update me vep
ramprasadn Apr 12, 2024
6d0f929
remove variant consequences
ramprasadn Apr 12, 2024
d0b512b
update test config
ramprasadn Apr 16, 2024
6848a01
fixing typo
jemten Apr 19, 2024
a7e9f95
update repeat expansion files
jemten Apr 29, 2024
8e02814
adding explicit temps
jemten Apr 29, 2024
b2ee216
adds trailing comma
jemten Apr 29, 2024
77f486e
remove lane from meta
ramprasadn Apr 29, 2024
871c76e
Merge pull request #541 from genomic-medicine-sweden/config_update
jemten Apr 29, 2024
62e8e97
move hmtnote to the top in mt annotation wf
ramprasadn Apr 29, 2024
c186c5b
remove blank line
ramprasadn Apr 29, 2024
e684ba2
Merge branch 'patch' of github.com:nf-core/raredisease into patch
ramprasadn Apr 29, 2024
9bfeae0
update pedigree file
ramprasadn Apr 29, 2024
e9b15db
fix error
ramprasadn Apr 29, 2024
eaa87b6
fix versions
ramprasadn Apr 29, 2024
2b3ae4f
update output docs
ramprasadn Apr 29, 2024
4fa280d
fix reheader args
ramprasadn Apr 30, 2024
30128fc
ignore error from bwa-mem2 and if output is missing, run bwa
rannick Apr 30, 2024
5accab2
change logical gate
rannick Apr 30, 2024
afeefc1
typo
rannick Apr 30, 2024
7eae508
move vcfanno to the top of anno mt snvs workflow
ramprasadn Apr 30, 2024
2d2efd2
change syntax
rannick Apr 30, 2024
52b7caa
change logical gate
rannick Apr 30, 2024
2c0bdb0
change logical gate
rannick Apr 30, 2024
ecd6286
try a retry with more memory
rannick May 2, 2024
eee7818
try a retry with more memory
rannick May 2, 2024
85fc2ea
try a retry with more memory
rannick May 2, 2024
f6d99dc
change logic
rannick May 2, 2024
17ed5d4
change logic
rannick May 2, 2024
8adc86f
change logic
rannick May 2, 2024
ad00cbc
change if statement
rannick May 3, 2024
7ba937f
change if statement
rannick May 3, 2024
b2c0eb1
change if statement
rannick May 3, 2024
98e202a
change if statement
rannick May 3, 2024
e811efd
change if statement
rannick May 3, 2024
68f9bc8
add tmp channel
rannick May 3, 2024
8192e85
Include "other" variants for CADD to analyse multallelic indels
fa2k May 6, 2024
e6b62b7
update align
ramprasadn May 6, 2024
7231a51
Merge branch 'patch' into bwafallback
ramprasadn May 6, 2024
d15cf7e
Describe change for #545
fa2k May 6, 2024
cad7ce2
update param
ramprasadn May 7, 2024
7efe3b8
arrange param
ramprasadn May 7, 2024
54e957c
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
b55545c
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
4934e0c
Merge branch 'TEMPLATE' of github.com:nf-core/raredisease into templa…
ramprasadn May 14, 2024
2ca958f
update test one sample
ramprasadn May 14, 2024
d605f7e
fix lint error
ramprasadn May 14, 2024
9838708
fix lint
ramprasadn May 14, 2024
6e59239
Merge pull request #548 from nf-core/template-update
ramprasadn May 14, 2024
9465bc8
Merge remote-tracking branch 'upstream/dev' into dev
fa2k May 14, 2024
fe5d362
Merge pull request #545 from fa2k/dev
fa2k May 14, 2024
03b0e9d
changed valid values for sex
sima-r May 16, 2024
4cacdca
Merge branch 'dev' into patch
ramprasadn May 17, 2024
9da1d8d
update changelog
ramprasadn May 17, 2024
ae1d495
Merge pull request #538 from nf-core/patch
ramprasadn May 17, 2024
2d1ce4c
Merge branch 'dev' of github.com:nf-core/raredisease into bwafallback
ramprasadn May 17, 2024
91fc58e
update changelog
ramprasadn May 17, 2024
2f42dd0
refactor mito
ramprasadn May 17, 2024
6ac690f
updatae changelog
ramprasadn May 17, 2024
2d5c918
Update align_bwa_bwamem2.nf
ramprasadn May 17, 2024
ac5ec0f
Merge branch 'dev' into inputschemafixes
ramprasadn May 18, 2024
a27c043
add mem and index
ramprasadn May 19, 2024
fbddb91
add align
ramprasadn May 19, 2024
fdd11e0
update changelog
ramprasadn May 19, 2024
4f2eb0e
Update CHANGELOG.md
sima-r May 20, 2024
40c1e5e
ran prettier
sima-r May 20, 2024
5e7b87e
Merge pull request #551 from nf-core/bwafallback
ramprasadn May 20, 2024
8b380e3
Merge branch 'dev' into inputschemafixes
ramprasadn May 20, 2024
4a9bb55
Merge pull request #550 from nf-core/inputschemafixes
sima-r May 20, 2024
8c93dc5
Merge branch 'dev' of github.com:nf-core/raredisease into mito_wes
ramprasadn May 20, 2024
6521bba
Merge pull request #552 from nf-core/mito_wes
ramprasadn May 20, 2024
7e352bd
Merge branch 'dev' of github.com:nf-core/raredisease into addbwameme
ramprasadn May 20, 2024
1b98b18
review suggestions
ramprasadn May 20, 2024
d94278a
fix error
ramprasadn May 20, 2024
bd01ffd
metromap
ramprasadn May 21, 2024
5ec2692
Merge pull request #553 from nf-core/addbwameme
ramprasadn May 21, 2024
5ef8a50
fix
ramprasadn May 23, 2024
91f5cd7
update changelog
ramprasadn May 23, 2024
66f2041
Update CHANGELOG.md
ramprasadn May 23, 2024
b79acec
fix error
ramprasadn May 23, 2024
e7f16d2
Merge branch 'me_required_files' of github.com:nf-core/raredisease in…
ramprasadn May 23, 2024
4d1c398
Merge pull request #556 from nf-core/me_required_files
ramprasadn May 23, 2024
c6dfe6f
resolve warnings
ramprasadn May 24, 2024
33f9425
update qcbam subworkflow
ramprasadn May 24, 2024
4eb7077
update changelog
ramprasadn May 24, 2024
e5fc840
update modules
ramprasadn May 24, 2024
63450a1
Update CHANGELOG.md
ramprasadn May 24, 2024
345d3e2
update modules
ramprasadn May 24, 2024
fce3a49
Merge pull request #557 from nf-core/refactor
ramprasadn May 24, 2024
e8a8c3f
Merge branch 'dev' of github.com:nf-core/raredisease into modules_update
ramprasadn May 24, 2024
6974324
updating meta.sex type check
jemten May 27, 2024
6ec160f
switching equals to matches
jemten May 27, 2024
94f782d
Merge pull request #559 from nf-core/fix_gens_sex
jemten May 28, 2024
2c3f8f0
Merge branch 'dev' into modules_update
jemten May 28, 2024
2f91f84
update changelog and modules [skip ci]
ramprasadn May 28, 2024
c1b9b0d
update gatk
ramprasadn May 28, 2024
b260f9c
Merge pull request #558 from nf-core/modules_update
ramprasadn May 28, 2024
8b0dd21
refactor
ramprasadn May 28, 2024
fec923a
Merge pull request #561 from nf-core/refactor
ramprasadn May 28, 2024
2c00cf0
bump-version
ramprasadn May 29, 2024
32e27a2
Update conf/modules/align_sentieon.config
ramprasadn May 29, 2024
4237c6d
Update CHANGELOG.md
ramprasadn May 29, 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
6 changes: 1 addition & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ indent_style = unset
[/assets/email*]
indent_size = unset

# ignore Readme
[README.md]
indent_style = unset

# ignore python
# ignore python and markdown
[*.{py,md}]
indent_style = unset
10 changes: 5 additions & 5 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
types: [published]
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/raredisease'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
# TODO nf-core: You can customise AWS full pipeline tests as required
# Add full size test data (but still relatively small datasets for few samples)
Expand All @@ -33,7 +33,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
12 changes: 6 additions & 6 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: nf-core AWS test
on:
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS tests
if: github.repository == 'nf-core/raredisease'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
# Launch workflow using Seqera Platform CLI tool action
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -27,7 +27,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- "-profile test_one_sample,docker"
steps:
- name: Check out pipeline code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- master
pull_request_target:
Expand All @@ -28,14 +30,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2

- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.11"
python-version: "3.12"
architecture: "x64"
- uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7
with:
Expand Down Expand Up @@ -68,7 +70,9 @@ jobs:
- name: Inspect download
run: tree ./${{ env.REPOTITLE_LOWERCASE }}

- name: Run the downloaded pipeline
- name: Run the downloaded pipeline (stub)
id: stub_run_pipeline
continue-on-error: true
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
token: ${{ secrets.nf_core_bot_auth_token }}

Expand All @@ -32,9 +32,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

# Install and run pre-commit
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.11
python-version: "3.12"

- name: Install pre-commit
run: pip install pre-commit
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Set up Python 3.11
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- name: Set up Python 3.12
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.11
cache: "pip"
python-version: "3.12"

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -32,14 +31,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.11"
python-version: "3.12"
architecture: "x64"

- name: Install dependencies
Expand All @@ -60,7 +59,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download lint results
uses: dawidd6/action-download-artifact@f6b0bace624032e30a85a8fd9c1a7f8f611f5737 # v3
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3
with:
workflow: linting.yml
workflow_conclusion: completed
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-announcements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: get topics and convert to hashtags
id: get_topics
run: |
curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ' >> $GITHUB_OUTPUT
echo "topics=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ')" >> $GITHUB_OUTPUT

- uses: rzr/fediverse-action@master
with:
Expand All @@ -25,13 +25,13 @@ jobs:

Please see the changelog: ${{ github.event.release.html_url }}

${{ steps.get_topics.outputs.GITHUB_OUTPUT }} #nfcore #openscience #nextflow #bioinformatics
${{ steps.get_topics.outputs.topics }} #nfcore #openscience #nextflow #bioinformatics

send-tweet:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
2 changes: 2 additions & 0 deletions .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ lint:
- docs/images/nf-core-raredisease_logo_dark.png
- docs/images/nf-core-raredisease_logo_light.png
- assets/nf-core-raredisease_logo_light.png
modules_config: False
repository_type: pipeline
nf_core_version: "2.14.1"
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ repos:
rev: "v3.1.0"
hooks:
- id: prettier
additional_dependencies:
- [email protected]

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3"
hooks:
Expand Down
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,59 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.1.0 - Obelix [2024-05-29]

### `Added`

- A new aligner, bwameme [#553](https://github.com/nf-core/raredisease/pull/553)
- A new parameter `run_mt_for_wes` to turn on mitochondrial analysis for targeted analysis [#552](https://github.com/nf-core/raredisease/pull/552)
- A new parameter `bwa_as_fallback` to switch aligner to bwa in case bwamem2 fails [#551](https://github.com/nf-core/raredisease/pull/551)
- A new parameter `skip_me_calling` to skip mobile element calling and the subsequent annotation of them [#556](https://github.com/nf-core/raredisease/pull/556)

### `Changed`

- Changed valid values for sex according to the PED file format [#550](https://github.com/nf-core/raredisease/pull/550)
- Refactored config files [#538](https://github.com/nf-core/raredisease/pull/538)
- Refactored mobile element annotation subworkflow files [#538](https://github.com/nf-core/raredisease/pull/538)
- Refactored to remove "a process is defined more than once" warning [#557](https://github.com/nf-core/raredisease/pull/557)
- Updated modules [#558](https://github.com/nf-core/raredisease/pull/558)

### `Fixed`

- Include multiallelic indel sites in CADD scoring jobs [#545](https://github.com/nf-core/raredisease/pull/545)
- Fixed issues with samtools merge not being run on samples sequenced over multiple lanes [#538](https://github.com/nf-core/raredisease/pull/538)
- Fixed join issues in the mobile element calling subworkflow which occured when mobile_element_references were not provided [#556](https://github.com/nf-core/raredisease/pull/556)

### Parameters

| Old parameter | New parameter |
| ------------- | --------------- |
| | bwameme |
| | bwa_as_fallback |
| | run_mt_for_wes |
| | skip_me_calling |

:::note
Parameter has been updated if both old and new parameter information is present.
Parameter has been added if just the new parameter information is present.
Parameter has been removed if new parameter information isn't present.
:::

### Module updates

| Tool | Old version | New version |
| -------- | ----------- | ----------- |
| bwa | 0.7.17 | 0.7.18 |
| CADD | 1.6.1 | 1.6.post1 |
| Sentieon | 202308.01 | 202308.02 |
| bwameme | | 1.0.6 |

:::note
Version has been updated if both old and new version information is present.
Version has been added if just the new version information is present.
Version has been removed if new version information isn't present.
:::

## 2.0.1 - Asterix (Patch) [2024-03-25]

### `Fixed`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[![run with conda](http://img.shields.io/badge/run%20with-conda-3EB049?labelColor=000000&logo=anaconda)](https://docs.conda.io/en/latest/)
[![run with docker](https://img.shields.io/badge/run%20with-docker-0db7ed?labelColor=000000&logo=docker)](https://www.docker.com/)
[![run with singularity](https://img.shields.io/badge/run%20with-singularity-1d355c.svg?labelColor=000000)](https://sylabs.io/docs/)
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/nf-core/raredisease)
[![Launch on Seqera Platform](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Seqera%20Platform-%234256e7)](https://cloud.seqera.io/launch?pipeline=https://github.com/nf-core/raredisease)

[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23raredisease-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/raredisease)[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/nf_core)[![Follow on Mastodon](https://img.shields.io/badge/mastodon-nf__core-6364ff?labelColor=FFFFFF&logo=mastodon)](https://mstdn.science/@nf_core)[![Watch on YouTube](http://img.shields.io/badge/youtube-nf--core-FF0000?labelColor=000000&logo=youtube)](https://www.youtube.com/c/nf-core)

Expand Down
4 changes: 2 additions & 2 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ custom_logo_url: https://github.com/nf-core/raredisease/
custom_logo_title: "nf-core/raredisease"

report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.0.1" target="_blank">nf-core/raredisease</a>
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.1.0" target="_blank">nf-core/raredisease</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/raredisease/2.0.1/docs/output" target="_blank">documentation</a>.
<a href="https://nf-co.re/raredisease/2.1.0/docs/output" target="_blank">documentation</a>.
report_section_order:
"nf-core-raredisease-methods-description":
order: -1000
Expand Down
4 changes: 2 additions & 2 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
]
},
"sex": {
"type": "integer",
"type": "string",
"meta": ["sex"],
"enum": [0, 1, 2],
"enum": ["1", "2", "other"],
"errorMessage": "Sex must be provided and cannot contain spaces"
},
"phenotype": {
Expand Down
6 changes: 4 additions & 2 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ process {
errorStrategy = 'retry'
maxRetries = 2
}
withName:CUSTOM_DUMPSOFTWAREVERSIONS {
cache = false
withName: 'NFCORE_RAREDISEASE:RAREDISEASE:.*' {
publishDir = [
enabled: false
maxulysse marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
45 changes: 18 additions & 27 deletions conf/modules/align.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,27 @@
*/

process{
withName: '.*ALIGN:.*' {

withName: '.*ALIGN:FASTP' {
ext.args = { [
params.min_trimmed_length ? "--length_required ${params.min_trimmed_length}" : '',
'--correction',
'--overrepresentation_analysis'
].join(' ').trim() }
publishDir = [
enabled: false
path: { "${params.outdir}/trimming" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

if (!params.skip_fastp) {
withName: '.*ALIGN:FASTP' {
ext.args = { [
params.min_trimmed_length ? "--length_required ${params.min_trimmed_length}" : '',
'--correction',
'--overrepresentation_analysis'
].join(' ').trim() }
publishDir = [
path: { "${params.outdir}/trimming" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}

if (params.save_mapped_as_cram) {
withName: '.*ALIGN:SAMTOOLS_VIEW' {
ext.args = { '--output-fmt cram --write-index' }
ext.prefix = { "${meta.id}_sorted_md" }
publishDir = [
path: { "${params.outdir}/alignment" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
withName: '.*ALIGN:SAMTOOLS_VIEW' {
ext.args = { '--output-fmt cram --write-index' }
ext.prefix = { "${meta.id}_sorted_md" }
publishDir = [
path: { "${params.outdir}/alignment" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}
Loading
Loading