Skip to content
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

TASK-6014 - Sample Genotypes columns are hidden in SVB in some circunstancies #902

Merged
merged 9 commits into from
Apr 16, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,8 @@ export default class VariantInterpreterGrid extends LitElement {
colspan: 1,
formatter: this.vcfDataFormatter,
halign: this.displayConfigDefault.header.horizontalAlign,
visible: this.gridCommons.isColumnVisible(columnId, "VCF_Data"),
excludeFromSettings: true,
visible: !this._config.hideVcfFileData,
});
}
}
Expand Down Expand Up @@ -1082,7 +1083,8 @@ export default class VariantInterpreterGrid extends LitElement {
formatter: VariantInterpreterGridFormatter.sampleGenotypeFormatter,
align: "center",
nucleotideGenotype: true,
visible: this.gridCommons.isColumnVisible(samples[i].id, "sampleGenotypes"),
excludeFromSettings: true,
visible: !this._config.hideSampleGenotypes,
});
}
}
Expand Down Expand Up @@ -1131,7 +1133,8 @@ export default class VariantInterpreterGrid extends LitElement {
formatter: VariantInterpreterGridFormatter.sampleGenotypeFormatter,
align: "center",
nucleotideGenotype: true,
visible: this.gridCommons.isColumnVisible(samples[i].id, "sampleGenotypes"),
excludeFromSettings: true,
visible: !this._config.hideSampleGenotypes,
});
}
}
Expand Down Expand Up @@ -1549,6 +1552,8 @@ export default class VariantInterpreterGrid extends LitElement {
hidePopulationFrequencies: false,
hideClinicalInfo: false,
hideDeleteriousness: false,
hideSampleGenotypes: false,
hideVcfFileData: false,

quality: {
qual: 30,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ export default class VariantInterpreterRearrangementGrid extends LitElement {
colspan: 1,
formatter: (value, row) => this.vcfDataFormatter(value, row[index], field),
halign: "center",
visible: this.gridCommons.isColumnVisible(id),
excludeFromSettings: true,
visible: !this._config.hideVcfFileData,
});
});
});
Expand Down Expand Up @@ -1104,6 +1105,7 @@ export default class VariantInterpreterRearrangementGrid extends LitElement {
showActions: false,
multiSelection: false,
nucleotideGenotype: true,
hideVcfFileData: false,

alleleStringLengthMax: 50,

Expand Down
Loading