diff --git a/browser/src/CoverageTrack.tsx b/browser/src/CoverageTrack.tsx index 0f945c175..bb5996dab 100644 --- a/browser/src/CoverageTrack.tsx +++ b/browser/src/CoverageTrack.tsx @@ -107,7 +107,7 @@ class CoverageTrack extends Component { plotElement: any state = { - selectedMetric: isV4(this.props.datasetId) ? 'over_30' : 'mean', + selectedMetric: isV4(this.props.datasetId) ? 'over_20' : 'mean', } plotRef = (el: any) => { diff --git a/browser/src/GenePage/__snapshots__/GenePage.spec.tsx.snap b/browser/src/GenePage/__snapshots__/GenePage.spec.tsx.snap index 7f91ce67a..4cacb59b2 100644 --- a/browser/src/GenePage/__snapshots__/GenePage.spec.tsx.snap +++ b/browser/src/GenePage/__snapshots__/GenePage.spec.tsx.snap @@ -28035,7 +28035,7 @@ exports[`GenePage with non-SV dataset "gnomad_r4" has no unexpected changes 1`] className="Select-sc-1lkyg9e-0 ivadCR" id="coverage-metric" onChange={[Function]} - value="over_30" + value="over_20" > - Fraction of individuals with coverage over 30 + Fraction of individuals with coverage over 20
- Fraction of individuals with coverage over 30 + Fraction of individuals with coverage over 20
{/* @ts-expect-error TS(2322) FIXME: Type '{ children: Element; tooltip: string; }' is ... Remove this comment to see the full error message */} - + {/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */} - Fraction of individuals with >30x coverage + Fraction of individuals with >20x coverage {/* TODO: this logic can be extracted into a helper, and cleaned for clarity, todo after V4 mvp launch */} {variant.exome ? ( - {exomeCoverage.over30 !== null ? exomeCoverage.over30.toFixed(1) : '–'} + {exomeCoverage.over20 !== null ? exomeCoverage.over20.toFixed(1) : '–'} ) : ( )} {variant.genome ? ( - {genomeCoverage.over30 !== null ? genomeCoverage.over30.toFixed(1) : '–'} + {genomeCoverage.over20 !== null ? genomeCoverage.over20.toFixed(1) : '–'} ) : ( )} diff --git a/browser/src/VariantPage/VariantPage.tsx b/browser/src/VariantPage/VariantPage.tsx index 6312d13e7..ef9461397 100644 --- a/browser/src/VariantPage/VariantPage.tsx +++ b/browser/src/VariantPage/VariantPage.tsx @@ -460,11 +460,11 @@ query ${operationName}($variantId: String!, $datasetId: DatasetId!, $referenceGe coverage { exome { mean - over_30 + over_20 } genome { mean - over_30 + over_20 } } multi_nucleotide_variants {