@@ -142,21 +142,21 @@ def get_db_doc(self, ddoc, view, run_id):
142142
143143 def get_regex_pattern (self , run_family , run_type ):
144144 if run_family == "Illumina" :
145- if run_type == "NovaSeqXPlus" :
145+ if run_type == "NovaSeqXPlus" : # 20251010_LH00202_0284_B22CVHTLT1
146146 return r"^(?P<date>\d{8})_(?P<instrument>[A-Z0-9]+)_\d{4}_(?P<position>(A|B))(?P<flowcell_id>[A-Z0-9]+)$"
147- elif run_type == "NextSeq" :
147+ elif run_type == "NextSeq" : # 251015_VH00203_572_AAHFHCCM5
148148 return r"^(?P<date>\d{6})_(?P<instrument>[A-Z0-9]+)_\d{3}_(?P<flowcell_id>[A-Z0-9]+)$"
149- elif run_type == "MiSeq" :
149+ elif run_type == "MiSeq" : # 251015_M01548_0646_000000000-M6D7K
150150 return r"^(?P<date>\d{6})_(?P<instrument>[A-Z0-9]+)_\d{4}_(?P<flowcell_id>[A-Z0-9\-]+)$"
151- elif run_type == "MiSeqi100" :
151+ elif run_type == "MiSeqi100" : # 20260128_SH01140_0002_ASC2150561-SC3
152152 return r"^(?P<date>\d{8})_(?P<instrument>[A-Z0-9]+)_\d{4}_A(?P<flowcell_id>[A-Z0-9]{9}-SC3)$"
153153 elif run_family == "ONT" :
154- if run_type == "PromethION" :
154+ if run_type == "PromethION" : # 20251015_1051_3B_PBG60686_0af3a2e0
155155 return r"^(?P<date>\d{8})_(?P<time>\d{4})_(?P<position>[A-Z0-9]{2})_(?P<flowcell_id>P[A-Z0-9]+)_(?P<run_hash>[a-f0-9]{8})$"
156- elif run_type == "MinION" :
156+ elif run_type == "MinION" : # 20240229_1404_MN19414_ASH657_7a74bf8f
157157 return r"^(?P<date>\d{8})_(?P<time>\d{4})_(?P<position>MN[A-Z0-9]+)_(?P<flowcell_id>[A-Z0-9]+)_(?P<run_hash>[a-f0-9]{8})$"
158158 elif run_family == "Element" :
159- if run_type == "AVITI" :
159+ if run_type == "AVITI" : # 20251007_AV242106_A2507535225
160160 return r"^(?P<date>\d{8})_(?P<instrument>AV\d{6})_(?P<position>(A|B))(?P<flowcell_id>\d{10})$"
161161 return None
162162
0 commit comments