<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Schellen</id>
	<title>Genome Analysis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Schellen"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/wiki/Special:Contributions/Schellen"/>
	<updated>2026-09-24T08:47:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=10414</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=10414"/>
		<updated>2014-05-20T19:11:30Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==GREGOR==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;GREGOR&#039;&#039;&#039; (&#039;&#039;&#039;G&#039;&#039;&#039;enomic &#039;&#039;&#039;R&#039;&#039;&#039;egulatory &#039;&#039;&#039;E&#039;&#039;&#039;lements and &#039;&#039;&#039;G&#039;&#039;&#039;was &#039;&#039;&#039;O&#039;&#039;&#039;verlap algo&#039;&#039;&#039;R&#039;&#039;&#039;ithm) is a tool built to evaluate global enrichment of trait-associated variants in experimentally annotated epigenomic regulatory features. &lt;br /&gt;
&lt;br /&gt;
Because all reference data are version hg19, please make sure that your index SNP list and BED files are also version hg19.&lt;br /&gt;
&lt;br /&gt;
== Get GREGOR Source Codes ==&lt;br /&gt;
&lt;br /&gt;
=== Download from webpage === &lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
=== Download from GitHub with Git ===&lt;br /&gt;
You can create your own git clone(copy) using:&lt;br /&gt;
&lt;br /&gt;
  git clone https://github.com/jinchen-umich/FallInBed.git&lt;br /&gt;
or&lt;br /&gt;
  git clone git://github.com/jinchen-umich/FallInBed.git&lt;br /&gt;
&lt;br /&gt;
Either of these two commands creates a directory called FallInBed in the current directory.&lt;br /&gt;
&lt;br /&gt;
=== Update your copy ===&lt;br /&gt;
If you have already downloaded your copy, use the following commands to update:&lt;br /&gt;
  1. cd pathToYourCopy/FallInBed&lt;br /&gt;
  2. git pull&lt;br /&gt;
&lt;br /&gt;
=== Download From GitHub without Git ===&lt;br /&gt;
If there is no git in your system, you can still download from GitHub:&lt;br /&gt;
# Latest Code (master branch)&lt;br /&gt;
#: via Website&lt;br /&gt;
#:# Go to : https://github.com/jinchen-umich/FallInBed&lt;br /&gt;
#:# Click on the &amp;lt;code&amp;gt;Download ZIP&amp;lt;/code&amp;gt; button on the right side panel.&lt;br /&gt;
#: via Command Line&lt;br /&gt;
#:: &amp;lt;code&amp;gt;wget https://github.com/jinchen-umich/FallInBed/archive/master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading the file, uncompress (unzip/untar) it.  The directory created will be named &amp;lt;code&amp;gt;FallInBed&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Build GREGOR ==&lt;br /&gt;
&lt;br /&gt;
To build GREGOR, copy the GREGOR package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After you unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you will get 47 reference files in the directory &amp;quot;~/ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  REF_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/ref/ ## reference directory&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = True&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
REF_DIR: Define reference file directory which you download at here.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
*Note:  SNPs that cannot be converted from rsID to chr:pos format are listed in the output file rsid.index.snp.txt.  SNPs for which there are no LD proxies or no MAF data available are listed in the output file nonannoted.index.snp.txt.&lt;br /&gt;
&lt;br /&gt;
== Testing GREGOR ==&lt;br /&gt;
There is an example directory in ~/FallInBed. You can find index SNP file, 3 bed files, bed file index and example config file.&lt;br /&gt;
After change your config file, you can run a test.&lt;br /&gt;
&lt;br /&gt;
  perl ~/FallInBed/script/FallInBed.pl --conf ~/FallInBed/example/example.conf&lt;br /&gt;
&lt;br /&gt;
After running 2 minutes +/- 1 minutes. You will get result file &amp;quot;StatisticSummaryFile.txt&amp;quot; in your defined output directory.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
GREGOR is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] with any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=9133</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=9133"/>
		<updated>2013-12-10T18:32:30Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Get FallInBed Source Codes ==&lt;br /&gt;
