Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cfg
 
 
src
 
 
 
 
 
 
 
 

README.md

Orion: Hunting The Intolerant Regions of the Genome

This repository contains the code used for the Orion methodology (http://bit.ly/2hOI39X).

Citation

Gussow AB, Copeland BR, Dhindsa RS, Wang Q, Petrovski S, Majoros WH, Allen AS, Goldstein DB. Orion: Detecting regions of the human non-coding genome that are intolerant to variation using population genetics. PLoS ONE. 2017; 12(8): e0181604.

Preparation To Run Orion

We recommend using conda to create an environment in which to run Orion. Orion requires Python 2.7.

Orion relies on the luigi framework, with a couple of in-house modifications. Specifically, we added two new parameter types, named InputFileParameter and OutputFileParameter.

After installing the luigi framework, you'll need to add these new parameter types to your luigi installation. Append the contents of src/luigi_parameter_extension.py to the existing parameter.py file within the installed luigi package (luigi/parameter.py):

cat src/luigi_parameter_extension.py >> path/to/luigi/parameter.py

Following this, you'll need to edit the __init__.py file in the installed luigi package so that it loades the new parameter types.

In your installation of luigi, in luigi/__init__.py edit line that begins with:

from luigi.parameter import [...here you'll see a list of luigi parameter types...]

Add the new parameter types (InputFileParameter, OutputFileParameter) at the end of the import list on this line.

Calculating Orion Scores And Regions

How to calculate Orion scores:

src/Orion.py CalculateOrionScores \
--sample-size <sample_size> \
--coverage-file <coverage_file> \
--allele-counts-file <allele_counts_file> \
--window-length <window_length> \
--output-path <output_path:final output file> \
--output-directory <output_directory:temporary output files directory> \
--workers <num_workers>

Orion regions can be calculated using getMCFRegions.R. For more information, run:

Rscript src/getMCFRegions.R --help

Data Generated Using The Orion Methodology

Throughout the study we generated three datasets:

  1. Orion Scores
  2. Orion regions
  3. Coordinates of defined Orion scores, non-repeat autosomal regions that were covered in our sample

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published