Skip to content

Support workbook format #177

@edmundmiller

Description

@edmundmiller

xlsx, xlsb or xlsm
https://support.microsoft.com/en-us/office/file-formats-that-are-supported-in-excel-0943ff2c-6014-4e8d-aaea-b83d51d46247

I'm just imagining this would be useful for people who don't want to add an extra automation step to convert from an Excel-ish format to a CSV—and then in a step outside of Nextflow or have a process prior to their initial NF schema. That way NF schema is like the one entry point into this.

All it'll require is a conversion and maybe an acceptance of a sheet number—then it'll convert that to a CSV on the fly and validate it.

include { samplesheetToList } from 'plugin/nf-schema'

workflow {
    ch_input = Channel.fromList(samplesheetToList("input.xlsx", "assets/schema_input.json", "sheet1"))

    ch_input.view()
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions