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

Dev -> Master 2.4.0 #321

Merged
merged 73 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
0bb0760
Bump to v2.4.0dev
ewels Dec 17, 2022
e22401c
Merge pull request #292 from ewels/bump-v2.4.0dev
ewels Dec 17, 2022
02ae197
Template update for nf-core/tools version 2.7.2
nf-core-bot Dec 19, 2022
f3d8cd7
remove unused output folder
njspix Feb 14, 2023
375ae96
remove additional unused directory
njspix Feb 14, 2023
929b308
Merge pull request #298 from nf-core/issue_297
ewels Feb 16, 2023
9e53d94
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
bd49f91
Merge branch 'dev' into nf-core-template-merge-2.8
edmundmiller May 16, 2023
069b0f0
style: versions => ch_versions
edmundmiller May 16, 2023
842083e
chore: Add version update to CHANGELOG
edmundmiller May 16, 2023
500c0ff
chore: Run nf-core modules update
edmundmiller May 16, 2023
0629fd0
fixup! Merge branch 'dev' into nf-core-template-merge-2.8
edmundmiller May 16, 2023
f711463
Merge pull request #306 from nf-core/nf-core-template-merge-2.8
edmundmiller May 16, 2023
96385cd
bump-nf-tests-snapshots-2.8.0
sateeshperi May 16, 2023
ff457ea
update-ci-test-min-nxf-ver
sateeshperi May 16, 2023
e8fa8a9
update-ci-nf-test-path
sateeshperi May 16, 2023
4007189
update-ci-use-GITHUB_OUTPUT-nxf-ver
sateeshperi May 16, 2023
23eb11e
fix-nf-core-yml-lint-actions-ci-false
sateeshperi May 16, 2023
bf8255d
ci-fix-nxf-ver-output
sateeshperi May 16, 2023
bd8e4d2
revert-to-testing-multiple-nxf-vers
sateeshperi May 24, 2023
7cd0ae5
fix-trailing-whitespace
sateeshperi May 24, 2023
45349b2
update-snapshots
sateeshperi May 24, 2023
8739fb8
Update tests/pipeline/bismark/main.nf.test
sateeshperi May 24, 2023
f0e7697
CI-add-master-pull-request-tests
sateeshperi May 25, 2023
8e21898
fix-trailing-whitespace
sateeshperi May 25, 2023
5b7ffa3
CI-add-comment-pr-test-tap-results
sateeshperi May 25, 2023
3e45337
Merge pull request #310 from nf-core/fix/bump-nf-tests-2.8.0
sateeshperi May 25, 2023
6665d53
CI-add-pr-comment-if-logic
sateeshperi May 26, 2023
669ed21
Merge pull request #312 from nf-core/fix/CI-fixes
sateeshperi May 26, 2023
cb9323d
303-add-bamqc-regions-file-param
sateeshperi May 30, 2023
299e5c5
removed unused directory
njspix Jun 1, 2023
ba82fd0
Merge pull request #317 from nf-core/297-stranded_cpg_report-folder-i…
sateeshperi Jun 1, 2023
8ed927b
Merge pull request #316 from nf-core/fix/303-add-bamqc-regions-file-p…
edmundmiller Jun 1, 2023
70b167c
add-params-to-test-data-base-config
sateeshperi May 27, 2023
83d249b
update-index-files-to-value-channels
sateeshperi May 27, 2023
7e334f1
add-default-docker-registry-quay
sateeshperi May 27, 2023
380baf5
CI-fail-fast-false-and-cache-testdata-github-digest
sateeshperi May 27, 2023
ade0548
fix-ch-versions-variable
sateeshperi May 27, 2023
4579770
add-UTILS-removeNextflowVersion-lib-update-snapshots
sateeshperi May 28, 2023
4307580
add-ci-fast-option-for-dev
sateeshperi May 28, 2023
49a1e61
update-changelog
sateeshperi May 28, 2023
d4c407d
init-tests-tags-yml
sateeshperi May 28, 2023
8517f52
fix-no-new-line
sateeshperi May 28, 2023
ed76454
CI-add-nf-test-ver-to-matrix[ci ckip]
sateeshperi May 28, 2023
cd0166f
add-missing-run-nf-test-master-branch
sateeshperi May 28, 2023
c473062
CI-update-pr-commenter-to-upsert
sateeshperi May 29, 2023
509121d
CI-update-pr-commenter-msg-reactions
sateeshperi May 31, 2023
44479c9
CI-update-pr-commenter-concat-test-results
sateeshperi May 31, 2023
78f4a73
CI-save-commenter-battle-for-later
sateeshperi May 31, 2023
a304497
rm-docker-hardcode
sateeshperi May 31, 2023
b9e47d3
CI-add-matrix-profile-nf-test-run
sateeshperi May 31, 2023
a290e0c
fix-docker-podman-registry-tower-scoping
sateeshperi May 31, 2023
810bcdc
fix-typo
sateeshperi May 31, 2023
2697d30
311-fix-ignore_3prime_r2
sateeshperi Jun 1, 2023
8f47a53
update-changelog
sateeshperi Jun 1, 2023
f72f23e
update-changelog
sateeshperi Jun 1, 2023
17f0548
Merge pull request #315 from nf-core/fix/maintenance-fixes
sateeshperi Jun 1, 2023
b8c7b32
CI-disable-pr-commenter-ref-dev
sateeshperi Jun 1, 2023
c04a250
Merge pull request #318 from nf-core/fix/2.4-release-prep
sateeshperi Jun 2, 2023
5e4f540
bump version 2.4.0
sateeshperi Jun 2, 2023
e9d932b
rm-pr-commenter
sateeshperi Jun 2, 2023
bc6c297
Merge pull request #320 from sateeshperi/dev
sateeshperi Jun 2, 2023
1fb3dee
rename ignore_r1 and ignore_3prime_r1 params
sateeshperi Jun 5, 2023
0894a73
code review fixes
sateeshperi Jun 5, 2023
bc00280
CI-skip-condition-for-dev
sateeshperi Jun 7, 2023
75d6d87
Make R1 ignore parameters actually do something
SPPearce Jun 9, 2023
a4e831a
CI-update-skip-dev-condition and update changelog
sateeshperi Jun 9, 2023
7d278b8
Merge pull request #322 from sateeshperi/dev
sateeshperi Jun 9, 2023
06c9512
CI-update-skip-dev-condition, update README and changelog
sateeshperi Jun 10, 2023
8eaa717
Merge branch 'dev' into dev
sateeshperi Jun 10, 2023
83ab649
Merge pull request #324 from sateeshperi/dev
sateeshperi Jun 11, 2023
fd81abe
fix ignore params help text
sateeshperi Jun 12, 2023
ce3ea03
Merge pull request #325 from sateeshperi/dev
sateeshperi Jun 12, 2023
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
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js,cff}]
[*.{md,yml,yaml,html,css,scss,js}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ body:
* Nextflow version _(eg. 22.10.1)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/methylseq _(eg. 1.1, 1.5, 1.8.2)_
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/meth

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/methylseq/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/methylseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/methylseq/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/methylseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
aligner: ["bismark", "bismark_hisat", "bwameth"]
steps:
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check PRs
if: github.repository == 'nf-core/methylseq'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/methylseq ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/methylseq ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]

# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
Expand Down
88 changes: 47 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,78 @@
name: nf-core CI
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
name: nf-core CI
on:
push:
branches:
- dev
- "dev"
pull_request:
branches:
- "dev"
- "master"
release:
types: [published]
types:
- "published"

env:
NXF_ANSI_LOG: false
NFTEST_VER: "0.7.3"

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true

jobs:
test:
name: Run ${{ matrix.aligner }}-${{ matrix.profile }}-${{ matrix.NXF_VER }}
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/methylseq') }}"
name: Run pipeline with test data
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
NXF_VER:
- "22.10.1"
- "latest-everything"
aligner:
- bismark
- bismark_hisat
- bwameth
profile: ["docker"] # TODO , "singularity", "conda"]
- "bismark"
- "bismark_hisat"
- "bwameth"
profile:
- "docker"
steps:
# Skip if it's a pull_request to dev and NXF_VER is '22.10.1'
- name: Skip condition
id: condition
run: |
if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.base_ref }}" == "dev" && "${{ matrix.NXF_VER }}" != "latest-everything" ]]; then
echo "skip=true" >> $GITHUB_OUTPUT
fi

- name: Check out pipeline code
if: steps.condition.outputs.skip != 'true'
uses: actions/checkout@v3

- name: Hash Github Workspace
if: steps.condition.outputs.skip != 'true'
id: hash_workspace
run: |
echo "digest=$(echo methylseq2_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT

