Closed oalavijeh closed 1 year ago
Hi,
Thanks for your question!
If you want to download summary statistics for a single phenotype, then starting with the Python script you linked to: 1) Delete lines 7-13 2) Below current line 6, start a new line which is:
genebass_variant = genebass_variant.filter_cols(genebass_variant.phenocode == [the phenocode you want])
There may be multiple ways to reference the phenotype you want, but phenocode may work. You can look up the phenocode on Genebass. For example, if you wanted to download the statistics for creatinine, the phenocode is 30700 based on the information on this page: https://app.genebass.org/gene/undefined/phenotype/continuous-30700-both_sexes--irnt
Hope this helps, and let us know if any questions, Dan
Dear Dan,
Many thanks that is super helpful!
Last question. Is the example scripts to take the genebass data forwards: https://github.com/ajaynadig/bhr/blob/master/example/run_BHR.R ?
Or do I use the bipolar example and then just put in my own data. Does the python genebass output need as much wrangling as the biploar data example?
Many thanks
Hi,
For basic BHR usage with Genebass-downloded summary statistics, please refer to this page on the Wiki:
https://github.com/ajaynadig/bhr/wiki/Example:-Height-&-BMI-(basic)
As well as the Wiki pages on preparing input files and running BHR.
Hope this helps! Dan
Thanks again!
Dear BHR team,
Many thanks for the great tool. I am looking to run BHR on a subset of genebass phenotypes and am not a native python used. Looking at the https://github.com/ajaynadig/bhr/blob/master/example/genebass_variant_filter_january_2023.py#L8 srcipt:
All the best