forked from adamjtaylor/htan-artist
-
Notifications
You must be signed in to change notification settings - Fork 1
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 Nextflow schema #14
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1d97040
add nextflow_schema json
5c0ab94
add specs about input filepath
cc4bc6d
correct colormap type
f7d57ab
Update schema
adamjtaylor cad3920
Update schema
adamjtaylor 494ff04
Update schema
adamjtaylor ab171da
Refine remove_bg description
adamjtaylor 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 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,70 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "https://raw.githubusercontent.com/Sage-Bionetworks-Workflows/nf-artist/dsl2/nextflow_schema.json", | ||
"title": "Sage-Bionetworks-Workflows/nf-artist parameters", | ||
"description": "Nextflow pipeline for generating Minerva stories and Miniature thumbnails from multiplexed tissue imaging datasets", | ||
"type": "object", | ||
"definitions": { | ||
"input_output_options": { | ||
"title": "Input/output options", | ||
"type": "object", | ||
"fa_icon": "fas fa-terminal", | ||
"description": "Define where the pipeline should find input data and save output data.", | ||
"required": ["input", "outdir"], | ||
"properties": { | ||
"input": { | ||
"type": "string", | ||
"format": "file-path", | ||
"mimetype": "text/csv", | ||
"description": "Path to a CSV samplesheet" | ||
}, | ||
"outdir": { | ||
"type": "string", | ||
"description": "Directory in which outputs are placed", | ||
"default": "outputs" | ||
} | ||
} | ||
}, | ||
"miniatue_options": { | ||
"title": "Miniature options", | ||
"type": "object", | ||
"fa_icon": "fas fa-palette", | ||
"description": "Define HTAN Artist pipeline parameters.", | ||
"properties": { | ||
"remove_bg": { | ||
"type": "boolean", | ||
"description": "Remove non-tissue background", | ||
"default": true | ||
}, | ||
"level": { | ||
"type": "integer", | ||
"description": "The pyramid level used in thumbnauls, Default: -1 (smallest)", | ||
"default": -1 | ||
}, | ||
"dimred": { | ||
"type": "string", | ||
"description": "The dimensionality reduction method used", | ||
"default": "umap", | ||
"enum": ["umap", "tsne", "pca"] | ||
}, | ||
"colormap": { | ||
"type": "string", | ||
"description": "The colormap used. Ensure colormap is compatiable with `n_components` selected ", | ||
"enum": ["UCIE", "LAB", "RGB", "BREMM", "SCHUMANN", "STEIGER", "TEULING2", "ZIEGLER","CUBEDIAGONAL"], | ||
"default": "UCIE" | ||
}, | ||
"n_components": { | ||
"type": "integer", | ||
"description": "", | ||
"default": 3, | ||
"enum": [2,3] | ||
} | ||
} | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/parameters" | ||
} | ||
] | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we ever want to have the option to not remove background? (false)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, when set to false the background is kept. Default is true as we expect this to be the case the majority of the time