Using The Test Sets - mattravenhall/SV-Pop GitHub Wiki
Test sets are provided for both the Analysis and Visualisation modules to help test and try out both aspects of SV-Pop. Both datasets sparse, to ensure fast run times, and biologically meaningless.
Analysis Module
Input Files
This test set is located within Analysis/TestSet/ and should contain:
input.txtcontaining paths to the example vcf input files, found in Analysis/TestSet/ExampleVCFspheno.txtsub-population metadata for each sampleannotation.txt.tsv annotation fileexcluded.csvregions to excluderunTest.shBash script for running setting off the test run (run this asbash runTest.shto perform a test run)
Running
A bash script runTest.sh is provided in Analysis/TestSet/, simply run this.
Expected Output
TestRun_DEL_chrALL_variants_annotated_v1-0-1.csvcontaining 19 variantsTestRun_DEL_chrALL_windows_annotated_v1-0-1.csvcontaining 22 windowsSVPop_Logs/containing log files for each chromosome and indicating variants removed for excessive homozygous and heterozygous reference calls, poor quality, or overlapping an excluded region.
Visualisation Module
Input Files
This test set is located within Visualisation/Files/TestSet/ and should contain:
(DEL/DUP/INS/INV)_Variants.csv: containing variant frequencies(DEL/DUP/INS/INV)_Windows.csv: containing window-based counts(DEL/DUP/INS/INV)_AllIndex.csv: containing all variant locations(DEL/DUP/INS/INV)_FrqIndex.csv: containing frequent variant locationsannotation.txt: containing feature annotations
Running
First copy all test files to Visualisation/Files/, then run Rscript easyRun.r.
Expected Output
The visualisation module should automatically open in your default browser, following installation of dependencies.