ShawHahnLab / umbra

Python package and executable for Linux for managing Illumina sequencing runs
GNU Affero General Public License v3.0
3 stars 0 forks source link

Avoid spurious warnings for newly-arriving run data #8

Closed ressy closed 5 years ago

ressy commented 5 years ago

If run data is written to the monitored path directly or copied on a rolling basis and a IlluminaProcessor.refresh() occurs while a write is incomplete, a log message of "skipped unrecognized run" or "Alignment not recognized" is triggered. This is harmless since the same location is re-checked on the next cycle, but should still be avoided.

Allowing for a requirement of a minimum file change timestamp age when trying to load run data might be a reasonable way. These timestamps are filesystem-level so they are unaffected by how the files were created or copied (e.g., rsync -a, cp -p, etc.).