pod5_recover

Tool for recovering truncated pod5 files

class RecoveredData(signal_rows: int = 0, reads: int = 0, run_infos: int = 0, files_with_errors: int = 0)[source]

Bases: object

Holds info about recovered data.

__init__(signal_rows: int = 0, reads: int = 0, run_infos: int = 0, files_with_errors: int = 0) None
files_with_errors: int = 0
reads: int = 0
run_infos: int = 0
signal_rows: int = 0
do_consistency_check(path: Path, recovered: RecoveredData) bool[source]

Count the number of recoverd records in path updating recovered. Returns True is this file was successfully recovered

is_file_ok(path: Path) bool[source]
main()[source]
recover_pod5(inputs: List[Path], force_overwrite: bool, recursive: bool)[source]

Given a list of truncated pod5 files, recover their data.