Static Public Member Functions | |
| static Map< String, Map< Gene, Collection< Gene > > > | mapGenesToOverlappers (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet) |
| static Map< String, Collection < Gene > > | getOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet) |
| static Map< String, Collection < Gene > > | getOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, boolean verbose) |
| static Map< String, Collection < Gene > > | getOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, Map< String, Collection< Gene >> excludeSet) |
| static Map< String, Collection < Gene > > | getOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, Map< String, Collection< Gene >> excludeSet, boolean verbose) |
| static int | countOverlappers (Map< String, Collection< Gene >> regionsToCount, Map< String, Collection< Gene >> regionsToOverlapWith) |
| static int | countOverlappers (Map< String, Collection< Gene >> regionsToCount, Map< String, Collection< Gene >> regionsToOverlapWith, Map< String, Collection< Gene >> excludeSet) |
| static Map< String, Collection < Gene > > | getOverlapWithRandomizedPositions (Map< String, Collection< Gene >> regions, Map< String, Collection< Gene >> intersectGenes) |
| static Map< String, Collection < Gene > > | getOverlapWithRandomizedPositions (Map< String, Collection< Gene >> regions, Map< String, Collection< Gene >> intersectGenes, Map< String, Collection< Gene >> excludeFeatures) |
| static int | numOverlappingBases (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet) |
| static int | numOverlappingBases (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, Map< String, Collection< Gene >> excludeSet) |
| static int | numOverlappingGenes (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet) |
| static int | numOverlappingGenes (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, Map< String, Collection< Gene >> excludeGenes) |
| static void | writeOverlap (String geneFile, String intersectFile, String outFile, boolean randomizePositionsWithinEachGene) throws IOException |
| static void | writeOverlap (String geneFile, String intersectFile, String excludeFile, String outFile, boolean randomizePositionsWithinEachGene) throws IOException |
| static void | writeOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, String outFile, boolean randomizePositionsWithinEachGene) throws IOException |
| static void | writeOverlap (Map< String, Collection< Gene >> genes, Map< String, Collection< Gene >> intersectSet, Map< String, Collection< Gene >> excludeSet, String outFile, boolean randomizePositionsWithinEachGene) throws IOException |
| static void | writeGeneralStats (String geneFile, String intersectFile1, String intersectFile2, String excludeFile, String outFile) throws IOException |
| static void | main (String[] args) throws IOException |
|
static |
Count number of regions that overlap at least one region in other set
| regionsToCount | Regions to count |
| regionsToOverlapWith | Potential overlappers |


|
static |
Count number of regions that overlap at least one region in other set
| regionsToCount | Regions to count |
| regionsToOverlapWith | Potential overlappers |
| excludeSet | Exclude regions from first set if they overlap a region in this set |

|
static |
Get overlap between two gene sets
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |

|
static |
Get overlap between two gene sets
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| verbose | Print messages |

|
static |
Get overlap between two gene sets and automatically exclude all genes in a set
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| excludeSet | Exclude genes if they overlap a region from this set |

|
static |
Get overlap between two gene sets and automatically exclude all genes in a set
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| excludeSet | Exclude genes from first gene set if they overlap a gene from this set |
| verbose | Print messages |
|
static |
Intersect a set of regions with another set of genes and randomize positions of the regions within each gene
| regions | The regions of interest |
| intersectGenes | The genes to intersect with and randomize within |

|
static |
Intersect a set of regions with another set of genes and randomize positions of the regions within each gene
| regions | The regions of interest |
| intersectGenes | The genes to intersect with and randomize within |
| excludeFeatures | Do not consider features that overlap one of these |
|
static |
| args |
| IOException |

|
static |
Map each gene to the collection of overlappers in another set
| genes | The genes by chromosome |
| intersectSet | The other set by chromosome |
|
static |
Get number of overlapping bases between two gene sets
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
|
static |
Get number of overlapping bases between two gene sets and automatically exclude all genes in a set
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| excludeSet | Exclude genes if they overlap a gene from this set |

|
static |
Get number of overlapping genes between two gene sets
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |

|
static |
Get number of overlapping genes between two gene sets and automatically exclude all genes in a set
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| excludeGenes | Exclude genes from first gene set if they overlap a gene from this set |

|
static |
Write basic overlap stats to a file
| geneFile | Gene bed file |
| intersectFile1 | Intersect set 1 bed file |
| intersectFile2 | Intersect set 2 bed file |
| excludeFile | Exclude genes if they overlap a gene in this bed file |
| outFile | Output file of stats |
| IOException |


|
static |
Get overlap between two gene sets specified in bed files and write to a file
| geneFile | Bed file of genes |
| intersectFile | Bed file of regions to intersect with |
| outFile | Output bed file to write genes representing the overlaps |
| randomizePositionsWithinEachGene | Whether to randomize the position of each overlap within the gene |
| IOException |

|
static |
Get overlap between two gene sets specified in bed files, automatically excluding all genes in a set, and write to a file
| geneFile | Bed file of genes |
| intersectFile | Bed file of regions to intersect with |
| excludeFile | Exclude genes if they overlap a gene from this set |
| outFile | Output bed file to write Genes representing the overlaps |
| randomizePositionsWithinEachGene | Whether to randomize the position of each overlap within the gene |
| IOException |

|
static |
Get overlap between two gene sets and write to a file
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| outFile | Output bed file to write Genes representing the overlaps |
| randomizePositionsWithinEachGene | Whether to randomize the position of each overlap within the gene |
| IOException |

|
static |
Get overlap between two gene sets, automatically excluding all genes in a set, and write to a file
| genes | Genes by chromosome |
| intersectSet | Set to intersect with by chromosome |
| excludeSet | Exclude genes if they overlap a gene from this set |
| outFile | Output bed file to write Genes representing the overlaps |
| randomizePositionsWithinEachGene | Whether to randomize the position of each overlap within the gene |
| IOException |

1.8.7