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

Consider using nf-schema plugin to validate inputs #758

Open
jashapiro opened this issue May 6, 2024 · 0 comments
Open

Consider using nf-schema plugin to validate inputs #758

jashapiro opened this issue May 6, 2024 · 0 comments

Comments

@jashapiro
Copy link
Member

Is your feature request related to a problem? Please describe.

We currently do some parameter validation and value checking, but we could do more, which might help with usability

Describe the solution you'd like

We should explore using the nf-schema plugin to validate parameters and sample data. See https://nextflow-io.github.io/nf-schema/latest/nextflow_schema/sample_sheet_schema_specification/

Describe alternatives you've considered
More manual validation checks...

Additional context

I think this should be compatible with the nextflow-schema.json file that we have already added, but we would need to add schema files for the sample sheets as well. We should be able to use the included samplesheetToList function to read in our data files and convert them to usable formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant