Skip to content

Tutorial

Elyse Geoffroy edited this page Apr 7, 2020 · 33 revisions

Step 1: Clone the Repository to your directory.

git clone https://github.com/egeoffroy/Fine-mapping_Pipeline.git

Steps to Run COLOC Pipeline

Step 2: Change your working directory to this folder.

cd Fine-mapping_Pipeline/

Step 3: Identify which files you are using for your input and generate .frq file need be.

Step 4: Run the program with the following parameters:

python3 finemap.py --coloc --gwas_SS --pop --pheno_id --frq [--meqtl] [--filter_by]


Steps to Run FASTENLOC Pipeline Method 1

Step 2: Change your working directory to this folder.

cd Fine-mapping_Pipeline/

Step 3: Run the Program

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 --pheno meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD LD_annotation_file --gwas_out_prefixes GWAS_Prefix 

Steps to Run FASTENLOC Pipeline Method 2

Step 2: Change your working directory to this folder.

cd Fine-mapping_Pipeline/db2fastenloc/

Step 3: Run the Program

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 --pheno meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD 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/AFR_fourier_ls-all.bed --gwas_out_prefixes YRI_Wojcik_WBC &

Clone this wiki locally