2828import java .util .List ;
2929import java .util .Map ;
3030import java .util .Set ;
31+ import java .util .regex .Pattern ;
3132
3233public class PerformManualIdrStepsTask implements TaskRefTask
3334{
@@ -88,6 +89,10 @@ private void pruneSivChallenges(PipelineJob pipelineJob) throws PipelineJobExcep
8889 }
8990 }
9091
92+ private static final Pattern mir126_RE = Pattern .compile ("miR[- ]{0,1}126" , Pattern .CASE_INSENSITIVE );
93+ private static final Pattern mir142_RE = Pattern .compile ("miR[- ]{0,1}142" , Pattern .CASE_INSENSITIVE );
94+ private static final Pattern mir126_142_RE = Pattern .compile ("miR[- ]{0,1}142[ ,-]{1,2}126" , Pattern .CASE_INSENSITIVE );
95+
9196 private void updateVaccineInformation (PipelineJob pipelineJob ) throws PipelineJobException
9297 {
9398 TableInfo ti = QueryService .get ().getUserSchema (_containerUser .getUser (), _containerUser .getContainer (), "study" ).getTable ("immunizations" );
@@ -105,18 +110,26 @@ private void updateVaccineInformation(PipelineJob pipelineJob) throws PipelineJo
105110
106111 if (backbone != null && backbone .contains ("68-1" ))
107112 {
108- if (treatment . contains ( "miR-142-126" ))
113+ if (mir126_142_RE . matcher ( treatment ). find ( ))
109114 {
110115 updatedRow .put ("backbone" , "68-1 MHC-1A-only" );
111116 }
112- else if (treatment . contains ("miR-126 " ))
117+ else if (mir126_RE . matcher ( treatment ). find () && ! treatment . contains ("142 " ))
113118 {
114119 updatedRow .put ("backbone" , "68-1 MHC-E-only" );
115120 }
116- else if (treatment . contains ("miR-142 " ))
121+ else if (mir142_RE . matcher ( treatment ). find () && ! treatment . contains ("126 " ))
117122 {
118123 updatedRow .put ("backbone" , "68-1 MHC-II-only" );
119124 }
125+ else if (treatment .contains ("RhCMV FL" ))
126+ {
127+ updatedRow .put ("backbone" , "68-1 FL" );
128+ }
129+ else if (treatment .contains ("RhCMV" ) && treatment .contains ("d186-189" ))
130+ {
131+ updatedRow .put ("backbone" , "68-1 d186-189" );
132+ }
120133 }
121134
122135 if (treatment .toUpperCase ().contains ("MOCK" ))
0 commit comments