Skip to content

Commit

Permalink
Merge pull request #202 from nerdstrike/extend_orm_product_metrics
Browse files Browse the repository at this point in the history
Update PacBioProductMetrics definition to include new per-product metrics
  • Loading branch information
mgcam authored Feb 29, 2024
2 parents 65bd045 + 08cf2ee commit ad384c8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lang_qc/db/mlwh_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,30 @@ class PacBioProductMetrics(Base):
index=True,
comment="The final QC outcome of the product as 0(failed), 1(passed) or NULL",
)
hifi_read_bases = Column(
mysqlBIGINT(unsigned=True), nullable=True, comment="The number of HiFi bases"
)
hifi_num_reads = Column(
mysqlINTEGER(unsigned=True), nullable=True, comment="The number of HiFi reads"
)
hifi_read_length_mean = Column(
mysqlINTEGER(unsigned=True), nullable=True, comment="The mean HiFi read length"
)
barcode_quality_score = Column(
mysqlSMALLINT(unsigned=True),
nullable=True,
comment="The mean barcode HiFi quality score",
)
hifi_read_quality_mean = Column(
mysqlINTEGER(unsigned=True),
nullable=True,
comment="The mean HiFi base quality",
)
hifi_bases_percent = Column(
mysqlFLOAT(),
nullable=True,
comment="The HiFi bases expressed as a percentage of the total HiFi bases",
)

pac_bio_run_well_metrics = relationship(
"PacBioRunWellMetrics", back_populates="pac_bio_product_metrics"
Expand Down

0 comments on commit ad384c8

Please sign in to comment.