Repository navigation
Tutorial
git clone https://github.com/egeoffroy/Fine-mapping_Pipeline.git
cd Fine-mapping_Pipeline/
python3 finemap.py --coloc --gwas_SS --pop --pheno_id --frq [--meqtl] [--filter_by]
cd Fine-mapping_Pipeline/
Note: Please make sure that your genotype files are in the format pop_(*)_snp.txt in which (*) is the chromosome number pop is the population id. The snp annotation files should similarly be in the format pop_(*)_annot.txt.
If you are working with gene expression prediction model eQTL files and GWAS Summary Statistics:
python3 finemap.py --fastenloc --geno genotype_folder --meqtl meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD LD_annotation_file --pheno_id GWAS_Prefix
cd Fine-mapping_Pipeline/db2fastenloc/
Note: Please make sure that your genotype files are in the format pop_(*)_snp.txt in which (*) is the chromosome number pop is the population id. The snp annotation files should similarly be in the format pop_(*)_annot.txt.
If you are working with gene expression prediction model eQTL files and GWAS Summary Statistics:
nohup python3 main.py --geno genotype_folder --meqtl meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD_block LD_annotation_file --gwas_out_prefixes GWAS_Prefix &
For the example data:
nohup python3 main.py --geno /data/egeoffroy/YRI_data/ --pheno /data/egeoffroy/YRI_data/YRI_HapMap_Epi_GEX_data_sidno.txt --genemap /data/egeoffroy/YRI_data/gencode.v18.annotation.parsed.txt --pop YRI --gwas_SS /data/egeoffroy/31217584-GCST008053-EFO_0004339-build37.f.tsv.gz --LD /data/egeoffroy/YRI_data/AFR_fourier_ls-all.bed --gwas_out_prefixes YRI_Wojcik_Height --chr 17 20 &
For test subset of example data:
nohup python3 main.py --geno /data/kdelany/FM_test/ --pheno /data/kdelany/FM_test/YRI_HapMap_Epi_GEX_data_sidno.txt --genemap /data/kdelany/FM_test/gencode.v18.annotation.parsed.txt --pop YRI --gwas_SS /data/kdelany/31217584-GCST008053-EFO_0004339-build37.f.tsv.gz --LD /data/kdelany/FM_test/AFR_fourier_ls-all.bed --gwas_out_prefixes YRI_Wojcik_Height --chr
21 &