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.
Plugin information
Name: nf-iridanext
Repository: https://github.com/phac-nml/nf-iridanext
Plugin purpose
This plugin adds some pre-processing and post-processing tasks that will be useful for us to integrate Nextflow pipelines within our larger system (called IRIDA Next) for managing microbial genomics data and analysis results. In particular, the main post-processing task is to create a JSON file containing output files from a Nextflow pipeline plus contextual metadata for loading into our system.
Example
As an example, this plugin would allow the following Nextflow configuration to be used to create the below JSON output (more examples on https://github.com/phac-nml/nf-iridanext):
nextflow.config
iridanext.output.json.gz
That is, we can create a JSON file that lists output files associated with the pipeline as a whole (the
global
section), files associated with individual samples (based on sample identifiers in thesamplesheet.csv
), as well as contextual metadata for each sample. This custom JSON file is what is used to load genomics data analysis results + sample metadata into our larger system.Applicability
This plugin is primarily intended to be used by pipeline developers integrating pipelines into our system. However, the overall goal is to isolate as much of the necessary adaptions as possible for integrating pipelines into our system in order to increase pipeline compatibility (ideally I would like to have all changes we need to adapt pipelines isolated into Nextflow configuration files, but we're not quite there yet).