Questions tagged [gwas]

Genome-wide association study

Wikipedia

In genomics, a genome-wide association study (GWA study, or GWAS), also known as whole genome association study (WGA study, or WGAS), is an observational study of a genome-wide set of genetic variants in different individuals to see if any variant is associated with a trait. GWA studies typically focus on associations between single-nucleotide polymorphisms (SNPs) and traits like major human diseases, but can equally be applied to any other genetic variants and any other organisms.

Related tags: ,


38 questions
3
votes
3 answers

How to plot a Miami plot (GWAS) in R?

I'm looking for a function to run a Miami Plot (GWAS) which looks like this: I will have data for 2 different GWASes. To simulate the plot, you can use this dataset…
Gianmarco M
  • 71
  • 1
  • 6
2
votes
1 answer

Interactive Manhattan plot with string chromosome names

I'm trying to generate ManhattanPlot using Dash-plotly library for python: https://dash.plotly.com/dash-bio/manhattanplot I have SNP results data for plants like wheat which have chromosome names with letters e.g. 3A, 3B, 3D. Is is possible to…
MLearner
  • 63
  • 7
2
votes
1 answer

Subsetting GWAS results by matching snp column from another file

I have a GWAS summary estimate file with the following columns (file 1): 1 chr1_1726_G_A 0.023 0.160 1 chr1_20184_GAATA_G 0.033 0.180 1 chr1_791101_T_TGG 0.099 0.170 file 2 chr1_20184_GAATA_G chr1_791101_T_TGG I would like to match…
AVA
  • 81
  • 4
1
vote
1 answer

Error in count.fields(input.files[1]) : 'file' must be a character string or connection with gwasurvivr package

I am struggling with gwasurvivr package in R. The package contains all information and running perfectly given code and its own dataset inside the vignette. impute.file <- system.file(package="gwasurvivr", "extdata", …
Sandeep
  • 73
  • 2
1
vote
1 answer

GWAS array to matrix

(this will be a supposition because the number are higher but to make things easier) Imagine that you have genotyped 10 persons and you have 3 SNIPS each one with 2 alels. then you end up with a matrix like this: , ,…
1
vote
0 answers

y-axis breaks with ggplot2 for a manhattan plot

I have a manhattan plot of genetic information: It was generated using the qqman package https://cran.r-project.org/web/packages/qqman/vignettes/qqman.html) in R which takes a dataframe of P-values, chromosome position and a gene position (for any…
tacrolimus
  • 500
  • 2
  • 12
1
vote
0 answers

GenABEL on R4.2.2 Windows

I´m looking for a way to use GenABEL on R4.2.2 with Rstudio-2022.07.2-576. GenABEL is only accessible through the R archive with latest version from 2017 or github GenABEL-Project / GenABEL(https://github.com/GenABEL-Project/GenABEL). Was first…
AKP
  • 11
  • 1
1
vote
0 answers

Unable to find the internal logging class: java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging$class

I am trying to build spark cluster on DNAnexus platform. I tried creating spark context from jupyterlab notebook. import pyspark sc = pyspark.SparkContext() spark = pyspark.sql.SparkSession(sc) I get the following error stack trace. Py4JJavaError:…
1
vote
1 answer

Examining position intersect and conditionally drop row based on P-values

I'm working my way through post-analysis of GWAS, where I have defined a list of independent SNPs associated with my trait. I'm trying to group my indep. SNPs in loci of +- 500KB. There are some independent SNP's which locus will overlap each other…
SorenRand
  • 47
  • 6
1
vote
0 answers

Can analysis of GWAS/WES/WGS be performed with DNA from saliva in combination with DNA from blood?

Can statistical analyses (GWAS/WES/WGS) be performed with DNA from saliva in combination with DNA from blood? Is there a chance of bias? First, I think DNA=DNA, in other words, no matter how the 'DNA code' is collected. But there may be unexpected…
1
vote
1 answer

Lifting over GWAS summary statististic file from build 38 to build 37

I am using the UCSC lift over tool and the associated chain to lift over the results of my GWAS summary statistic file (a tab separated file) from build 38 to build 37. The GWAS summary stat file looks like: 1 chr1_17626_G_A 17626 A G 0.016 -0.0332…
AVA
  • 81
  • 4
0
votes
0 answers

Lassosum: exclusively for continuous traits?

I am trying to understand the method lassosum proposed by Mak et al. (2017). For what I understand, the method is created to build Polygenic Scores based on GWAS summary statistics. However, I thought that the outcome could be of different types:…
a12456
  • 1
  • 1
0
votes
0 answers

GWAS Catalog API

disease_trait = input("Enter disease trait to search: ") url = "https://www.ebi.ac.uk/gwas/rest/api/studies" query_params = {"diseaseTrait": disease_trait, "size": 200} headers = {"Accept": "application/json"} response = requests.get(url,…
BScpj
  • 15
  • 3
0
votes
0 answers

What can cause undefined columns error in GAPIT?

I'm starting working with GAPIT for GWAS. Here is an error that I get while trying to run. the simplest GLM with my data: "[1] "GD does not mach GM in Manhattan !!!" Error in [.data.frame(GD, , !is.na(GI.MP[, 3])) : undefined columns selected In…
M.Tis
  • 1
0
votes
0 answers

Dataframe Filtering Issues (GWAS Catalog)

I am currently trying to filter out the rows in my dataframe that include the value "Alzheimer's disease" in the column marked "DISEASE/TRAIT" and put it into a new dataframe. If you could help it would be immenseley appreciated. The two images show…
1
2 3