Skip to content

Commit

Permalink
Merge pull request #30 from icgc-argo/variant-call-update
Browse files Browse the repository at this point in the history
Variant call update
  • Loading branch information
junjun-zhang authored May 12, 2020
2 parents 6a38c19 + 437f87d commit 32594ed
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 58 deletions.
9 changes: 2 additions & 7 deletions schemas/qc_metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -22,7 +21,6 @@
"required": [
"workflow_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -33,14 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"const": null
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down
11 changes: 1 addition & 10 deletions schemas/sequencing_alignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"enum": [
"workflow_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -23,7 +22,6 @@
"required": [
"workflow_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -34,14 +32,7 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"type": ["array", "null"],
"items": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
}
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down
41 changes: 8 additions & 33 deletions schemas/variant_calling.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"required": [
"workflow",
"experiment",
"variant_class",
"variant_type"
"variant_class"
],
"properties": {
"workflow": {
Expand All @@ -15,7 +14,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -25,7 +23,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -34,18 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"type": ["array", "null"],
"items": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
}
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down Expand Up @@ -121,26 +111,11 @@
}
},
"variant_class": {
"type": "array",
"items":{
"type": "string",
"enum": [
"germline",
"somatic"
]
}
},
"variant_type": {
"type": "array",
"items":{
"type": "string",
"enum": [
"snv",
"indel",
"cnv",
"sv"
]
}
"type": "string",
"enum": [
"Germline",
"Somatic"
]
}
}
}
Expand Down
19 changes: 11 additions & 8 deletions schemas/variant_calling_supplement.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": "object",
"required": [
"workflow",
"experiment"
"experiment",
"variant_class"
],
"properties": {
"workflow": {
Expand All @@ -13,7 +14,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -23,7 +23,6 @@
"workflow_name",
"workflow_short_name",
"workflow_version",
"analysis_tools",
"genome_build",
"run_id",
"inputs"
Expand All @@ -32,14 +31,11 @@
"properties": {
"workflow_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
"pattern": "^[a-zA-Z][a-zA-Z0-9 _\\-]+[a-zA-Z0-9]+$"
},
"workflow_short_name": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+$"
},
"analysis_tools": {
"const": null
"pattern": "^[a-zA-Z][a-zA-Z0-9_\\-]+[a-zA-Z0-9]+$"
},
"genome_build": {
"type": "string",
Expand Down Expand Up @@ -111,6 +107,13 @@
"Bisulfite-Seq",
"ChIP-Seq"
]
},
"variant_class": {
"type": "string",
"enum": [
"Germline",
"Somatic"
]
}
}
}
Expand Down

0 comments on commit 32594ed

Please sign in to comment.