- name: Cache test data
if: steps.condition.outputs.skip != 'true'
id: cache-testdata
uses: actions/cache@v3
with:
path: ./test-datasets/
key: methylseq-test-data
path: test-datasets/
key: ${{ steps.hash_workspace.outputs.digest }}

- name: Check out test data
if: steps.cache-testdata.outputs.cache-hit != 'true'
if: steps.cache-testdata.outputs.cache-hit != 'true' && steps.condition.outputs.skip != 'true'
uses: actions/checkout@v3
with:
repository: nf-core/test-datasets
ref: methylseq
path: ./test-datasets/
path: test-datasets/

- name: Replace remote paths in samplesheets
if: steps.condition.outputs.skip != 'true'
run: |
for f in ./test-datasets/samplesheet/*csv; do
sed -i 's=https://github.com/nf-core/test-datasets/raw/methylseq/=./test-datasets/=g' $f
Expand All @@ -61,41 +83,25 @@ jobs:
done;

- name: Install Nextflow
if: steps.condition.outputs.skip != 'true'
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Install nf-test
if: steps.condition.outputs.skip != 'true'
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
wget -qO- https://code.askimed.com/install/nf-test | bash -s $NFTEST_VER
sudo mv nf-test /usr/local/bin/

- name: Set up Singularity
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-singularity@v5
with:
singularity-version: 3.7.1

- name: Set up miniconda
if: matrix.profile == 'conda'
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
channels: conda-forge,bioconda,defaults
python-version: ${{ matrix.python-version }}

- name: Conda clean
if: matrix.profile == 'conda'
run: conda clean -a

- name: Run nf-test
if: steps.condition.outputs.skip != 'true'
run: |
nf-test test \
--profile=test_ci,test,${{ matrix.profile }} \
tests/${{ matrix.aligner }}/*.nf.test \
--tap=test.tap
nf-test test tests/pipeline/${{ matrix.aligner }}/ --profile "test,${{ matrix.profile }}" --tap=test.tap

- uses: pcolby/tap-summary@v1
with:
path: >-
test.tap
# If the test fails, output the software_versions.yml using the 'batcat' utility
- name: Output log on failure
if: failure()
run: |
sudo apt install bat > /dev/null
batcat --decorations=always --color=always ${{ github.workspace }}/.nf-test/tests/*/output/pipeline_info/software_versions.yml
24 changes: 24 additions & 0 deletions .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Close user-tagged issues and PRs"
on:
schedule:
- cron: "0 0 * * 0" # Once a week

jobs:
clean-up:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
with:
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."
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."
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."
days-before-stale: 30
days-before-close: 20
days-before-pr-close: -1
any-of-labels: "awaiting-changes,awaiting-feedback"
exempt-issue-labels: "WIP"
exempt-pr-labels: "WIP"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "name=result::pass" >> $GITHUB_OUTPUT
echo "result=pass" >> $GITHUB_OUTPUT
else
echo "name=result::fail" >> $GITHUB_OUTPUT
echo "result=fail" >> $GITHUB_OUTPUT
fi

- name: Run 'prettier --write'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.8"
architecture: "x64"

- name: Install dependencies
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 @@ -18,7 +18,7 @@ jobs:

- name: Get PR number
id: pr_number
run: echo "name=pr_number::$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@v2
Expand Down
9 changes: 6 additions & 3 deletions .nf-core.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# FIXME - CI currently runs for dev and dsl2 branches, remove the latter before merging to dev
actions_ci: False
files_exist:
- bin/markdown_to_html.py
repository_type: pipeline
lint:
files_unchanged:
- .gitattributes
files_exist:
- bin/markdown_to_html.py
actions_ci: False
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1"
hooks:
- id: prettier
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# nf-core/methylseq

## [v2.4.0](https://github.com/nf-core/methylseq/releases/tag/2.4.0) - 2023-06-02

### Pipeline Updates

- Updated template to nf-core/tools v2.8
- Add `--bamqc_regions_file` parameter for targeted methylation sequencing data #302
- ✨ Add NF-TEST tests and snapshots for the pipeline test profile #310

### Bug fixes & refactoring

- 🛠️ update index file channels to explicit value channels #310
- 🐛 fix `params.test_data_base` in test and test_full configs #310
- 🤖 GitHub Actions CI - pull_request to `dev` tests with NXF_VER `latest-everything` #310
- 🤖 GitHub Actions CI - pull_request to `master` tests with NXF_VER `22.10.1` & `latest-everything` #310
- 🤖 GitHub Actions CI - `fail-fast` set to false #310
- 🐛 get to the bottom of index tests #278
- ✨ Support for Bismark methylation extraction `ignore` and `ignore_3prime` parameters when `ignore_r1` or `ignore_3prime_r1` are greater than 0. #322
- 🛠️ rename `ignore` -> `ignore_r1` and `ignore_3prime` -> `ignore_3prime_r1` params #322
- 🐛 fix `ignore_3prime_r2` param #299
- 🐛 removed unused directory #297

## [v2.3.0](https://github.com/nf-core/methylseq/releases/tag/2.3.0) - 2022-12-16

