Aggregate on genes (or other features inside the bed file)
Aggregate on families and genes (or other features inside the bed file)
Create aggregate regions as dataset if this is given on the commandline
This created a list of combinations rdds
Created all posible combinations of variants
This returns false is the variants are to far a way
This filters region combinations when maxDistance is set
Filter combinations
creates regions to analyse
This filters if 1 of the 2 variants returns true
Create regions as dataset
This filters by looking only at a single variants, this reduces the number of combinations, this step is only there to improve performance
This reads all regions and makes a Variant dataset
Writing a stats file