artic-network / rampart

Read Assignment, Mapping, and Phylogenetic Analysis in Real Time
GNU General Public License v3.0
79 stars 34 forks source link

Daemon process should be able to resume #18

Closed rambaut closed 5 years ago

rambaut commented 6 years ago

This would involve mapping any reads that have appeared in the inbox since it was last run. Not entirely clear how to do this? Look at the timestamps of the actual reads?

jameshadfield commented 5 years ago

Working now.

On startup, all the basecalled & demuxed files are scanned, and sorted on read times (sequencing summary if available, otherwise fastq headers). Only after this is the watcher for new (basecalled) files attached.

The client will reset it's internal state when the daemon restarts, and then get the files new again. (The demuxed files are kept, but the mapping has to be redone, so it's not instantaneous)