-
Notifications
You must be signed in to change notification settings - Fork 4
add long_phase supplementary alignment tag to extended args #163
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
base: dev
Are you sure you want to change the base?
Changes from all commits
c14136d
14b14c7
c0e3ab2
af57f20
f4e7cc0
bb3199d
be64ce5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -68,22 +68,24 @@ | |||||||
| "type": "object", | ||||||||
| "properties": { | ||||||||
| "germline_var_keep": { | ||||||||
| "type": "array", | ||||||||
| "type": ["string", "array"], | ||||||||
| "description": "List of germline variant callers to use. Must include at least one of [deepvariant, clair].", | ||||||||
| "items": { | ||||||||
| "type": "string", | ||||||||
| "enum": ["deepvariant", "clair"] | ||||||||
| }, | ||||||||
| "minItems": 1 | ||||||||
| "minItems": 1, | ||||||||
| "default": "['deepvariant', 'clair']" | ||||||||
| }, | ||||||||
|
Comment on lines
75
to
79
|
||||||||
| "somatic_var_keep": { | ||||||||
| "type": "array", | ||||||||
| "type": ["string", "array"], | ||||||||
| "description": "List of somatic variant callers to use. Must include at least one of [deepsomatic, clair].", | ||||||||
| "items": { | ||||||||
| "type": "string", | ||||||||
| "enum": ["deepsomatic", "clair"] | ||||||||
| }, | ||||||||
| "minItems": 1 | ||||||||
| "minItems": 1, | ||||||||
| "default": "['deepsomatic', 'clair']" | ||||||||
| }, | ||||||||
| "germline_var_combine": { | ||||||||
| "type": "string", | ||||||||
|
|
@@ -111,6 +113,18 @@ | |||||||
| } | ||||||||
| } | ||||||||
| }, | ||||||||
| "longphase_options": { | ||||||||
| "title": "Longphase options", | ||||||||
| "type": "object", | ||||||||
| "description": "Options for Longphase phasing of small variants", | ||||||||
| "properties": { | ||||||||
|
Comment on lines
+116
to
+120
|
||||||||
| "longphase_tag_supplementary": { | ||||||||
| "type": "boolean", | ||||||||
| "description": "Whether to include supplementary alignments in Longphase haplotype tagging.", | ||||||||
| "default": false | ||||||||
| } | ||||||||
| } | ||||||||
| }, | ||||||||
|
Comment on lines
+116
to
+127
|
||||||||
| "reference_genome_options": { | ||||||||
| "title": "Reference genome options", | ||||||||
| "type": "object", | ||||||||
|
|
@@ -126,7 +140,6 @@ | |||||||
| }, | ||||||||
| "igenomes_ignore": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Do not load the iGenomes reference config.", | ||||||||
| "fa_icon": "fas fa-ban", | ||||||||
| "hidden": true, | ||||||||
|
|
@@ -202,7 +215,6 @@ | |||||||
| }, | ||||||||
| "download_vep_cache": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Download the VEP cache if not already present" | ||||||||
| }, | ||||||||
| "vep_custom": { | ||||||||
|
|
@@ -283,7 +295,6 @@ | |||||||
| }, | ||||||||
| "ascat_pdf_plots": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Boolean for ASCAT production of pdf plots (entered as string)" | ||||||||
| } | ||||||||
| } | ||||||||
|
|
@@ -307,72 +318,58 @@ | |||||||
| "properties": { | ||||||||
| "skip_qc": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skips all QC steps" | ||||||||
| }, | ||||||||
| "skip_cramino": { | ||||||||
|
Comment on lines
319
to
323
|
||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skips Cramino" | ||||||||
| }, | ||||||||
| "skip_mosdepth": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skips Mosdepth" | ||||||||
| }, | ||||||||
| "skip_bamstats": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skips samtools flagstat, stats, and idxstats" | ||||||||
| }, | ||||||||
| "skip_wakhan": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skips wakhan" | ||||||||
| }, | ||||||||
| "skip_fiber": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip Fibertools steps" | ||||||||
| }, | ||||||||
| "skip_ascat": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip ASCAT" | ||||||||
| }, | ||||||||
| "skip_m6a": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip m6a calling by Fibertools" | ||||||||
| }, | ||||||||
| "skip_vep": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip VEP annotation" | ||||||||
| }, | ||||||||
| "skip_normalfiber": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip Fibertools steps for the normal sample" | ||||||||
| }, | ||||||||
| "skip_nanoplot": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip Nanoplot" | ||||||||
| }, | ||||||||
| "skip_whatshapstats": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip WhatsHap stats" | ||||||||
| }, | ||||||||
| "skip_modcall": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Skip modification calling" | ||||||||
| }, | ||||||||
| "use_gpu": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Use GPU for supported tools (e.g. DeepVariant, DeepSomatic, Clair3)" | ||||||||
| } | ||||||||
| } | ||||||||
|
|
@@ -434,7 +431,6 @@ | |||||||
| "properties": { | ||||||||
| "version": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Display version and exit.", | ||||||||
| "fa_icon": "fas fa-question-circle", | ||||||||
| "hidden": true | ||||||||
|
|
@@ -458,7 +454,6 @@ | |||||||
| }, | ||||||||
| "plaintext_email": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Send plain-text email instead of HTML.", | ||||||||
| "fa_icon": "fas fa-remove-format", | ||||||||
| "hidden": true | ||||||||
|
|
@@ -473,7 +468,6 @@ | |||||||
| }, | ||||||||
| "monochrome_logs": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Do not use coloured log outputs.", | ||||||||
| "fa_icon": "fas fa-palette", | ||||||||
| "hidden": true | ||||||||
|
|
@@ -525,17 +519,14 @@ | |||||||
| }, | ||||||||
| "help": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Display the help message." | ||||||||
| }, | ||||||||
| "help_full": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Display the full detailed help message." | ||||||||
| }, | ||||||||
| "show_hidden": { | ||||||||
| "type": "boolean", | ||||||||
| "default": false, | ||||||||
| "description": "Display hidden parameters in the help message (only works when --help or --help_full are provided)." | ||||||||
| } | ||||||||
| } | ||||||||
|
|
@@ -551,6 +542,9 @@ | |||||||
| { | ||||||||
| "$ref": "#/$defs/small_variant_calling_options" | ||||||||
| }, | ||||||||
| { | ||||||||
| "$ref": "#/$defs/longphase_options" | ||||||||
| }, | ||||||||
| { | ||||||||
| "$ref": "#/$defs/reference_genome_options" | ||||||||
| }, | ||||||||
|
|
@@ -581,5 +575,13 @@ | |||||||
| { | ||||||||
| "$ref": "#/$defs/generic_options" | ||||||||
| } | ||||||||
| ] | ||||||||
| ], | ||||||||
| "properties": { | ||||||||
| "generate_gvcf": { | ||||||||
| "type": "boolean" | ||||||||
| }, | ||||||||
|
Comment on lines
+580
to
+582
|
||||||||
| "generate_gvcf": { | |
| "type": "boolean" | |
| }, |
Copilot
AI
Apr 30, 2026
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.
Top-level properties.skip_modkit is defined without description/help_text/default and outside the existing skip_options group. To keep schema validation + rendered docs consistent, this should be defined alongside the other skip parameters (with matching metadata) rather than as a bare root property.
| }, | |
| "skip_modkit": { | |
| "type": "boolean" |
Copilot
AI
Apr 29, 2026
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.
The new top-level properties block defines generate_gvcf, longphase_tag_supplementary, and skip_modkit with only type, dropping their descriptions/defaults and bypassing the existing $defs grouping pattern used elsewhere in this schema. Instead, define these parameters in the appropriate $defs sections (e.g., generate_gvcf in small-variant options, skip_modkit in skip options, longphase_tag_supplementary in longphase options) and reference those groups from allOf, removing this partial top-level properties block.
Copilot
AI
Apr 29, 2026
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.
The new top-level properties entries for generate_gvcf and skip_modkit are incomplete (no description/default) and also bypass the existing parameter grouping via $defs/allOf (e.g. skip_modkit should live under #/$defs/skip_options). This will make schema-generated docs/UI inconsistent with docs/usage.md and other params. Consider moving these definitions into the appropriate $defs sections and adding description (and default if the schema is intended to carry defaults).
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.
germline_var_keepnow allowstype: "string", but the allowed values are only constrained viaitems.enum(which applies only when the value is an array). As a result, any arbitrary string would validate successfully and bypass the intended[deepvariant, clair]restriction. Consider usingoneOf/anyOfto separately validate the string form (e.g., enum/pattern) vs the array form, or keep this as an array-only parameter.