How to convert snp to rs number?
1
0
Entering edit mode
4.3 years ago

hi Friends How to convert SNP name to SNP chip 50k illumina to rs number?Thanks everyone

SNP • 2.8k views
ADD COMMENT
0
Entering edit mode

Unless you post an example it is not possible for anyone to help you. If you look to the right of your own post --> there is a column of similar posts. It is possible that there is already something there that can help you. Here is one example: rs(number) of a SNP

ADD REPLY
0
Entering edit mode

Thanks for your guidance

ADD REPLY
0
Entering edit mode

Chromosome coordinates and ref allele (and alt) determine the rs ID when matching SNVs. Get your SNPs either in text, bed format or in VCF format . Then intersect with dbSNP vcf or use it with online interpretation such as VEP.

ADD REPLY
0
Entering edit mode

Thankful But the file format I have is csv. Do you have a solution for this format?

ADD REPLY
0
Entering edit mode

As said https://www.biostars.org/u/18713/:

Unless you post an example it is not possible for anyone to help you.

csv can be anything, it simply indicates the delimiter. Please post data!

ADD REPLY
0
Entering edit mode

The URL of the site I downloaded the file from. But the snp inside it is not an rs number.

ADD REPLY
0
Entering edit mode

That is fine but people will need to see an example of what your data looks like to be able to give you an exact answer. csv is a generic format and your file may have 2 or 100 columns. We don't know what they are.

Can you show the output of head -5 yourfile.csv?

ADD REPLY
0
Entering edit mode

https://support.illumina.com/array/array_kits/ovinesnp50_dna_analysis_kit/downloads.html The URL of the site I downloaded the file from. But the snp inside it is not an rs number.

ADD REPLY
0
Entering edit mode
ADD REPLY
1
Entering edit mode
4.3 years ago

the first line of the file:

$ cat OvineSNP50_B2.csv | tail -n+8 | cut -d, -f 9-  | head -n 2
GenomeBuild,Chr,MapInfo,Ploidy,Species,Source,SourceVersion,SourceStrand,SourceSeq,TopGenomicSeq,BeadSetID,Exp_Clusters,Intensity_Only,RefStrand
Oar_v4.0,15,5859890,diploid,other,pilot,0,BOT,NNNNNNNNNNNNNNNNCTGCTTCCGTATTTGGGTCTTCTCTCAACTTCTCTTCTTCTCCC[T/C]TGCTGAGGAGGAGGCACTTTCAGATGTATTATGTTAATGGAGAGAAAAAGCATAATATTG,CAATATTATGCTTTTTCTCTCCATTAACATAATACATCTGAAAGTGCCTCCTCCTCAGCA[A/G]GGGAGAAGAAGAGAAGTTGAGAGAAGACCCAAATACGGAAGCAGNNNNNNNNNNNNNNNN,143,3,0,-

is found in dbsnp : rs55630613

$ wget -O - -q "ftp://ftp.ncbi.nih.gov/snp/organisms/archive/sheep_9940/VCF/vcf_chr_15.vcf.gz" | gunzip -c | awk  '($1==15 && $2==5859890)'
15  5859890 rs55630613  C   T   .   .   RSPOS=5859890;GENEINFO=101120860:TMEM123;dbSNPBuildID=128;SAO=0;VC=snp;VLD;VP=050000800005000000000100

you could automatize this using linux join...

ADD COMMENT

Login before adding your answer.

Traffic: 2447 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6