You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**Discovery**: Scans configured sequencing directories for run folders
116
112
2.**Validation**: Confirms run ID matches expected format for the sequencer type
117
113
3.**Transfer Phases**:
118
-
-**Sequencing Phase**: Starts continuous background rsync transfer while sequencing is ongoing (when the final sequencing file doesn't exist). Uploads status and metadata files (specified for each sequencer type in the config with `metadata_for_statusdb`) to database.
119
-
-**Final Transfer**: After sequencing completes (final sequencing file appears), syncs specified metadata file to archive location, initiates final rsync transfer and captures exit codes.
114
+
-**Sequencing Phase**: Starts continuous background rsync transfer while sequencing is ongoing (when the final sequencing file doesn't exist). Uploads status to database.
115
+
-**Final Transfer**: After sequencing completes (final sequencing file appears), syncs specified metadata files to archive location, initiates final rsync transfer and captures exit codes.
120
116
-**Completion**: Updates database when transfer was successful.
121
117
122
118
### Status Tracking
@@ -145,10 +141,9 @@ Run status is tracked in CouchDB with events including:
145
141
## Assumptions
146
142
147
143
- Run directories are named according to sequencer-specific ID formats (defined in run classes)
148
-
- Final completion is indicated by the presence of a sequencer-specific final file (e.g., `RTAComplete.txt` for Illumina)
144
+
- Final completion is indicated by the presence of a sequencer-specific final file (e.g., `CopyComplete.txt` for Illumina)
149
145
- Remote storage is accessible via rsync over SSH
150
-
- CouchDB is accessible and the database exists
151
-
- Metadata files (e.g., RunInfo.xml) are present in run directories for status database updates and sync to metadata archive location
146
+
- CouchDB is accessible and the database specified in the config exists and has a ddoc called `events` with a view called `current_status_per_runfolder` that emits a dictionary of all the statuses and their current state (true/false)
152
147
- The flowcell ID is set to correspond to the ID that is scanned with a barcode scanner during sequencing setup in the lab
0 commit comments