Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9e8f7fd
Correct typo
bbimber Sep 8, 2025
37ab889
Add MCC request field for shipping
bbimber Sep 9, 2025
0d19972
Merge pull request #198 from bimberlabinternal/25.7_fb_mccform
bbimber Sep 9, 2025
24fe62d
Minor code cleanup
bbimber Sep 12, 2025
01a05d6
Improve sample query
bbimber Sep 15, 2025
9edb28b
Add CSP exception
bbimber Sep 16, 2025
583865c
Update outcome SQL
bbimber Sep 17, 2025
c2a6067
Add comments columns
bbimber Sep 18, 2025
ff1baa5
Add ETL to automatically create subjects for SIV studies
bbimber Sep 18, 2025
7889a36
Bugfix to sample SQL and augment ETL
bbimber Sep 18, 2025
9d41688
Add enddate to pvl_outcomes
bbimber Sep 18, 2025
372b562
Remove duplicate IDs in AddMissingIdrSubjects
bbimber Sep 18, 2025
d2befb6
Bugfix to AddMissingIdrSubjects
bbimber Sep 18, 2025
7dc523c
Expand study triggers and update cohort fields
bbimber Sep 19, 2025
5c54e53
Bugfix to ART fields
bbimber Sep 19, 2025
8c17107
Bugfix to NumericValuesTrigger
bbimber Sep 19, 2025
3d82624
Clean up trigger/customizer layer code
bbimber Sep 19, 2025
3239871
Clean up trigger/customizer layer code
bbimber Sep 19, 2025
424c665
Create fields to coalesce name/label for studies
bbimber Sep 19, 2025
db5d771
Expand SIV studies notification
bbimber Sep 19, 2025
6d8c507
Dont add NumericValuesTrigger to PVL table
bbimber Sep 20, 2025
bfabbd2
Add QCLabel filter
bbimber Sep 27, 2025
8564e48
Add field for number of PVL datapoints
bbimber Sep 29, 2025
753cd1e
Increase batch size
bbimber Sep 30, 2025
5c8c616
Build short delay into github triggers to aid cross-repo commits
bbimber Oct 4, 2025
23761ec
Switch ETLs to log row count discrepancies
bbimber Oct 6, 2025
3c16a6e
Drop unused fields
bbimber Oct 6, 2025
c2f3722
Restore tighter validation
bbimber Oct 7, 2025
6de45c5
Update dependencies
bbimber Oct 7, 2025
8b980c1
Update MCC text
bbimber Oct 15, 2025
82c728e
Ensure extra memory for BWA-mem
bbimber Oct 15, 2025
d788191
Increase memory for kinship task
bbimber Oct 25, 2025
084f20f
Misc small improvements to MCC
bbimber Oct 27, 2025
1f467b6
bugfix to url
bbimber Oct 27, 2025
1fb01f7
MCC webpart syntax fix
bbimber Oct 27, 2025
7916bd8
MCC webpart syntax fix
bbimber Oct 27, 2025
c1f3405
Add number formatting
bbimber Oct 27, 2025
95c14a3
Collapse small colonies
bbimber Oct 28, 2025
e6b3598
Improve behavior of MCC MarkShippedWindow
bbimber Nov 2, 2025
0496cb3
Bugfix to MarkShippedWindow
bbimber Nov 2, 2025
16681ba
Auto-create demographics records from SIV study assignment
bbimber Nov 5, 2025
6db0795
Merge discvr-25.7 to develop
bbimber Nov 5, 2025
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
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
if: github.repository == 'BimberLabInternal/BimberLabKeyModules'
runs-on: ubuntu-latest
steps:
# Note: use slight delay in case there are associated commits across repos
- name: "Sleep for 30 seconds"
run: sleep 30s
shell: bash

- name: "Build DISCVR"
uses: bimberlabinternal/DevOps/githubActions/discvr-build@master
with:
Expand Down
1 change: 1 addition & 0 deletions IDR/resources/queries/bimber_data/idrOutcomeSource.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cohortStart as date,
CASE
WHEN contprog = 'C' THEN 'Controller'
WHEN contprog = 'P' THEN 'Progressor'
ELSE contprog
END as outcome,

'Hansen/IDR' as dataSource
Expand Down
17 changes: 14 additions & 3 deletions IDR/resources/queries/bimber_data/idrSampleSource.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ ID as sampleid,
SampleDate as date,
Tissue as sampleType,
CellCnt as quantity,

freezer,
rack,
box,
"position",
'Hansen/IDR' as dataSource

FROM bimber_data.ln_loc
Expand All @@ -18,9 +21,17 @@ SELECT
Rh as Id,
ID as sampleid,
SampleDate as date,
Tissue as sampleType,
CASE
WHEN (Tissue IS NOT NULL AND Tissue != '') AND (SampleType IS NOT NULL AND SampleType != '') THEN (SampleType || ' / ' || Tissue)
WHEN (Tissue IS NOT NULL AND Tissue != '') THEN Tissue
WHEN (SampleType IS NOT NULL AND SampleType != '') THEN SampleType
ELSE NULL
END AS sampleType,
null as quantity,