&lt;br /&gt;
=== Download FallInBed from webpage === &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
=== Download from GitHub with Git ===&lt;br /&gt;
You can create your own git clone(copy) using:&lt;br /&gt;
&lt;br /&gt;
  git clone https://github.com/jinchen-umich/FallInBed.git&lt;br /&gt;
or&lt;br /&gt;
  git clone git://github.com/jinchen-umich/FallInBed.git&lt;br /&gt;
&lt;br /&gt;
Either of these two commands creates a directory which called FallInBed in the current directory.&lt;br /&gt;
&lt;br /&gt;
=== Update your copy ===&lt;br /&gt;
If you have already gotten your copy, using the following commands to update:&lt;br /&gt;
  1. cd pathToYourCopy/FallInBed&lt;br /&gt;
  2. git pull&lt;br /&gt;
&lt;br /&gt;
=== Download From GitHub without Git ===&lt;br /&gt;
If there is no git in your system, you still can download from GitHub:&lt;br /&gt;
# Latest Code (master branch)&lt;br /&gt;
#: via Website&lt;br /&gt;
#:# Goto : https://github.com/jinchen-umich/FallInBed&lt;br /&gt;
#:# Click on the &amp;lt;code&amp;gt;Download ZIP&amp;lt;/code&amp;gt; button on the right side panel.&lt;br /&gt;
#: via Command Line&lt;br /&gt;
#:: &amp;lt;code&amp;gt;wget https://github.com/jinchen-umich/FallInBed/archive/master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading the file, uncompress (unzip/untar) it.  The directory created will be named &amp;lt;code&amp;gt;FallInBed&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you will get 47 reference files in the directory &amp;quot;~/ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  REF_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/ref/ ## reference directory&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = True&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
REF_DIR: Define reference file directory which you download at here.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
*Note:  SNPs that cannot be converted from rsID to chr:pos format are listed in the output file rsid.index.snp.txt.  SNPs for which there are no LD proxies or no MAF data available are listed in the output file nonannoted.index.snp.txt.&lt;br /&gt;
&lt;br /&gt;
== Testing FallInBed ==&lt;br /&gt;
There is an example directory in ~/FallInBed. You can find index SNP file, 3 bed files, bed file index and example config file.&lt;br /&gt;
After change your config file, you can run a test.&lt;br /&gt;
&lt;br /&gt;
  perl ~/FallInBed/script/FallInBed.pl --conf ~/FallInBed/example/example.conf&lt;br /&gt;
&lt;br /&gt;
After running 2 minutes +/- 1 minutes. You will get result file &amp;quot;StatisticSummaryFile.txt&amp;quot; in your defined output directory.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8427</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8427"/>
		<updated>2013-08-29T14:46:47Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Results Output */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = True&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
*Note:  SNPs that cannot be converted from rsID to chr:pos format are listed in the output file rsid.index.snp.txt.  SNPs for which there are no LD proxies or no MAF data available are listed in the output file nonannoted.index.snp.txt.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8426</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8426"/>
		<updated>2013-08-29T14:46:01Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Results Output */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = True&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
*Note:  SNPs that cannot be converted from rsID to chr:pos format are listed in the output file rsid.index.snp.txt.  SNPs for which there are no LD proxies or for which there is no MAF data available are listed in the output file nonannoted.index.snp.txt.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8415</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8415"/>
		<updated>2013-08-27T19:59:51Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = True&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8414</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8414"/>
		<updated>2013-08-27T19:35:43Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Basic Usage Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8413</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8413"/>
		<updated>2013-08-27T19:35:16Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Build FallInBed */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory you want, and then run the following command:&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8412</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8412"/>
		<updated>2013-08-27T19:34:52Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Download reference files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8411</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8411"/>
		<updated>2013-08-27T19:32:46Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file contains a single column of trait-associated input SNPs, without a header. Variants can be listed in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8410</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8410"/>
		<updated>2013-08-27T19:31:07Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Configuration File */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or hg19 chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the datasets (e.g. BED files) to be used for enrichment analysis. Use complete paths to file locations and make sure positions are in hg19 format.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8409</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8409"/>
		<updated>2013-08-27T19:28:01Z</updated>

		<summary type="html">&lt;p&gt;Schellen: /* Results Output */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or their LD proxies that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8408</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8408"/>
		<updated>2013-08-27T19:26:48Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The individual datasets used in the enrichment analysis&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or LD proxies (r2&amp;gt;0.7) that overlaps regulatory regions in each dataset&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a dataset compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8407</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8407"/>
		<updated>2013-08-27T19:24:58Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
