-
Notifications
You must be signed in to change notification settings - Fork 2
3. Reformatting and Harmonization
GWAS datasets are first cut in chunks of 125,000 variants* by metagwastoolkit.run.sh
, and subsequently parse and harmonized by gwas.parser.R
and gwas2ref.harmonizer.py
.
During parsing the GWAS dataset will be re-formatted to fit the downstream pipeline. In addition some variables are calculated (if not present), for instance "minor allele frequency (MAF)", and "minor allele count (MAC)".
During harmonization the parsed dataset will be compared to a reference (see below) and certain information from the reference is obtained and added to the parsed data.
Finally, gwas.wrapper.sh
will automagically wrap up all the parsed and harmonized data into two seperate datasets, entitled dataset.pdat
for the parsed data, and dataset.rdat
for the harmonized data.
* You can change this number in the metagwastoolkit.conf
file.
Copyright (c) 2015-2022 Sander W. van der Laan | s.w.vanderlaan [at] gmail [dot] com | swvanderlaan.github.io.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Reference: http://opensource.org.