Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions nextclade/defaults/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ metadata_url: "https://data.nextstrain.org/files/workflows/mumps/metadata.tsv.zs

strain_id_field: "accession"

# Merge in clade_membership column from {metadata} file
# If not defined, use {fallback} column
clade_membership:
metadata: "{build}/reference_strains.tsv"
fallback: "MuV_genotype"
Expand All @@ -21,7 +23,7 @@ filter:
exclude: "{build}/exclude.txt"
include: "{build}/include.txt"
sh: '--exclude-all'
genome: --subsample-max-sequences 300 --min-date 1950 --group-by MuV_genotype --min-length 12000 --exclude-where clade_membership=''
genome: --subsample-max-sequences 300 --min-date 1950 --group-by clade_membership --min-length 12000 --exclude-where clade_membership=''

align:
sh: '--fill-gaps --remove-reference'
Expand All @@ -40,8 +42,8 @@ ancestral:

traits:
sampling_bias_correction: 3
sh: clade_membership MuV_genotype
genome: clade_membership MuV_genotype
sh: clade_membership
genome: clade_membership

colors:
# Note: Reusing files from the phylogenetic workflow
Expand Down
46 changes: 3 additions & 43 deletions nextclade/defaults/genome/auspice_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Real-time tracking of mumps virus evolution",
"title": "Mumps MuV Genotypes (Full genome)",
"maintainers": [
{"name": "the Nextstrain team", "url": "https://nextstrain.org/team"}
],
Expand Down Expand Up @@ -27,7 +27,7 @@
"type": "categorical"
},
{
"key": "MuV_genotype",
"key": "clade_membership",
"title": "MuV genotype",
"type": "categorical"
},
Expand Down Expand Up @@ -58,7 +58,6 @@
},
"filters": [
"clade_membership",
"MuV_genotype",
"country",
"region",
"author"
Expand All @@ -67,44 +66,5 @@
"strain",
"isolate",
"host"
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "MuV_genotype",
"displayName": "MuV Genotype",
"description": "Mumps genotype"
}
],
"pathogen": {
"schemaVersion":"3.0.0",
"attributes": {
"name": "Mumps genotype tree",
"reference name": "Jeryl-Lynn (genotype A)",
"reference accession": "D90232"
},
"alignmentParams": {
"minLength": 80,
"penaltyGapExtend": 1,
"penaltyGapOpen": 4,
"penaltyGapOpenInFrame": 4,
"penaltyGapOpenOutOfFrame": 6,
"penaltyMismatch": 1,
"scoreMatch": 4,
"noTranslatePastStop": false,
"excessBandwidth": 9,
"terminalBandwidth": 80,
"allowedMismatches": 12,
"minMatchLength": 30,
"maxAlignmentAttempts": 5,
"includeReference": true,
"includeNearestNodeInfo": true,
"retryReverseComplement": true,
"minSeedCover": 0.01
},
"defaultCds": "SH"
}
}
}
]
}
2 changes: 2 additions & 0 deletions nextclade/defaults/sh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ This dataset supports:

- Assignment of genotype
- Phylogenetic placement
- Translation of annotated reading frames
- Quality metrics based on unexpected frameshifts, stop codons, and coverage.

## What are Nextclade datasets

Expand Down
46 changes: 3 additions & 43 deletions nextclade/defaults/sh/auspice_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Real-time tracking of mumps virus evolution",
"title": "Mumps MuV Genotypes (SH gene 315nt region)",
"maintainers": [
{"name": "the Nextstrain team", "url": "https://nextstrain.org/team"}
],
Expand Down Expand Up @@ -27,7 +27,7 @@
"type": "categorical"
},
{
"key": "MuV_genotype",
"key": "clade_membership",
"title": "MuV genotype",
"type": "categorical"
},
Expand Down Expand Up @@ -58,7 +58,6 @@
},
"filters": [
"clade_membership",
"MuV_genotype",
"country",
"region",
"author"
Expand All @@ -67,44 +66,5 @@
"strain",
"isolate",
"host"
],
"extensions": {
"nextclade": {
"clade_node_attrs": [
{
"name": "MuV_genotype",
"displayName": "MuV Genotype",
"description": "Mumps genotype"
}
],
"pathogen": {
"schemaVersion":"3.0.0",
"attributes": {
"name": "Mumps genotype tree",
"reference name": "Jeryl-Lynn (genotype A)",
"reference accession": "D90232"
},
"alignmentParams": {
"minLength": 80,
"penaltyGapExtend": 1,
"penaltyGapOpen": 4,
"penaltyGapOpenInFrame": 4,
"penaltyGapOpenOutOfFrame": 6,
"penaltyMismatch": 1,
"scoreMatch": 4,
"noTranslatePastStop": false,
"excessBandwidth": 9,
"terminalBandwidth": 80,
"allowedMismatches": 12,
"minMatchLength": 30,
"maxAlignmentAttempts": 5,
"includeReference": true,
"includeNearestNodeInfo": true,
"retryReverseComplement": true,
"minSeedCover": 0.01
},
"defaultCds": "SH"
}
}
}
]
}
23 changes: 22 additions & 1 deletion nextclade/defaults/sh/pathogen.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,26 @@
"version": {
"tag": "unreleased"
},
"defaultCds": "SH"
"defaultCds": "SH",
"qc": {
"missingData": {
"enabled": true,
"missingDataThreshold": 300,
"scoreBias": 500,
"scoreWeight": 50
},
"mixedSites": {
"enabled": true,
"mixedSitesThreshold": 15,
"scoreWeight": 50
},
"frameShifts": {
"enabled": true,
"scoreWeight": 20
},
"stopCodons": {
"enabled": true,
"scoreWeight": 50
}
}
}