mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 13:43:09 +00:00
2ad98162f3
* Draft rmarkdown module * stub jupyter notebook module * Create yaml file with params * Update meta.yml for rmarkdown module * Add comment on YAML * Update notebooks module, clean up parametrize.nf * Two separate channels for parameters and input files * Fix Rmd render script * Add tests for rmarkdown * Fix tests for rmarkdown module * Update checksums * Fix tests for jupyter * Test without Grab() * Update software versions * update rmarkdown dependencies * Draft for multiple versions * Fix indent of script * Fix indent in rmarkdown script * Emit version.syml * Update modules/rmarkdown/main.nf Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Update modules/rmarkdown/meta.yml Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Update modules/rmarkdown/meta.yml Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Rename rmarkdown to rmarkdownnotebook * Add rmarkdown mulled biocontainer * Write sessionInfo to separate log file * Update rmarkdownnotebook * Sessioninfo does not have a stable md5sum * Update jupyternotebook * Update meta * Add jupyternotebook biocontainers * Handle Groovy Gstrings in parameterize * Update to versions.yml * Update functions.nf * Fix versions yaml * Fix EC lint * Update modules/rmarkdownnotebook/main.nf Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Update modules/jupyternotebook/main.nf Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Use official test data * Harshilify * Make parameters channel clearer * Apply suggestions from code review Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Apply suggestions from code review * Update main.nf Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
73 lines
2.1 KiB
YAML
73 lines
2.1 KiB
YAML
name: rmarkdownnotebook
|
|
description: Render an rmarkdown notebook. Supports parametrization.
|
|
keywords:
|
|
- R
|
|
- notebook
|
|
- reports
|
|
tools:
|
|
- rmarkdown:
|
|
description: Dynamic Documents for R
|
|
homepage: https://rmarkdown.rstudio.com/
|
|
documentation: https://rmarkdown.rstudio.com/lesson-1.html
|
|
tool_dev_url: https://github.com/rstudio/rmarkdown
|
|
doi: ""
|
|
licence: GPL-3
|
|
|
|
params:
|
|
- parametrize:
|
|
type: boolean
|
|
description: If true, parametrize the notebook
|
|
- implicit_params:
|
|
type: boolean
|
|
description: |
|
|
If true (default), include the implicit params
|
|
* `input_dir`, which points to the directory containing the files added via `input_files`,
|
|
* `artifact_dir`, which points to the directory where the notebook should place output files, and
|
|
* `cpus`, which contains the value of ${task.cpus}
|
|
- meta_params:
|
|
type: boolean
|
|
description: |
|
|
If true, include a parameter `meta` which contains the information specified
|
|
via the `meta` input channel.
|
|
|
|
input:
|
|
- meta:
|
|
type: map
|
|
description: |
|
|
Groovy Map containing sample information
|
|
e.g. [ id:'test', single_end:false ]
|
|
- notebook:
|
|
type: file
|
|
description: Rmarkdown file
|
|
pattern: "*.{Rmd}"
|
|
- parameters:
|
|
type: map
|
|
description: |
|
|
Groovy map with notebook parameters which will be passed to
|
|
rmarkdown to generate parametrized reports.
|
|
- input_files:
|
|
type: path
|
|
description: One or multiple files serving as input data for the notebook.
|
|
pattern: "*"
|
|
|
|
output:
|
|
- meta:
|
|
type: map
|
|
description: |
|
|
Groovy Map containing sample information
|
|
e.g. [ id:'test', single_end:false ]
|
|
- report:
|
|
type: file
|
|
description: HTML report generated from Rmarkdown
|
|
pattern: "*.html"
|
|
- session_info:
|
|
type: file
|
|
description: dump of R SessionInfo
|
|
pattern: "*.log"
|
|
- versions:
|
|
type: file
|
|
description: File containing software versions
|
|
pattern: "versions.yml"
|
|
|
|
authors:
|
|
- "@grst"
|