Answers.Body: <p>It doesn't (really) matter what language a piece of GWAS software is written in. SAIGE is written in a mix of R and C++. BOLT is written in C++. You shouldn't be writing a GWAS analysis from scratch, as it ends up being a very complex piece of software. You will almost certainly be interacting with the command line, when running a GWAS, so my advice is to find the software which is most suitable for your piece of analysis, not one which is written in a programming language you like.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-16T16:56:57.977Z
Answers.LastActivityDate: 2023-10-16T16:56:57.977Z
Answers.UserDisplayName: user438383
Body: <p><em>A question similar to this has also been asked on <a href="https://www.biostars.org/p/9577731/" rel="nofollow noreferrer">Biostars</a></em></p>
  <p>I understand GWAS is done with R, but are any written in Python?
  I'm used to python and java, acclimating to R will take a bit of time and my advisor wants some data analyzed. I plan on using R but given the deadline, I want to finish the analysis in Python.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-16T15:47:43.803Z
Comments.Text: Please [edit] your question and give us (a lot, a huge lot) more context. Tell us what input data you have, what kind of analysis you want to do (do you have the results of the GWAS study or are you trying to run the study itself?), what species and anything else that could be relevant. Of course you can do it in python, you can do anything in any programming language, so you really need to narrow this down to something very specific that can be answered in a few lines.
Comments.UserDisplayName: terdon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-16T21:33:40.210Z
Comments.Text: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
Comments.UserDisplayName: Community
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-17T16:06:36.107Z
Comments.Text: I would adapt PLINK. Whilst Biopython pop gen could be used it is better to use a standalone package.
Comments.UserDisplayName: M__
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-17T21:01:38.987Z
Comments.Text: You can use Python to wrap around command line tools
Comments.UserDisplayName: BigMistake
Tags: <python><gwas>
Title: GWAS in python?
ThreadText: # GWAS in python?
  
  (Asked by: username_0 on 2023-10-16)
  
  *A question similar to this has also been asked on [Biostars](https://www.biostars.org/p/9577731/)*
  
  I understand GWAS is done with R, but are any written in Python?
  I'm used to python and java, acclimating to R will take a bit of time and my advisor wants some data analyzed. I plan on using R but given the deadline, I want to finish the analysis in Python.
  
  **Tags:** python, gwas
  
  > **Comments:**
  > **username_1**: Please [edit] your question and give us (a lot, a huge lot) more context. Tell us what input data you have, what kind of analysis you want to do (do you have the results of the GWAS study or are you trying to run the study itself?), what species and anything else that could be relevant. Of course you can do it in python, you can do anything in any programming language, so you really need to narrow this down to something very specific that can be answered in a few lines.  
  > **username_2**: Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.  
  > **username_3**: I would adapt PLINK. Whilst Biopython pop gen could be used it is better to use a standalone package.  
  > **username_4**: You can use Python to wrap around command line tools  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_5 on 2023-10-16. Score: 5
  
  It doesn't (really) matter what language a piece of GWAS software is written in. SAIGE is written in a mix of R and C++. BOLT is written in C++. You shouldn't be writing a GWAS analysis from scratch, as it ends up being a very complex piece of software. You will almost certainly be interacting with the command line, when running a GWAS, so my advice is to find the software which is most suitable for your piece of analysis, not one which is written in a programming language you like.
  
  
  ---
  
  