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

Rasusa #125

Merged
merged 16 commits into from
Oct 3, 2024
Merged

Rasusa #125

merged 16 commits into from
Oct 3, 2024

Conversation

mattheww95
Copy link
Collaborator

Adding RASUSA for downsampling of nanopore data.

Copy link

github-actions bot commented Oct 1, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 667b67d

+| ✅ 225 tests passed       |+
#| ❔  31 tests were ignored |#
!| ❗   3 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 0.4.2
  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • schema_lint - Schema $id should be https://raw.githubusercontent.com/phac-nml/mikrokondo/master/nextflow_schema.json
    Found https://raw.githubusercontent.com/phac-nml/mikrokondo/main/nextflow_schema.json

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: assets/nf-core-mikrokondo_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-mikrokondo_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-mikrokondo_logo_dark.png
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: docs/output.md
  • files_exist - File is ignored: docs/README.md
  • files_exist - File is ignored: docs/usage.md
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File does not exist: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/feature_request.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/email_template.html
  • files_unchanged - File ignored due to lint config: assets/email_template.txt
  • files_unchanged - File ignored due to lint config: assets/sendmail_template.txt
  • files_unchanged - File does not exist: assets/nf-core-mikrokondo_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-mikrokondo_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-mikrokondo_logo_dark.png
  • files_unchanged - File does not exist: docs/README.md
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/mikrokondo/mikrokondo/.github/workflows/awstest.yml
  • multiqc_config - multiqc_config

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-10-02 20:26:42

@mattheww95 mattheww95 marked this pull request as ready for review October 2, 2024 16:13
@mattheww95 mattheww95 marked this pull request as draft October 2, 2024 16:14
@mattheww95 mattheww95 marked this pull request as ready for review October 2, 2024 18:03
@mattheww95 mattheww95 requested a review from emarinier October 2, 2024 18:30
CHANGELOG.md Outdated
@@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### `Changed`

- Added RASUSA for downsampling of nanopore or pacbio data.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nanopore, PacBio capitalization

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in: 667b67d

@@ -52,7 +52,16 @@ Seqtk is used for both the sub-sampling of reads and conversion of fasta files t
- seed: A seed value for sub-sampling
- reads_ext: Extension of reads after sub-sampling, do not touch alter this unless doing pipeline development.
- assembly_fastq: Extension of the fastas after being converted to fastq files. Do no touch this unless doing pipeline development.
- report_tag: Name of seqtk data in the final summary report. Do no touch this unless doing pipeline development.
- report_tag: Name of seqtk data in the fi nal summary report. Do no touch this unless doing pipeline development.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space in final

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in: 667b67d

Comment on lines 58 to 64
For long read data Rasusa is used for down sampling as it take read length into consideration when down sampling.

- rasusa
- singularity: singularity container for rasusa
- docker: docker container for rasusa
- seed: A seed value for sub-sampling
- reads_ext: The extension of the generated fastq files. Do no touch this unless doing pipeline development.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

downsamping is probably one word
Singularity, Docker capitalization
Also consider: "do not change this" instead of "do not touch this"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in: 667b67d

Comment on lines 49 to 50
assert workflow.success
snapshot(workflow.out).match()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any other tests that could be done here? Number of reads, first read, metrics, files exist, etc.?

Same comment for the tests below.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in: 667b67d

@mattheww95 mattheww95 merged commit 7a3231a into dev Oct 3, 2024
5 checks passed
@mattheww95 mattheww95 deleted the rasusa branch October 3, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants