Skip to content

Commit

Permalink
Fix Table1.txt beta values. Add copyright & citations.
Browse files Browse the repository at this point in the history
  • Loading branch information
lell committed Aug 6, 2020
1 parent 08da686 commit 4637902
Show file tree
Hide file tree
Showing 37 changed files with 292 additions and 222 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
The peaks software repository
peaks. Copyright (c) 2020. Winfield Chen.

The peaks software repository, implementing the cluster identification methods described in *Enhanced brain imaging genetics in UK Biobank*. Operating on summary statistics for many phenotypes, this work clusters lead associations into phenotype/genetic variant pairs that are close together in genetic distance, registering hits across phenotypes into a set of clusters. This work is released under the BSD 2-clause license. If you use this software, please cite *S.M. Smith, G. Douaud, W. Chen, T. Hanayik, F. Alfaro-Almagro, K. Sharp and L.T. Elliott. Enhanced brain imaging genetics in UK Biobank. 2020. biorxiv preprint 10.1101/2020.07.27.223545v1*

Genetic distances are computed using the recombination maps provided by the 1,000 Genomes Project, Phase 3 (The 1000 Genomes Project Consortium, 2015). Positions of genetic variants must be recorded in GRCh37/hg19 coordinates.

# Build

Expand Down Expand Up @@ -36,11 +40,11 @@ The output is as before except filtered to only the X chromosome.
The output should be identical to `../big40/Table2X.txt`.

```
./peaks --output-path . ../big40/Table1fmg.txt
./peaks --output-path . ../big40/Table1fm.txt
```
The output is the clusters in the Fisher hits.
The lead rsid of the last cluster should be `rs5955807` with associated phenotype `V1991`.
The output should be identical to `../big40/Table2fmg.txt`.
The output should be identical to `../big40/Table2fm.txt`.

```
./peaks --output-path . --find rs5955807 --variants-file ~/Downloads/variants.txt --chromosome X ../big40/Table1.txt
Expand Down
436 changes: 218 additions & 218 deletions big40/Table1.txt

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions format/format.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// peaks. Copyright (c) 2020. Winfield Chen.

#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions format/format.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// peaks. Copyright (c) 2020. Winfield Chen.

#ifndef PEAKS_FORMAT_H
#define PEAKS_FORMAT_H
#include <stdint.h>
Expand Down
2 changes: 2 additions & 0 deletions heap/heap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// peaks. Copyright (c) 2020. Winfield Chen.

#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
Expand Down
Loading

0 comments on commit 4637902

Please sign in to comment.