GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BorgwardtLab/glide-scripts: Companion scripts to the GLIDE software

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
documentation
documentation
 
 
.gitignore
.gitignore
 
 
CONST.py
CONST.py
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
compute_all_pvalues.py
compute_all_pvalues.py
 
 
compute_block_to_index.py
compute_block_to_index.py
 
 
compute_pvalues.py
compute_pvalues.py
 
 
meta_analysis.py
meta_analysis.py
 
 
meta_analysis_intermediate.py
meta_analysis_intermediate.py
 
 
naive_impute.py
naive_impute.py
 
 
plink2h5.py
plink2h5.py
 
 
process_intermediate.py
process_intermediate.py
 
 
qqplot.py
qqplot.py
 
 
rerun.py
rerun.py
 
 
rerun_confounder.py
rerun_confounder.py
 
 
rerun_confounder_h5.py
rerun_confounder_h5.py
 
 
rerun_h5.py
rerun_h5.py
 
 
split_glide.py
split_glide.py
 
 
transpose.py
transpose.py
 
 
utils.py
utils.py
 
 

Repository files navigation

Glide companion scripts & tutorial

Summary

These Python scripts are provided for basic tasks around the usage of the GLIDE package for the detection of epistasis in GWAS data.

T. Kam-Thong, C.-A. Azencott, L. Cayton, B. Puetz, A. Altmann, N. Karbalai, P. G. Saemann, B. Schoelkopf, B. Mueller-Myhsok, and K. M. Borgwardt. (2012) GLIDE: GPU-Based Linear Regression for Detection of Epistasis. Human Heredity, 73 (4), 220-236 doi: 10.1159/000341885

They were mostly developed at the MLCB (Machine Learning for Computational Biology) research group of the Max Planck Institutes in Tuebingen (Germany). Thanks to Damian Roqueiro for stress-testing them and providing useful feedback!

Documentation

The documentation, which contains additional CLI instructions and short scripts, is available under documentation/HowToGLIDE.pdf

Compile the documentation with pdflatex -shell-escape documentation/HowToGLIDE.tex

Preprocessing scripts

  • qqplot.py: Plot a Q-Q plot for (single SNP) p-values, from PLINK output.
  • naive_impute.py: Impute missing values in GLIDE input file, using the most frequent value for this phenotype.
  • plink2h5.py: Convert a binary PLINK file into a .h5 file.
  • transpose.py: Transpose a PLINK .raw file into a .glideIn file.
  • split_glide.py: Write the batch file that will run GLIDE sequentially on the "tiles" created beforehand by splitting the input file.

Postprocessing scripts

  • compute_all_pvalues.py: Compute all p-values corresponding to the t-test scorse output by GLIDE. Run compute_pvalues.py on all outputs and match indices back to SNP names.
  • compute_pvalues.py: Compute the p-values corresponding to the t-test scorse output by GLIDE.
  • compute_block_to_index.py: Compute the dictionary (stored in CONST.py) used to convert between tile IDs and SNP indices.
  • CONST.py: Provide the dictionary necessary to the conversion between tile IDs and indices.
  • rerun_confounder_h5.py: Run linear regression again on a small number of SNP pairs. Include confounders. Read genotypes from .h5 file (created with plink2h5.py).
  • rerun_confounder.py: Run linear regression again on a small number of SNP pairs. Include confounders.
  • rerun_h5.py: Run linear regression again on a small number of SNP pairs. Read genotypes from .h5 file (created with plink2h5.py).
  • rerun.py: Run linear regression again on a small number of SNP pairs.
  • utils.py: Utilities that can be reused by several other scripts.
  • meta_analysis.py: An example of running a meta-analysis of the pairs of SNPs selected by running GLIDE on 4 different cohorts.

Contact

Any questions can be directed to Chloe-Agathe Azencott: chloe-agathe [dot] azencott [at] mines-paristech [dot] fr

About

Companion scripts to the GLIDE software

Resources

Readme
License
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.