freezer,
rack,
box,
"position",
'Hansen/IDR' as dataSource

FROM bimber_data.ult_loc
Expand Down
2 changes: 2 additions & 0 deletions PMR/resources/etls/prime-blooddraws.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="blood"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
6 changes: 5 additions & 1 deletion PMR/resources/etls/prime-chemistryResults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<sourceColumns>
<column>Id</column>
<column>date</column>
<column>ageAtTime</column>
<column>testId</column>
<column>result</column>
<column>units</column>
Expand All @@ -18,6 +17,9 @@
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="chemistryResults" targetOption="merge" bulkLoad="true" batchSize="1000">
<alternateKeys>
Expand All @@ -37,6 +39,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="chemistryResults"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
5 changes: 5 additions & 0 deletions PMR/resources/etls/prime-clinpathRuns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="clinpathRuns" bulkLoad="true" targetOption="merge" batchSize="1000">
<alternateKeys>
Expand All @@ -38,6 +41,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="clinpathRuns"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
6 changes: 5 additions & 1 deletion PMR/resources/etls/prime-hematologyResults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<sourceColumns>
<column>Id</column>
<column>date</column>
<column>ageAtTime</column>
<column>testId</column>
<column>result</column>
<column>units</column>
Expand All @@ -18,6 +17,9 @@
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="hematologyResults" targetOption="merge" bulkLoad="true" batchSize="1000">
<alternateKeys>
Expand All @@ -37,6 +39,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="hematologyResults"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
5 changes: 5 additions & 0 deletions PMR/resources/etls/prime-histology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="histology" targetOption="merge" bulkLoad="true" batchSize="1000">
<alternateKeys>
Expand All @@ -36,6 +39,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="histology"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
5 changes: 5 additions & 0 deletions PMR/resources/etls/prime-microbiology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="microbiology" targetOption="merge" bulkLoad="true" batchSize="1000">
<alternateKeys>
Expand All @@ -37,6 +40,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="microbiology"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
8 changes: 5 additions & 3 deletions PMR/resources/etls/prime-pathologyDiagnoses.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<sourceColumns>
<column>Id</column>
<column>date</column>
<column>ageAtTime</column>
<column>sort_order</column>
<column>codes</column>
<column>objectid</column>
<column>created</column>
<column>modified</column>
<column>QCState/Label</column>
</sourceColumns>
<sourceFilters>
<sourceFilter column="qcstate/label" operator="eq" value="Completed"/>
</sourceFilters>
</source>
<destination schemaName="study" queryName="pathologyDiagnoses" targetOption="merge" bulkLoad="true" batchSize="1000">
<alternateKeys>
Expand All @@ -35,6 +35,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="pathologyDiagnoses"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
2 changes: 2 additions & 0 deletions PMR/resources/etls/prime-weight.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
<setting name="destSchema" value="study"/>
<setting name="destQuery" value="weight"/>
<setting name="destColumn" value="objectId"/>

<setting name="reportOnly" value="false"/>
</settings>
</taskref>
</transform>
Expand Down
4 changes: 2 additions & 2 deletions SivStudies/resources/etls/idr-data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<setting name="dataSourceQuery" value="subjects"/>
<setting name="dataSourceSubjectColumn" value="Rh"/>
<setting name="dataSourceColumns" value="Rh,cohortStart,cohortEnd,cohort,RhCode"/>
<setting name="dataSourceColumnMapping" value="Rh=Id,cohortStart=date,cohortEnd=enddate,RhCode=cohortId,cohort=study"/>
<setting name="dataSourceColumnMapping" value="Rh=Id,cohortStart=date,cohortEnd=enddate,RhCode=cohortAlias,cohort=study"/>
<setting name="dataSourceColumnDefaults" value="dataSource=Hansen/IDR"/>
<setting name="dataSourceAdditionalFilters" value="cohortStart~neq=0000-00-00"/>

Expand All @@ -37,7 +37,7 @@
<setting name="dataSourceSchema" value="bimber_data"/>
<setting name="dataSourceQuery" value="idrSampleSource"/>
<setting name="dataSourceSubjectColumn" value="Id"/>
<setting name="dataSourceColumns" value="Id,date,sampleId,sampleType,quantity"/>
<setting name="dataSourceColumns" value="Id,date,sampleId,sampleType,quantity,freezer,rack,box,position"/>
<setting name="dataSourceColumnDefaults" value="dataSource=Hansen/IDR"/>

<setting name="targetSchema" value="study"/>
Expand Down
15 changes: 15 additions & 0 deletions SivStudies/resources/etls/idr-subjects.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<etl xmlns="http://labkey.org/etl/xml">
<name>Hansen/IDR Subjects</name>
<description>Hansen/IDR Subjects</description>
<transforms>
<transform id="subjects" type="TaskRefTransformStep">
<taskref ref="org.labkey.sivstudies.etl.AddMissingIdrSubjects">

</taskref>
</transform>
</transforms>
<schedule>
<cron expression="0 15 20 * * ?"/>
</schedule>
</etl>
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
<column columnName="description">
<columnTitle>Description</columnTitle>
</column>
<column columnName="comments">
<columnTitle>Comments</columnTitle>
</column>
</columns>
</table>
</tables>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<column name="timePostSivChallenge/daysPostInfection"/>
<column name="category"/>
<column name="description"/>
<column name="comments"/>
<column name="dataSource"/>
</columns>
<sorts>
Expand Down
13 changes: 11 additions & 2 deletions SivStudies/resources/queries/study/assignment.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,24 @@
<column columnName="subgroup">
<columnTitle>Sub-Group</columnTitle>
</column>
<column columnName="cohortId">
<columnTitle>Cohort ID</columnTitle>
<column columnName="cohortAlias">
<columnTitle>Cohort Alias</columnTitle>
</column>
<column columnName="dataSource">
<columnTitle>Data Source</columnTitle>
</column>
<column columnName="category">
<columnTitle>Category</columnTitle>
</column>
<column columnName="cohortId">
<columnTitle>Cohort ID</columnTitle>
<fk>
<fkDbSchema>studies</fkDbSchema>
<fkTable>studyCohorts</fkTable>
<fkColumnName>rowId</fkColumnName>
<fkDisplayColumnName>labelOrName</fkDisplayColumnName>
</fk>
</column>
<column columnName="description">
<columnTitle>Description</columnTitle>
<isHidden>true</isHidden>
Expand Down
3 changes: 2 additions & 1 deletion SivStudies/resources/queries/study/assignment/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
<column name="enddate"/>
<column name="study"/>
<column name="subgroup"/>
<column name="cohortId"/>
<column name="cohortAlias"/>
<column name="category"/>
<column name="cohortId"/>
<column name="dataSource"/>
</columns>
<sorts>
Expand Down
2 changes: 1 addition & 1 deletion SivStudies/resources/queries/study/flow.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<column columnName="units">
<columnTitle>Units</columnTitle>
</column>
<column columnName="comment">
<column columnName="comments">
<columnTitle>Comments</columnTitle>
</column>
<column columnName="dataSource">
Expand Down
1 change: 1 addition & 0 deletions SivStudies/resources/queries/study/flow/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<column name="population"/>
<column name="result"/>
<column name="units"/>
<column name="comments"/>
<column name="dataSource"/>
<column name="viralLoad"/>
</columns>
Expand Down
4 changes: 4 additions & 0 deletions SivStudies/resources/queries/study/genetics.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<column columnName="score">
<columnTitle>Score</columnTitle>
</column>
<column columnName="comments">
<columnTitle>Comments</columnTitle>
<inputType>textarea</inputType>
</column>
<column columnName="dataSource">
<columnTitle>Data Source</columnTitle>
</column>
Expand Down
1 change: 1 addition & 0 deletions SivStudies/resources/queries/study/genetics/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<column name="marker"/>
<column name="result"/>
<column name="score"/>
<column name="comments"/>
<column name="dataSource"/>
</columns>
<sorts>
Expand Down
4 changes: 4 additions & 0 deletions SivStudies/resources/queries/study/immunizations.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
<column columnName="reason">
<columnTitle>Reason</columnTitle>
</column>
<column columnName="comments">
<columnTitle>Comments</columnTitle>
<inputType>textarea</inputType>
</column>
<column columnName="dataSource">
<columnTitle>Data Source</columnTitle>
</column>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<column name="route"/>
<column name="quantity"/>
<column name="quantity_units"/>
<column name="comments"/>
<column name="dataSource"/>
</columns>
<sorts>
Expand Down
4 changes: 4 additions & 0 deletions SivStudies/resources/queries/study/labwork.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<column columnName="method">
<columnTitle>Method</columnTitle>
</column>
<column columnName="comments">
<columnTitle>Comments</columnTitle>
<inputType>textarea</inputType>
</column>
<column columnName="dataSource">
<columnTitle>Data Source</columnTitle>
</column>
Expand Down
1 change: 1 addition & 0 deletions SivStudies/resources/queries/study/labwork/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<column name="result"/>
<column name="units"/>
<column name="method"/>
<column name="comments"/>
<column name="dataSource"/>
<column name="viralLoad"/>
<column name="ageAtTime/AgeAtTime"/>
Expand Down
4 changes: 4 additions & 0 deletions SivStudies/resources/queries/study/procedures.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
<column columnName="procedure">
<columnTitle>Procedure</columnTitle>
</column>
<column columnName="comments">
<columnTitle>Comments</columnTitle>
<inputType>textarea</inputType>
</column>
<column columnName="dataSource">
<columnTitle>Data Source</columnTitle>
</column>
Expand Down
1 change: 1 addition & 0 deletions SivStudies/resources/queries/study/procedures/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<column name="date"/>
<column name="category"/>
<column name="procedure"/>
<column name="comments"/>
<column name="dataSource"/>
<column name="viralLoad"/>
</columns>
Expand Down
Loading