Skip to main content

Table 2 Example of distributing N SNPs to m(m+1)/2 processor cores (Pi, i = 1, m(m+1)/2) for the case where N/m is an integer, where m = N/n = number of subsets of SNPs with each subset having n SNPs (m and n are assumed integers).

From: Parallel and serial computing tools for testing single-locus and epistatic SNP effects of quantitative traits in genome-wide association studies

Subset 1:

SNP1 ... SNPn

Subset 2:

SNPn+1... SNP2n

... ...

Subset m:

SNPn(m-1)+1 ... SNPN

 

P1

P2

... ...

Pm

Subset 1:

SNP1 ... SNPn

 

Pm+1

... ...

P2m-1

Subset 2:

SNPn+1... SNP2n

  

... ...

... ...

... ...

   

Pm(m+1)/2

Subset m:

SNPn(m-1)+1 ... SNPN

  1. Each diagonal core receives one subset of n SNPs and computes [3n + 5n(n - 1)/2] tests, and each off-diagonal core receives two subsets of total 2n SNPs and computes 5n2 tests.