Skip to content

Tutorial

Elyse Geoffroy edited this page Apr 15, 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 --meqtl meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD LD_annotation_file --pheno_id GWAS_Prefix --chr start stop

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 --meqtl meqtl_file --genemap genemap_file --pop population_id --gwas_SS GWAS_SS_file --LD_block LD_annotation_file --gwas_out_prefixes GWAS_Prefix --chr chr1 chr2 &

Or if you wish to more clearly specify the start and stop chromosomes:

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 --start chr1 --stop chr2 &

Clone this wiki locally