-
Notifications
You must be signed in to change notification settings - Fork 89
Workflow output definition #275
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9b3a10d
Add workflow output schema
bentsherman b03ed3b
Convert output schema to YAML
bentsherman b8dd9e2
Add output definition
bentsherman 98b6574
Simplify output DSL, samplesheet generation
bentsherman 5647bd1
Flatten output definition
bentsherman 4405674
Fix bug
bentsherman 47fa3f9
Add default publish mode
bentsherman ec29439
Add `toSamplesheet()` method to generate samplesheet
bentsherman 48c6675
Move output file schemas to separate files
bentsherman 9beb5ea
Add `schema` option to validate published outputs against a schema
bentsherman 5b3587b
Replace process selectors with channel selectors
bentsherman 9e8ef57
Use channel topics to reduce channel propagation
bentsherman 35aaddd
Temporary workaround for topic operator bug
bentsherman 77bdd19
Apply updates from upstream
bentsherman 3ca8a28
Update using latest syntax
bentsherman bb7febb
Rename output -> publish
bentsherman c01bd0c
minor updates
bentsherman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-07/schema", | ||
| "$id": "https://raw.githubusercontent.com/nf-core/fetchngs/master/output_schema.json", | ||
| "title": "nf-core/fetchngs pipeline outputs", | ||
| "description": "", | ||
| "type": "object", | ||
| "properties": { | ||
| "fastq": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "sample": { | ||
| "type": "string" | ||
| }, | ||
| "fastq_1": { | ||
| "type": "string", | ||
| "format": "file-path", | ||
| "pattern": "^\\S+\\.f(ast)?q\\.gz$" | ||
| }, | ||
| "fastq_2": { | ||
| "type": "string", | ||
| "format": "file-path", | ||
| "pattern": "^\\S+\\.f(ast)?q\\.gz$" | ||
| }, | ||
| "run_accession": { | ||
| "type": "string" | ||
| }, | ||
| "experiment_accession": { | ||
| "type": "string" | ||
| }, | ||
| "sample_accession": { | ||
| "type": "string" | ||
| }, | ||
| "secondary_sample_accession": { | ||
| "type": "string" | ||
| }, | ||
| "study_accession": { | ||
| "type": "string" | ||
| }, | ||
| "secondary_study_accession": { | ||
| "type": "string" | ||
| }, | ||
| "submission_accession": { | ||
| "type": "string" | ||
| }, | ||
| "run_alias": { | ||
| "type": "string" | ||
| }, | ||
| "experiment_alias": { | ||
| "type": "string" | ||
| }, | ||
| "sample_alias": { | ||
| "type": "string" | ||
| }, | ||
| "study_alias": { | ||
| "type": "string" | ||
| }, | ||
| "library_layout": { | ||
| "type": "string" | ||
| }, | ||
| "library_selection": { | ||
| "type": "string" | ||
| }, | ||
| "library_source": { | ||
| "type": "string" | ||
| }, | ||
| "library_strategy": { | ||
| "type": "string" | ||
| }, | ||
| "library_name": { | ||
| "type": "string" | ||
| }, | ||
| "instrument_model": { | ||
| "type": "string" | ||
| }, | ||
| "instrument_platform": { | ||
| "type": "string" | ||
| }, | ||
| "base_count": { | ||
| "type": "integer" | ||
| }, | ||
| "read_count": { | ||
| "type": "integer" | ||
| }, | ||
| "tax_id": { | ||
| "type": "string" | ||
| }, | ||
| "scientific_name": { | ||
| "type": "string" | ||
| }, | ||
| "sample_title": { | ||
| "type": "string" | ||
| }, | ||
| "experiment_title": { | ||
| "type": "string" | ||
| }, | ||
| "study_title": { | ||
| "type": "string" | ||
| }, | ||
| "sample_description": { | ||
| "type": "string" | ||
| }, | ||
| "fastq_md5": { | ||
| "type": "string", | ||
| "pattern": "^[0-9a-f]{32}$" | ||
| }, | ||
| "fastq_bytes": { | ||
| "type": "integer" | ||
| }, | ||
| "fastq_ftp": { | ||
| "type": "string" | ||
| }, | ||
| "fastq_galaxy": { | ||
| "type": "string" | ||
| }, | ||
| "fastq_aspera": { | ||
| "type": "string" | ||
| } | ||
| }, | ||
| "required": ["sample", "fastq_1"] | ||
| } | ||
| } | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.