auto_process_ngs.commands.update_cmd
- auto_process_ngs.commands.update_cmd.update(ap, update_paths=True, update_project_metadata=True, update_sync_projects=True, update_qc_reports=True)
Update metadata and artefacts in analysis directory
- Parameters:
ap (AutoProcessor) – autoprocessor pointing to the analysis directory to publish QC for
update_paths (bool) – whether to update analysis directory paths in metadata and parameter files (default: True)
update_project_metadata (bool) – whether to update metadata stored in ‘projects.info’ and in the project directories (default: True)
update_sync_projects (bool) – whether to update projects listed in ‘projects.info’ against project directories on the filesystem (default: True)
update_qc_reports (bool) – whether to update QC reports in projects where existing report is older than the project metadata file (default: True)