You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Jiu9Shen
changed the title
Possible methods for further vcf_filter UnitTest
Possible methods for further development of vcf_filter UnitTest
Aug 10, 2018
For each file format we should have a check that the file generated is of the expected format. I would create a helper method in your class for each format: like checkABHformatCompliance($file). Then you can call this function within your existing tests.
Also, the advantage of a testing suite is it can do much more intensive checks. I would do checks like: if I say filter "Only include Bi-allelic SNPs " that all the SNPs in the output file are bi-allelic and that you get the same number of SNPs after filtering that you do when this is done on the command-line. I would do this for all filter criteria, for all formats. Remember to use helper methods & arguements rather then copy/paste code.
No description provided.
The text was updated successfully, but these errors were encountered: