Skip to content

Instantly share code, notes, and snippets.

@mocksu
mocksu / all_phenotypes.2023.4.06
Created September 2, 2023 14:06
a list of phenotype files
This file has been truncated, but you can view the full file.
id trait ncase group_name year author consortium sex pmid population unit build ncontrol category subcategory ontology note mr nsnp priority sd sample_size
ieu-b-5103 Schizophrenia 1234 public 2022 Trubetskoy V PGC Males and Females 35396580 Hispanic or Latin American logOR HG19/GRCh37 3090 Disease NA MONDO:0005090 NA NA NA NA NA 4324
ieu-b-5102 Schizophrenia 52017 public 2022 Trubetskoy V PGC Males and Females 35396580 European logOR HG19/GRCh37 75889 Disease NA MONDO:0005090 NA NA NA NA NA 127906
ieu-b-5101 Schizophrenia 12305 public 2022 Trubetskoy V PGC Males and Females 35396580 East Asian logOR HG19/GRCh37 15058 Disease NA MONDO:0005090 NA NA NA NA NA 27363
ieu-b-5100 Schizophrenia 64322 public 2022 Trubetskoy V PGC Males and Females 35396580 Mixed logOR HG19/GRCh37 90947 Disease NA MONDO:0005090 Core - East Asian and European meta analysis NA NA NA NA 155269
ieu-b-5099 Schizophrenia 76755 public 2022 Trubetskoy V PGC Males and Females 35396580 Mixed logOR HG19/GRCh37 243649 Disease NA MONDO:0005090 Pri
@mocksu
mocksu / gist:edda67a0c45b8970aab6fc093c8766cb
Created August 1, 2023 15:23
python script which has threading safe issues
#!/usr/bin/env python
import os
import sys
import pandas as pd
import numpy as np
import argparse
from argparse import RawTextHelpFormatter
import util
import re