zkutalik / ssimp_software

GNU General Public License v3.0
16 stars 10 forks source link

Incorporate --impute.snp, --tag.snp tests/sub1KG-tiny/EUR.via.filter.all22..impute.snps as an example #15

Closed sinarueeger closed 6 years ago

sinarueeger commented 6 years ago

A good example of a test demonstrating the speedup is 'tests/sub1KG-tiny/EUR.via.filter.all22..impute.snps'. It requests 741 SNPs via --impute.snps and the software is otherwise given no 'hint' as to the positions of the SNPs. Those SNPs are spread across all 22 chromosomes, but within just one window in each chromosome. Due to the build database, the software quickly knows which windows to skip straight to that are relevant for those 741 SNPs. You can see this in the 'output.actual' file in that folder - you can see that only the relevant windows are included.

test ssimp --gwas gwas/small.random.csv --ref ref/small.vcf.sample.vcf.gz --out output.txt --tag.snp listoftagsnps.txt