&lt;br /&gt;
Bed_File: The BED file containing the positions for a particular functional domain&lt;br /&gt;
&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or LD proxies (r2&amp;gt;0.7) that overlaps BED file&lt;br /&gt;
&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a BED file compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8406</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8406"/>
		<updated>2013-08-27T19:24:27Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Results Output ==&lt;br /&gt;
The file StatisticSummaryFile.txt in the output directory contains enrichment results with the following information:&lt;br /&gt;
Bed_File: The BED file containing the positions for a particular functional domain&lt;br /&gt;
InBed_Index_SNP: Number of index SNPs or LD proxies (r2&amp;gt;0.7) that overlaps BED file&lt;br /&gt;
Pvalue: P-value calculated assuming a sum of binomial distributions to represent the number of index SNPs (or LD proxies) that overlap a BED file compared to the expectation observed in the matched control sets&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8244</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8244"/>
		<updated>2013-08-23T15:41:58Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
In the config file, there are several parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8243</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8243"/>
		<updated>2013-08-23T15:35:13Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  RANDOM_LIST_NUM = 1000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the configure file, there are 8 parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This file lists the BED files to be used for enrichment analysis. Use complete paths to their locations.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
RANDOM_LIST_NUM: Define how many random lists, e.g. 100 or 1000&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is the result of collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8242</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8242"/>
		<updated>2013-08-23T15:30:20Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  RANDOM_LIST_NUM = 1000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the configure file, there are 8 parameters to adjust:&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: This file lists the trait-associated input SNPs for enrichment analysis. In this file, there is a single column without a header. Index SNPs can be in rsid or chr:pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: This is a file listing the BED files with complete paths to their locations to be used for enrichment analysis.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: These two parameters define the index SNP LD proxies by R2 threshold and LD window size.&lt;br /&gt;
&lt;br /&gt;
RANDOM_LIST_NUM: Define how many random lists, e.g. 100 or 1000&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder, where the script will create multiple sub-directories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: Define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
BEDFILE_IS_SORTED: True or false, depending on whether the BED files listed in the index file are sorted.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is a result from collaborative efforts by Cristen Willer, Jin Chen, Wei Zhou, Ellen Schmidt, He Zhang, and Goncalo Abecasis. Please email Cristen Willer [cristen@umich.edu] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8241</id>
		<title>GREGOR</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=GREGOR&amp;diff=8241"/>
		<updated>2013-08-23T15:09:20Z</updated>

		<summary type="html">&lt;p&gt;Schellen: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FallInBed==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FallInBed&#039;&#039;&#039; is a tool to test for global enrichment of trait-associated variants in experimentally annotated regulatory domains. Because all reference data are hg19, make sure your index SNP list and BED files are also in hg19 version.&lt;br /&gt;
&lt;br /&gt;
== Download FallInBed == &lt;br /&gt;
&lt;br /&gt;
Through this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download], you can download a copy of FallInBed.&lt;br /&gt;
&lt;br /&gt;
== Build FallInBed ==&lt;br /&gt;
&lt;br /&gt;
To build FallInBed, copy the FallInBed package to the directory your want, and then run the following command.&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, you can find 3 directories in &amp;quot;FallInBed&amp;quot; (./example  ./lib  ./script).&lt;br /&gt;
&lt;br /&gt;
== Download reference files ==&lt;br /&gt;
&lt;br /&gt;
Download the reference files from this link [http://www.sph.umich.edu/csg/jich/FallInBed/  FallInBed Download],then un-package the file&lt;br /&gt;
&lt;br /&gt;
  tar xzvf FallInBed.ref.tar.gz&lt;br /&gt;
&lt;br /&gt;
After unzip, copy all reference files to directory &amp;quot;./ref&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Basic Usage Example ==&lt;br /&gt;
&lt;br /&gt;
When you run &lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl&lt;br /&gt;
&lt;br /&gt;
you will get some information about FallInBed&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
FallInBeds.pl : Functional annotation of trait-associated variants&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
This program tests for enrichment of an input list of trait-associated index&lt;br /&gt;
SNPs ([chr:pos] format or rsID, hg19) in experimentally annotated regulatory&lt;br /&gt;
domains (BED files).&lt;br /&gt;
&lt;br /&gt;
Note: the index SNPs should be hg19 version. All maf and LD data are from 1000G&lt;br /&gt;
EUR samples! (Release date : May 21, 2011)&lt;br /&gt;
&lt;br /&gt;
Version : 1.1.0&lt;br /&gt;
&lt;br /&gt;
Report Bug(s) : jich[at]umich[dot]edu&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
Usage : perl FallInBeds.pl --conf [conf.file]&lt;br /&gt;
----------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command is a typical command line:&lt;br /&gt;
&lt;br /&gt;
  perl FallInBed.pl --conf [conf.file]&lt;br /&gt;
&lt;br /&gt;
Example configuration file can be found in example directory. Users have to modify the configurations before running.&lt;br /&gt;
&lt;br /&gt;
== Configuration File  ==&lt;br /&gt;
The example configuration file below illustrate how to configure the FallInBed configuration file.&lt;br /&gt;
&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  # CHIPSEQ ENRICHMENT CONFIGURATION FILE&lt;br /&gt;
  # This configuration file contains run-time configuration of&lt;br /&gt;
  # CHIP_SEQ ENRICHMENT&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  ## KEY ELEMENTS TO CONFIGURE : NEED TO MODIFY&lt;br /&gt;
  ###############################################################################&lt;br /&gt;
  INDEX_SNP_FILE = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.index.snps.rsid.list.txt    ## e.g. /home/myid/data/FallInBed/example.snp.txt&lt;br /&gt;
  BED_FILE_INDEX = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.bed.file.index ## e.g. /home/myid/data/FallInBed/bedfiles.index&lt;br /&gt;
  R2THRESHOLD = 0.7&lt;br /&gt;
  LDWINDOWSIZE = 1000000&lt;br /&gt;
  OUT_DIR = /net/dumbo/home/jchen/prj/chiseq/codes/FallInBed_Binomial/example/example.rsid.20130808/ ## e.g. /home/myid/data/FallInBed/result/&lt;br /&gt;
  MIN_NEIGHBOR_NUM = 500&lt;br /&gt;
  BEDFILE_IS_SORTED = true&lt;br /&gt;
  MOSRUN = mosbatch -E/tmp -i -m2000 -j20,43,122,135,137,138,149,151,153,154,155,156,162,163 sh -c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In configure file, there are 10 parameters.&lt;br /&gt;
&lt;br /&gt;
INDEX_SNP_FILE: define the index SNP file. In this file, there is only one column without header. Index SNP can be rsid or chr/pos format.&lt;br /&gt;
&lt;br /&gt;
BED_FILE_INDEX: define the bed files.&lt;br /&gt;
&lt;br /&gt;
R2THRESHOLD and LDWINDOWSIZE: these two parameters are defined the LD buddy.&lt;br /&gt;
&lt;br /&gt;
RANDOM_LIST_NUM: define how many random lists, e.g. 100 or 1000&lt;br /&gt;
&lt;br /&gt;
OUT_DIR: All result files are saved to this folder. In this folder, script will create multi-subdirectories. Index SNPs are in the folder &amp;quot;index_SNP&amp;quot;; Random SNPs are in the folder &amp;quot;random_SNP&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
MIN_NEIGHBOR_NUM: define neighbor number around index SNP. Script will find no less than this number around every index SNP.&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements  ==&lt;br /&gt;
FallInBed is a result from collaborative effort by Cristen Willer, Jin Chen, Wei Zhou, Ellen Marie Schmidt, He Zhang, and Goncalo Abecasis. Please email to Cristen Willer [cristen@umich.edu ] for any questions.&lt;/div&gt;</summary>
		<author><name>Schellen</name></author>
	</entry>
</feed>