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

Expand wrroc with fields needed for federated analysis #37

Closed
8 changes: 7 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ prov {
wrroc {
file = "${params.outdir}/ro-crate-metadata.json"
overwrite = true
agent {
name = "John Doe"
orcid = "https://orcid.org/0000-0000-0000-0000"
}
Comment on lines +26 to +29
Copy link
Member

Choose a reason for hiding this comment

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

I think we can pull this information from the new manifest.contributors config scope now:

https://www.nextflow.io/docs/latest/reference/config.html#config-manifest

Choose a reason for hiding this comment

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

This new output format for the nf-prov plugin creates RO-Crates that follow this profile.
The agent mentioned in the config is not the persons who wrote the workflow, but the person who runs the workflow.

license = "https://spdx.org/licenses/Apache-2.0"
Copy link
Member

Choose a reason for hiding this comment

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

Can we not pull this information automatically from a LICEN[CS]E.(md|txt) file?

Choose a reason for hiding this comment

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

This new output format for the nf-prov plugin creates RO-Crates that follow this profile.

Similar to your previous review concerning the agent, the license is added directly to the RO-Crate. The crate will include input and output files, the pipeline configuration, and the pipeline itself. I will ensure that the ro-crate-metadata.json annotates all Workflow components (i.e., everything created by the original workflow author) with the license specified in a LICENSE.(md|txt) file.

profile = "provenance_run_crate"
}
}
}
}
Loading
Loading