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
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,8 @@ log:
83
83
84
84
run_one_path: /usr/bin/run-one
85
85
86
+
metadata_archive: /path/to/metadata/archive
87
+
86
88
transfer_details:
87
89
user: username
88
90
host: remote.host.com
@@ -96,14 +98,16 @@ statusdb:
96
98
sequencers:
97
99
NovaSeqXPlus:
98
100
sequencing_path: /sequencing/NovaSeqXPlus
99
-
miarka_destination: /Illumina/NovaSeqXPlus
101
+
remote_destination: /Illumina/NovaSeqXPlus
100
102
metadata_for_statusdb:
101
103
- RunInfo.xml
102
104
- RunParameters.xml
103
105
ignore_folders:
104
106
- nosync
105
-
rsync_options:
107
+
remote_rsync_options:
106
108
- --chmod=Dg+s,g+rw
109
+
metadata_rsync_options:
110
+
- "--include=InterOp"
107
111
# ... additional sequencer configurations
108
112
```
109
113
@@ -113,7 +117,7 @@ sequencers:
113
117
2.**Validation**: Confirms run ID matches expected format for the sequencer type
114
118
3.**Transfer Phases**:
115
119
-**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.
116
-
-**Final Transfer**: After sequencing completes (final sequencing file appears), initiates final rsync transfer and captures exit code.
120
+
-**Final Transfer**: After sequencing completes (final sequencing file appears), syncs specified metadata file to archive location, initiates final rsync transfer and captures exit codes.
117
121
-**Completion**: Updates database when transfer was successful.
118
122
119
123
### Status Tracking
@@ -145,14 +149,15 @@ Run status is tracked in CouchDB with events including:
145
149
- Final completion is indicated by the presence of a sequencer-specific final file (e.g., `RTAComplete.txt` for Illumina)
146
150
- Remote storage is accessible via rsync over SSH
147
151
- CouchDB is accessible and the database exists
148
-
- Metadata files (e.g., RunInfo.xml) are present in run directories for status database updates
152
+
- Metadata files (e.g., RunInfo.xml) are present in run directories for status database updates and sync to metadata archive location
149
153
150
154
### Status Files
151
155
152
156
The logic of the script relies on the following status files:
153
157
154
158
-`run.final_file` - The final file written by each sequencing machine. Used to indicate when the sequencing has completed.
155
-
-`final_rsync_exitcode` - Used to indicate when the final rsync is done, so that the final rsync can be run in the background. This is especially useful for restarts after long pauses of the cronjob.
159
+
-`.final_rsync_exitcode` - Used to indicate when the final rsync is done, so that the final rsync can be run in the background. This is especially useful for restarts after long pauses of the cronjob.
160
+
-`.metadata_rsync_exitcode` - Used to indicate when rsync of metadata to the metadata archive is done, so that the rsync can be run in the background. This is useful when there are I/O issue with the disks.
0 commit comments