Skip to content

Commit

Permalink
Update header mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
mykmal committed Sep 14, 2023
1 parent ee806c8 commit 1813f0f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: MungeSumstats
Type: Package
Title: Standardise summary statistics from GWAS
Version: 1.9.17
Version: 1.9.18
Authors@R:
c(person(given = "Alan",
family = "Murphy",
Expand Down
32 changes: 32 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## CHANGES IN VERSION 1.9.18

### New column header mappings
* "VARIANT_ID" and "RSIDS" --> "SNP"
* "P_BOLT_LMM" --> "P"
* "NCASES" --> "N_CAS"
* "N_EFFECTIVE", "N_INFORMATIVE", and "TOTAL_N" --> "N"
* "HET_P" --> "HETPVAL"
* "HET_ISQ" --> "HETISQT"
* "ALL_AF" --> "FRQ"
* "DIRECT" --> "DIRECTION"
* "ALT_EFFSIZE" --> "BETA"
* "INFORMATIVE_ALT_AC" --> "AC"

### Fixed column header mappings
* Made all uncorrected header names uppercase and removed duplicates
* "TOTALSAMPLESIZE" now maps to "N" instead of "NSTUDY"
* "MAJORALLELE", "MAJOR_ALLELE", "MAJOR-ALLELE", and "MAJOR ALLELE" now map to
"A1" instead of "A2"
* Removed the mappings for "OR-A1", "OR.A1", "OR_A1", and "BETA1" because MSS
assumes that A2 is the effect allele
* Removed mappings for "A1FREQ", "A1FRQ", "AF1", "FREQ.A1.1000G.EUR",
"FREQ.A1.ESP.EUR", "FREQ.ALLELE1.HAPMAPCEU", "FREQ1", "FREQ1.HAPMAP", and
"FRQ_A1" because MSS defines "FRQ" to be the allele frequency of A2
* Removed mappings for "CHR36", "BASE_GRCH36", "POSITION36", "POSGRCH36",
"BASEGRCH36", "POS36", "POS GRCH36", "POS.GRCH36", "POS-GRCH36", and "POS_GRCH36"
because MSS does not support the GRCh36 genome build
* Removed the ambiguous mapping "NMISS" -> "N" because "NMISS" can refer to the
number of samples with missing data
* Removed the ambiguous mapping "WEIGHT" -> "N" because "WEIGHT" can refer to
coefficient weights

## CHANGES IN VERSION 1.9.17

### Bug fix
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
Binary file modified data/sumstatsColHeaders.rda
Binary file not shown.

0 comments on commit 1813f0f

Please sign in to comment.