Support empty analyses/VCFs
Background
With ella-anno#8 (closed) resolved, we now need to ensure that we support empty VCFs being imported into ELLA, and that the workflow supports it.
Implementation
- Add a new analyses to the testdata (
src/vardb/testdata/analyses/e2e/
), e.g.brca_sample_empty.HBOC_v01
, similar to the other analyses, but with an empty vcf (header, but no variants). - Write an e2e test (e.g.
workflow_empty_analyses.js
) insrc/webui/tests/e2e/tests/
. Make sure to test that it loads, can be started, moved to different workflow step ("Finish", send to e.g. Review) and finalized. Also make sure that you can move between INFO, CLASSIFICATION and REPORT.
Before writing the e2e-test, test the deposit and workflow manually by doing a make dbreset TESTSET=e2e
. The analyses should then be available in the UI, given that the deposit is successful.
Edited by Øyvind Evju