Skip to content

Tutorial

Elyse Geoffroy edited this page Apr 13, 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 &

For test subset of example data:

nohup python3 main.py --geno /data/kdelany/FM_test/ --meqtl /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_block /data/kdelany/FM_test/AFR_fourier_ls-all.bed --gwas_out_prefixes YRI_Wojcik_Height --chr
21 22 &

Clone this wiki locally