Review the QC report (for MIC3109) and the Typing reports (for MIC4107 and MIC4109) to make sure the results do not deviate from those presented in AMSystem doc 1490 section 2.7 (for non-negative samples)
Check that the report MIC4109 only has swedish language, and that the language is sensible
Check that the typing report for MIC4109 looks normal in printing (apple-p) mode; e.g. no unreadable columns or bad table splits
Check that the Teknisk beskrivning av analysen, Analysbegränsningar för, Avvikelser från metoden, Signatur för godkännande av rapport are all present and sensible.
Check that the QC thresholds mentioned in the config are correctly appled to all QC reports.
Check that the database mentioned in the configuration has group write access.
Go to the folder mentioned under config['folders']['reports'] and check for duplicates of the reports generated
Pick a subset of samples of MIC4109 (at least 3). Doublecheck that Ankomstdatum, Datum prep, datum sekvensering, Metod prep and Metod sekvensering mimic the values in the LIMS.
Check that Verifierad is correctly established for at least 5 samples.
Create a fake fastq file of size 2gb and run through microSALT analyse. Verify that it sends a warning. Immediately cancel the analysis afterwards.
Rename one of the samples in MIC4109 to its external name counterpart. Verify that the run still starts and resolves.
Test results
The microSALT utils report command had to be utilized since currently hasta cannot send e-mails automatically.
MIC4107A6 now has a ST due to updated databases. Control response is slightly differently phrased. Otherwise; MIC3109 QC and MIC4107 & MIC4109 Typing and Resistance results are identical.
Language is all swedish and understandable. Only phrases "Datum prep" and "Datum sekvensering" sounds a bit stilted.
In printing mode for the Typing report of MIC4109 all tables are legible and without bad splits
All four sections are present in all reports and legible
Reports MIC4109 and MIC4107 have the QC highlights consistently applied. However, MIC4107 had several samples hit bp_10x_fail threshold. Consider reducing it to 75-70%.
Database in /home/proj/stage/microbial/meta/ has group write access
Duplicate reports are found in /home/proj/stage/microbial/results/reports/
Checked MIC4109A1-A5. For all samples,
ankomstdatum = CG002 - Reception Control Date arrived at..,
libprep datum = last CG002 - Aggregate QC (Library Validation) date,
sekvenserings datum = finish date i CG002 - Illumina Sequencing (Illumina ???),
metod prep = CG002 - Microbial Library Prep (Nextera),
metod sekvensering = CG002 - Cluster Generation Metod & Document
Verified has correctly been established for all samples in MIC4107. Sample A4 and A5 correctly lacks verification flag.
Created two fake files in fake project MIC3109A1 with the command dd if=/dev/zero of=file.txt count=1024 bs=1048576. The message triggers.
Sample MIC4109A1 was renamed to 18ET500035. Analysis started successfully.
Sign-offs
[x] Code reviewed by @sylvinite
[x] Code tested by @sylvinite
[x] Approved to run at Clinical-Genomics by @ingkebil
Description
Typing and QC report(s) have been updated. This primarily concern end-users. Much of the changes stemmed from the latest SWEDAC review.
End-user:
Bioinformatics:
Internals:
Primary function of PR
[ ] Hotfix
[ ] Patch
[x] Minor functionality improvement
[ ] New type of analysis
[ ] Backward-breaking functionality improvement
[ ] This change requires internal documents to be updated
[ ] This change requires another repository to be updated
Testing
On hasta:
bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-microsalt-stage.sh BRANCHNAME
us
export MICROSALT_CONFIG=/home/proj/dropbox/microSALT.json
source activate S_microSALT
microSALT analyse project MIC3109 --qc_only
microSALT analyse project MIC4107
microSALT analyse project MIC4109
Test results
The microSALT utils report command had to be utilized since currently hasta cannot send e-mails automatically.
dd if=/dev/zero of=file.txt count=1024 bs=1048576
. The message triggers.Sign-offs