Answers.Body: <p>Download dbsnp VCF file from <a href="https://ftp.ncbi.nih.gov/snp/organisms/human_9606/VCF/" rel="nofollow noreferrer">https://ftp.ncbi.nih.gov/snp/organisms/human_9606/VCF/</a>. This contains rs IDs and chromosome info (among other info). Can match your rs IDs to the rs IDs in dbsnp VCF, and extract chromosome from there.</p>
  <p>See <a href="https://www.ncbi.nlm.nih.gov/variation/docs/human_variation_vcf/" rel="nofollow noreferrer">https://www.ncbi.nlm.nih.gov/variation/docs/human_variation_vcf/</a> for more information on the dbsnp files.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-25T10:49:30.223Z
Answers.LastActivityDate: 2022-07-25T10:49:30.223Z
Answers.UserDisplayName: Niek de Klein
Body: <p>I have ~500,000 rsids - but want which chromosome each SNP resides on. How can I do this?</p>
  <pre><code>MarkerName A1 A2 
  rs2326918 a g 
  rs7929618 c g 
  rs66941928 t c 
  </code></pre>
  <p>I want the chromosome number associated with each MarkerName. So the output would be like this:</p>
  <pre><code>MarkerName A1 A2 Chr
  rs2326918 a g     6 
  rs7929618 c g     6
  rs66941928 t c    6
  </code></pre>
  <p>How can i do this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-14T13:22:50.617Z
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: 2022-07-14T14:20:53.463Z
Comments.Text: Thanks for the clarification @workhorse
Comments.UserDisplayName: M__
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-14T23:50:10.770Z
Comments.Text: I'd recommend consulting the RefSNP documentation https://www.ncbi.nlm.nih.gov/snp/docs/RefSNP_about/
Comments.UserDisplayName: Maximilian Press
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-14T12:14:29.713Z
Comments.Text: @Workhorse thanks for your question. Please consider upvoting/accepting the answer by NiekdeKlein
Comments.UserDisplayName: M__
Tags: <bioconductor>
Title: Retrieve chromosome number with just RSID?
ThreadText: # Retrieve chromosome number with just RSID?
  
  (Asked by: username_0 on 2022-07-14)
  
  I have ~500,000 rsids - but want which chromosome each SNP resides on. How can I do this?
  
  ```
  MarkerName A1 A2 
  rs2326918 a g 
  rs7929618 c g 
  rs66941928 t c 
  
  ```
  
  I want the chromosome number associated with each MarkerName. So the output would be like this:
  
  ```
  MarkerName A1 A2 Chr
  rs2326918 a g     6 
  rs7929618 c g     6
  rs66941928 t c    6
  
  ```
  
  How can i do this?
  
  **Tags:** bioconductor
  
  > **Comments:**
  > **username_1**: 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_2**: Thanks for the clarification @username_0  
  > **username_3**: I'd recommend consulting the RefSNP documentation https://www.ncbi.nlm.nih.gov/snp/docs/RefSNP_about/  
  > **username_2**: @username_0 thanks for your question. Please consider upvoting/accepting the answer by username_4  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2022-07-25. Score: 2
  
  Download dbsnp VCF file from <https://ftp.ncbi.nih.gov/snp/organisms/human_9606/VCF/>. This contains rs IDs and chromosome info (among other info). Can match your rs IDs to the rs IDs in dbsnp VCF, and extract chromosome from there.
  
  See <https://www.ncbi.nlm.nih.gov/variation/docs/human_variation_vcf/> for more information on the dbsnp files.
  
  
  ---
  
  