Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Uses the new store_object_as_json method from uclahs-cds/pipeline-Nextflow-config#43 to store the pipeline's parameters in ${params.log_output_dir}/nextflow-log/params.json.
The parameters from my test run were successfully saved to:
/hot/software/pipeline/pipeline-call-sSNV/Nextflow/development/unreleased/sfitz-store-parameters/a_mini-all-tools-std-input/call-sSNV-8.1.0/S2-v1.1.5/log-call-sSNV-8.1.0-20241010T194927Z/nextflow-log/params.json
Closes #307
Testing Results
NFTest
/hot/software/pipeline/pipeline-call-sSNV/Nextflow/development/unreleased/sfitz-store-parameters/log-nftest-20241010T194919Z.log
cases: a_mini-all-tools-std-inpu
Checklist
I have read the code review guidelines and the code review best practice on GitHub check-list.
I have reviewed the Nextflow pipeline standards.
The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].
I have set up or verified the branch protection rule following the github standards before opening this pull request.
I have added my name to the contributors listings in the
manifest
block in thenextflow.config
as part of this pull request; I am listed already, or do not wish to be listed. (This acknowledgement is optional.)I have added the changes included in this pull request to the
CHANGELOG.md
under the next release version or unreleased, and updated the date.I have updated the version number in the
metadata.yaml
andmanifest
block of thenextflow.config
file following semver, or the version number has already been updated. (Leave it unchecked if you are unsure about new version number and discuss it with the infrastructure team in this PR.)I have tested the pipeline on at least one A-mini sample.