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

Add a listToSamplesheet function #87

Open
nvnieuwk opened this issue Jan 16, 2025 · 2 comments
Open

Add a listToSamplesheet function #87

nvnieuwk opened this issue Jan 16, 2025 · 2 comments
Assignees
Labels
feature request Propose an idea for a new feature

Comments

@nvnieuwk
Copy link
Collaborator

This function will basically do the reverse of samplesheetToList. Taking in a list, output file name and a schema file.

It will validate the list and convert it to the samplesheet file.

@nvnieuwk nvnieuwk added the feature request Propose an idea for a new feature label Jan 16, 2025
@nvnieuwk nvnieuwk self-assigned this Jan 16, 2025
@nvnieuwk
Copy link
Collaborator Author

Some roadblocks were encountered while developing this function (mainly about files in work directories). We don't want to have the paths to the work directory in a samplesheet, but there is no decent method to fetch the path to the published file (AFAIK). Putting this issue on hold for now

It might also be a better idea to simply start using the index file creation in the new workflow output definitions in Nextflow itself. These don't have any validation though.

@nvnieuwk
Copy link
Collaborator Author

All work on this function can be found in this branch: https://github.com/nextflow-io/nf-schema/tree/listToSamplesheet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Propose an idea for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant