Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom gene set ? #73

Closed
zhangpicb opened this issue Nov 17, 2023 · 2 comments
Closed

custom gene set ? #73

zhangpicb opened this issue Nov 17, 2023 · 2 comments

Comments

@zhangpicb
Copy link

zhangpicb commented Nov 17, 2023

Dear @KangchengHou ,

Thanks for your great tool!

I have a question about make custom gene set. I read the custom gene set.

Step2 --snp-loc ${magma_dir}/g1000_eur.bim ,1kg SNPs are used.

But before I read the issue,I use the SNPs in the GWAS summary data to annotate gene,and then using the output file to Step3.

I follow (#2) to get gene set. And I find the these 2 output gene.out files are different.
Maybe Step2 --snp-loc should use SNPs in GWAS summary?

Thanks in advanced!

# Step 2: make gene annotation file for MAGMA using the following command, this only needs to be done
# once for different GWAS summary statistics, and the file will be saved to out/step1.genes.annot
mkdir -p out/step1
${magma_dir}/magma \
    --annotate window=10,10 \
    --snp-loc ${magma_dir}/g1000_eur.bim \
    --gene-loc ${magma_dir}/NCBI37.3.gene.loc \
    --out out/step1
@KangchengHou
Copy link
Collaborator

Yes you can use your .bim file. Just create .bim file that match with your GWAS summary.

@zhangpicb
Copy link
Author

Thanks for your quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants