{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Specification/Format","type":"basic","slug":"formatexample","excerpt":"","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"rs4477212\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"AA\\\"\\n  },\\n  \\\"rs3094315\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"AA\\\"\\n  },\\n  \\\"rs3131972\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"GG\\\"\\n  },\\n  \\\"rs12124819\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"AA\\\"\\n  },\\n  \\\"rs11240777\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"GG\\\"\\n  },\\n  \\\"rs6681049\\\": {\\n    \\\"chromosome\\\": 1,\\n    \\\"genotype\\\": \\\"CC\\\"\\n  },\\n  ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nExplanation:\n\n- The key is the RSID or vendor ID.\n- Chromosome is which chromosome the data came from (1-22, X, Y, or MT).\n- Genotype is the value for the RSID.","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"567354e54b2a680d00524e12","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":["5505855bae827939002fca71","567351e34b2a680d00524e0e","567354e54b2a680d00524e12","567355a758c4890d00bb54a8"],"title":"SNP-JSON","slug":"documentation","order":1,"from_sync":false,"reference":false,"_id":"5505855aae827939002fca6f","__v":4,"createdAt":"2015-03-15T13:12:58.896Z","project":"55058559ae827939002fca6b","version":"5505855aae827939002fca6e"},"createdAt":"2015-12-18T00:35:49.300Z","user":"54ee2c053749bf0d00c7653c","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5505855aae827939002fca6f","5673511f8565060d009a8659","5673512458c4890d00bb54a5","56736118f65d9c0d002e3cb2"],"_id":"5505855aae827939002fca6e","createdAt":"2015-03-15T13:12:58.366Z","project":"55058559ae827939002fca6b","__v":4,"releaseDate":"2015-03-15T13:12:58.366Z"},"githubsync":"","project":"55058559ae827939002fca6b"}

Specification/Format


[block:code] { "codes": [ { "code": "{\n \"rs4477212\": {\n \"chromosome\": 1,\n \"genotype\": \"AA\"\n },\n \"rs3094315\": {\n \"chromosome\": 1,\n \"genotype\": \"AA\"\n },\n \"rs3131972\": {\n \"chromosome\": 1,\n \"genotype\": \"GG\"\n },\n \"rs12124819\": {\n \"chromosome\": 1,\n \"genotype\": \"AA\"\n },\n \"rs11240777\": {\n \"chromosome\": 1,\n \"genotype\": \"GG\"\n },\n \"rs6681049\": {\n \"chromosome\": 1,\n \"genotype\": \"CC\"\n },\n ...\n}", "language": "json" } ] } [/block] Explanation: - The key is the RSID or vendor ID. - Chromosome is which chromosome the data came from (1-22, X, Y, or MT). - Genotype is the value for the RSID.