Closed ChristinaXu2017 closed 2 years ago
Could you please add in a test for PR #302 - thanks
Could you please add in a test for PR #302 - thanks
Have you been able to do this?
Would it be a good idea to create a test that writes out a million and one records and checks that only one header line is written to the output?
I believe it is not needed. First I already tested on real data, this problem is solved. Second, a unit test is added for a new function. Thirdly, the current unit test is limited, it is too expensive for our small team to add unit tests for all existing code.
If you consist on unit test, we may be able to create a regression test for qpileup, then we can use a small exon bam test on GRCh38 with multi-threads.
Description
qpileup view mode will create an CSV output, the first two lines looks like:
So the bug is that the "#Mesothelioma.HiSeqXTen.GRCh37.normal.DNA.h5” keeps getting written to the view file every one million rows - this breaks the file as a CSV. Code is updated and this line will only appear once and also moved to the new CSV header.
it would be good to have a header on these view mode output files, code is updated, the new header looks like:
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
unit test is updated, tested on a real data set
Are WDL Updates Required?
no
Checklist: