Skip to content

Commit

Permalink
[GLT-4327] handle full-depth collapsed coverage metric (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
djcooke authored Dec 19, 2024
1 parent 6485299 commit 6cba5ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/add_fullDepth_collapsedCoverage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Full-Depth Sequencing Collapsed Coverage metric
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<dependency>
<groupId>ca.on.oicr.gsi.cardea</groupId>
<artifactId>cardea-data</artifactId>
<version>1.18.0</version>
<version>1.19.0</version>
</dependency>
</dependencies>

Expand Down
3 changes: 3 additions & 0 deletions ts/data/sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export interface Sample extends Qcable {
mappedToCoding?: number;
rawCoverage?: number;
onTargetReads?: number;
collapsedCoverage?: number;
lambdaMethylation?: number;
lambdaClusters?: number;
puc19Methylation?: number;
Expand Down Expand Up @@ -1169,6 +1170,8 @@ function getMetricValue(metricName: string, sample: Sample): number | null {
return nullIfUndefined(sample.methylationBeta);
case "PE Reads":
return nullIfUndefined(sample.peReads);
case "Collapsed Coverage":
return nullIfUndefined(sample.collapsedCoverage);
}
if (/^Concentration/.test(metricName)) {
return nullIfUndefined(sample.concentration);
Expand Down

0 comments on commit 6cba5ac

Please sign in to comment.