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

Adding Support for Metadata #8

Merged
merged 24 commits into from
Apr 29, 2024
Merged

Adding Support for Metadata #8

merged 24 commits into from
Apr 29, 2024

Conversation

emarinier
Copy link
Member

@emarinier emarinier commented Apr 16, 2024

Adds support for metadata:

  • Adds 8 fixed columns that can be renamed with metadata_1_header through metadata_8_header headers.
  • Adds a module that opens up the TSV-formatted cluster file and appends metadata provided through the samplesheet.
  • Passes the appended TSV-formatted cluster file to ArborView.

Tested on Azure and it works, but requires manually specifying "av_html":"https://github.com/phac-nml/gasclustering/raw/dev/assets/ArborView.html" as discussed.

@emarinier emarinier self-assigned this Apr 16, 2024
@emarinier emarinier marked this pull request as draft April 16, 2024 15:05
Copy link

github-actions bot commented Apr 16, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 9c16037

+| ✅ 139 tests passed       |+
#| ❔  27 tests were ignored |#
!| ❗  15 tests had warnings |!

❗ Test warnings:

  • schema_lint - Schema $id should be https://raw.githubusercontent.com/phac-nml/gasclustering/master/nextflow_schema.json
    Found https://raw.githubusercontent.com/phac-nml/gasclustering/main/nextflow_schema.json
  • schema_description - No description provided in schema for parameter: pd_outfmt
  • schema_description - No description provided in schema for parameter: pd_distm
  • schema_description - No description provided in schema for parameter: pd_missing_threshold
  • schema_description - No description provided in schema for parameter: pd_sample_quality_threshold
  • schema_description - No description provided in schema for parameter: pd_match_threshold
  • schema_description - No description provided in schema for parameter: pd_file_type
  • schema_description - No description provided in schema for parameter: pd_mapping_file
  • schema_description - No description provided in schema for parameter: pd_force
  • schema_description - No description provided in schema for parameter: pd_skip
  • schema_description - No description provided in schema for parameter: pd_columns
  • schema_description - No description provided in schema for parameter: pd_count_missing
  • schema_description - No description provided in schema for parameter: gm_thresholds
  • schema_description - No description provided in schema for parameter: gm_delimiter
  • schema_description - No description provided in schema for parameter: av_html

❔ Tests ignored:

  • files_exist - File is ignored: assets/nf-core-gasclustering_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-gasclustering_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-gasclustering_logo_dark.png
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: lib/Utils.groovy
  • files_exist - File is ignored: lib/WorkflowMain.groovy
  • files_exist - File is ignored: lib/NfcoreTemplate.groovy
  • files_exist - File is ignored: lib/WorkflowGasclustering.groovy
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • 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 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: 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-gasclustering_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-gasclustering_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-gasclustering_logo_dark.png
  • files_unchanged - File ignored due to lint config: docs/README.md
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore or pyproject.toml
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/gasclustering/gasclustering/.github/workflows/awstest.yml
  • actions_awsfulltest - actions_awsfulltest
  • pipeline_name_conventions - pipeline_name_conventions

✅ Tests passed:

Run details

  • nf-core/tools version 2.13.1
  • Run at 2024-04-25 20:29:31

@emarinier emarinier marked this pull request as ready for review April 18, 2024 15:57
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

This looks great. Thanks so much @emarinier . I just have a few comments 😄

CHANGELOG.md Show resolved Hide resolved
assets/schema_input.json Show resolved Hide resolved
modules/local/appendmetadata/main.nf Outdated Show resolved Hide resolved
modules/local/appendmetadata/main.nf Outdated Show resolved Hide resolved
modules/local/appendmetadata/main.nf Show resolved Hide resolved
tests/pipelines/main.nf.test Outdated Show resolved Hide resolved
workflows/gasclustering.nf Outdated Show resolved Hide resolved
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Thanks so much for all of your changes. I have a few additional comments.

README.md Outdated Show resolved Hide resolved
modules/local/appendmetadata/main.nf Show resolved Hide resolved
tests/data/samplesheets/samplesheet1.csv Show resolved Hide resolved
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

I tested in IRIDA Next and this all works

@apetkau apetkau requested a review from mattheww95 April 29, 2024 14:22
Copy link
Contributor

@mattheww95 mattheww95 left a comment

Choose a reason for hiding this comment

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

Another wonderful PR! Thank you Eric!!

@emarinier emarinier merged commit 453246c into dev Apr 29, 2024
4 checks passed
@emarinier emarinier deleted the metadata branch June 26, 2024 15:29
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.

3 participants