### Pipeline Updates
Expand Down
48 changes: 31 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![Launch on Nextflow Tower](https://img.shields.io/badge/Launch%20%F0%9F%9A%80-Nextflow%20Tower-%234256e7)](https://tower.nf/launch?pipeline=https://github.com/nf-core/methylseq)
[![nf-test](https://img.shields.io/badge/tested_with-nf--test-337ab7.svg)](https://github.com/askimed/nf-test)

[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23methylseq-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/methylseq)[![Follow on Twitter](http://img.shields.io/badge/twitter-%40nf__core-1DA1F2?labelColor=000000&logo=twitter)](https://twitter.com/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)
[![Get help on Slack](http://img.shields.io/badge/slack-nf--core%20%23methylseq-4A154B?labelColor=000000&logo=slack)](https://nfcore.slack.com/channels/methylseq)[![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)

## Introduction

Expand Down Expand Up @@ -40,31 +40,45 @@ Choose between workflows by using `--aligner bismark` (default, uses bowtie2 for
| Sample complexity | Preseq | Preseq |
| Project Report | MultiQC | MultiQC |

## Quick Start
## Usage

1. Install [`Nextflow`](https://www.nextflow.io/docs/latest/getstarted.html#installation) (`>=22.10.1`)
> **Note**
> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how
> to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline)
> with `-profile test` before running the workflow on actual data.

2. Install any of [`Docker`](https://docs.docker.com/engine/installation/), [`Singularity`](https://www.sylabs.io/guides/3.0/user-guide/) (you can follow [this tutorial](https://singularity-tutorial.github.io/01-installation/)), [`Podman`](https://podman.io/), [`Shifter`](https://nersc.gitlab.io/development/shifter/how-to-use/) or [`Charliecloud`](https://hpc.github.io/charliecloud/) for full pipeline reproducibility _(you can use [`Conda`](https://conda.io/miniconda.html) both to install Nextflow itself and also to manage software within pipelines. Please only use it within pipelines as a last resort; see [docs](https://nf-co.re/usage/configuration#basic-configuration-profiles))_.
First, prepare a samplesheet with your input data that looks as follows:

3. Download the pipeline and test it on a minimal dataset with a single command:
`samplesheet.csv`:

```bash
nextflow run nf-core/methylseq -profile test,YOURPROFILE --outdir <OUTDIR>
```
```csv
sample,fastq_1,fastq_2
SRR389222_sub1,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub1.fastq.gz
SRR389222_sub2,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub2.fastq.gz
SRR389222_sub2,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub3.fastq.gz
Ecoli_10K_methylated,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/Ecoli_10K_methylated_R1.fastq.gz,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/Ecoli_10K_methylated_R2.fastq.gz
```

- Please check [nf-core/configs](https://github.com/nf-core/configs#documentation) to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use `-profile <institute>` in your command. This will enable either `docker` or `singularity` and set the appropriate execution settings for your local compute environment.
- If you are using `singularity` then the pipeline will auto-detect this and attempt to download the Singularity images directly as opposed to performing a conversion from Docker images. If you are persistently observing issues downloading Singularity images directly due to timeout or network issues then please use the `--singularity_pull_docker_container` parameter to pull and convert the Docker image instead. It is also highly recommended to use the [`NXF_SINGULARITY_CACHEDIR` or `singularity.cacheDir`](https://www.nextflow.io/docs/latest/singularity.html?#singularity-docker-hub) settings to store the images in a central location for future pipeline runs.
- If you are using `conda`, it is highly recommended to use the [`NXF_CONDA_CACHEDIR` or `conda.cacheDir`](https://www.nextflow.io/docs/latest/conda.html) settings to store the environments in a central location for future pipeline runs.
Each row represents a fastq file (single-end) or a pair of fastq files (paired end).

4. Start running your own analysis!
Now, you can run the pipeline using:

```bash
nextflow run nf-core/methylseq --input samplesheet.csv --outdir <OUTDIR> --genome GRCh37 -profile <docker/singularity/podman/shifter/charliecloud/conda/institute>
```
```bash
nextflow run nf-core/methylseq --input samplesheet.csv --outdir <OUTDIR> --genome GRCh37 -profile <docker/singularity/podman/shifter/charliecloud/conda/institute>
```

## Documentation
> **Warning:**
> Please provide pipeline parameters via the CLI or Nextflow `-params-file` option. Custom config files including those
> provided by the `-c` Nextflow option can be used to provide any configuration _**except for parameters**_;
> see [docs](https://nf-co.re/usage/configuration#custom-configuration-files).

The nf-core/methylseq pipeline comes with documentation about the pipeline: [usage](https://nf-co.re/methylseq/usage) and [output](https://nf-co.re/methylseq/output).
For more details, please refer to the [usage documentation](https://nf-co.re/methylseq/usage) and the [parameter documentation](https://nf-co.re/methylseq/parameters).

## Pipeline output

To see the the results of a test run with a full size dataset refer to the [results](https://nf-co.re/methylseq/results) tab on the nf-core website pipeline page.
For more details about the output files and reports, please refer to the
[output documentation](https://nf-co.re/methylseq/output).

## Credits

Expand Down
8 changes: 1 addition & 7 deletions bin/check_samplesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,7 @@ def sniff_format(handle):
peek = read_head(handle)
handle.seek(0)
sniffer = csv.Sniffer()
try:
dialect = sniffer.sniff(peek)
except csv.Error as e:
logger.critical(f"Could not determine sample sheet delimiter: {handle.name}")
logger.critical(e)
sys.exit(1)

dialect = sniffer.sniff(peek)
return dialect


Expand Down
2 changes: 1 addition & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process {
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }

errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' }
errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
maxRetries = 1
maxErrors = '-1'

Expand Down
Loading