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

Is it possible to annotate picks with gene names? #3

Open
skanoni opened this issue Jun 16, 2022 · 1 comment
Open

Is it possible to annotate picks with gene names? #3

skanoni opened this issue Jun 16, 2022 · 1 comment

Comments

@skanoni
Copy link

skanoni commented Jun 16, 2022

Hi,
I would like to annotate my top hits with gene names rather than SNP IDs. Is it possible within the fastman package if I already have the gene name column in my results?

@kaustubhad
Copy link
Owner

Hi, yes, you can certainly do that. If you have gene names in a column called genename, please pass this in the function as an additional option, snp = "genename".

The package also contains a function called gene_annotate which is not documented yet, but it can work with Plink-style gene lists to annotate gene names, in case you don't have gene names already. It uses the SNP locations (CHR and BP) to annotate gene names, and allows for a buffer on either side.
The Plink gene lists (4 columns) are available here: https://www.cog-genomics.org/plink/1.9/resources#genelist

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