Skip to content

Commit

Permalink
Merge pull request #47 from uclahs-cds/nwiltsie_log_params
Browse files Browse the repository at this point in the history
Use store_object_as_json method to store parameters
  • Loading branch information
nwiltsie authored Dec 22, 2023
2 parents 9489dfe + bd3485b commit a1be4a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Add new flow diagram to README
- Add additional details to Pipeline Steps section of README
- Option to provide base recalibration tables for any subset of samples to skip `BaseRecalibrator`
- Output pipeline parameters to log directory using `store_object_as_json`

### [Changed]
- Use modularized `set_env` function
Expand Down
6 changes: 6 additions & 0 deletions config/methods.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/bam/bam_pa
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/methods/common_methods.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/schema/schema.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/retry/retry.config"
includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/store_object_as_json/store_object_as_json.config"

methods {

Expand Down Expand Up @@ -129,5 +130,10 @@ methods {
methods.setup_docker_cpus()
methods.verify_input_deletion()
methods.set_recal_tables()

json_extractor.store_object_as_json(
params,
new File("${params.log_output_dir}/nextflow-log/params.json")
)
}
}

0 comments on commit a1be4a8

Please sign in to comment.