Skip to content

Commit

Permalink
Add to param docstrings (#165)
Browse files Browse the repository at this point in the history
* add to param docstrings

* add missing true
  • Loading branch information
rxu17 authored Jan 8, 2025
1 parent ef5af97 commit 2ce5889
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"production": {
"type": "boolean",
"description": "Whether to run in production mode or not. Production mode means uploading to Synapse.",
"description": "Uploads to production project or not (staging project).",
"default": false,
"enum": [
true,
Expand All @@ -57,7 +57,7 @@
},
"use_grs": {
"type": "boolean",
"description": "Whether to use grs as primary mapping (dd as secondary) or not (using dd only). ",
"description": "Whether to use grs as primary mapping (dd as secondary) or not (using dd only).",
"default": false,
"enum": [
true,
Expand Down
8 changes: 8 additions & 0 deletions scripts/uploads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ Options:
--production
Whether to run in production mode or not (staging mode).
--use_grs
Whether to use grs as primary mapping (dd as secondary) or not (using dd only).
```

Example run (staging run):
Expand All @@ -105,6 +108,11 @@ Example run (production run):
Rscript merge_and_uncode_rca_uploads.R -c NSCLC -u -a $SYNAPSE_AUTH_TOKEN --production
```

Example run (production run) using grs:
```
Rscript merge_and_uncode_rca_uploads.R -c NSCLC -u -a $SYNAPSE_AUTH_TOKEN --production --use_grs true
```

## Usage: remove patient IDs from a REDCap formatted file

To display the command line interface:
Expand Down

0 comments on commit 2ce5889

Please sign in to comment.