diff --git a/docs/SOP_archiving.md b/docs/SOP_archiving.md index 8143cd147efd04cd0f520267539aec5b8284f39f..7cab069e62f00bbc578d681a4aa4891763311204 100644 --- a/docs/SOP_archiving.md +++ b/docs/SOP_archiving.md @@ -97,7 +97,15 @@ cd /home/u035/project/trio_whole_exome/logs mv *.project_id.* complete/ ``` -7. Confirmation of copy to tape. EPCC runs a cron job on Monday mornings at 8am to check the DMF file state for all files in /archive/u035/trio_whole_exome. This produces a text report at /archive/u035/confirmation using the format yyyy-mm-dd. +7. Clean up the output directory. + +``` +cd /home/u035/project/trio_whole_exome/ +mkdir ${version}_${project_id} +mv *${version}_${project_id}* ${version}_${project_id}/ +``` + +8. Confirmation of copy to tape. EPCC runs a cron job on Monday mornings at 8am to check the DMF file state for all files in /archive/u035/trio_whole_exome. This produces a text report at /archive/u035/confirmation using the format yyyy-mm-dd. Check for ‘DUL’ entries for files in the confirmation report. The grep command below excludes directories, which are generally marked as ‘REG’, blank lines, and total file size lines. If not all entries are DUL, check the non-DUL ones for error states as below. The expectation is that some files may be in the process of migration; in which case, check again in the following week’s report.