OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/bigquery": { | 5 "https://www.googleapis.com/auth/bigquery": { |
6 "description": "View and manage your data in Google BigQuery
" | 6 "description": "View and manage your data in Google BigQuery
" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/devstorage.read_write": { | 8 "https://www.googleapis.com/auth/devstorage.read_write": { |
9 "description": "Manage your data in Google Cloud Storage" | 9 "description": "Manage your data in Google Cloud Storage" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/genomics": { | 11 "https://www.googleapis.com/auth/genomics": { |
12 "description": "View and manage Genomics data" | 12 "description": "View and manage Genomics data" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/genomics.readonly": { | 14 "https://www.googleapis.com/auth/genomics.readonly": { |
15 "description": "View Genomics data" | 15 "description": "View Genomics data" |
16 } | 16 } |
17 } | 17 } |
18 } | 18 } |
19 }, | 19 }, |
20 "basePath": "/genomics/v1beta2/", | 20 "basePath": "/genomics/v1beta2/", |
21 "baseUrl": "https://www.googleapis.com/genomics/v1beta2/", | 21 "baseUrl": "https://www.googleapis.com/genomics/v1beta2/", |
22 "batchPath": "batch", | 22 "batchPath": "batch", |
23 "description": "Provides access to Genomics data.", | 23 "description": "Provides access to Genomics data.", |
24 "discoveryVersion": "v1", | 24 "discoveryVersion": "v1", |
25 "documentationLink": "https://developers.google.com/genomics/v1beta2/referen
ce", | 25 "documentationLink": "https://developers.google.com/genomics/v1beta2/referen
ce", |
26 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/6ckREvRjfWsdC7sKQKylGfPy3tY\"", | 26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/B0U3dL3DEjo6LTLutBKsRG1fa1o\"", |
27 "icons": { | 27 "icons": { |
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
30 }, | 30 }, |
31 "id": "genomics:v1beta2", | 31 "id": "genomics:v1beta2", |
32 "kind": "discovery#restDescription", | 32 "kind": "discovery#restDescription", |
33 "name": "genomics", | 33 "name": "genomics", |
34 "ownerDomain": "google.com", | 34 "ownerDomain": "google.com", |
35 "ownerName": "Google", | 35 "ownerName": "Google", |
36 "parameters": { | 36 "parameters": { |
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 "response": { | 1164 "response": { |
1165 "$ref": "VariantSet" | 1165 "$ref": "VariantSet" |
1166 }, | 1166 }, |
1167 "scopes": [ | 1167 "scopes": [ |
1168 "https://www.googleapis.com/auth/genomics" | 1168 "https://www.googleapis.com/auth/genomics" |
1169 ] | 1169 ] |
1170 } | 1170 } |
1171 } | 1171 } |
1172 } | 1172 } |
1173 }, | 1173 }, |
1174 "revision": "20141112", | 1174 "revision": "20141113", |
1175 "rootUrl": "https://www.googleapis.com/", | 1175 "rootUrl": "https://www.googleapis.com/", |
1176 "schemas": { | 1176 "schemas": { |
1177 "AlignReadGroupSetsRequest": { | 1177 "AlignReadGroupSetsRequest": { |
1178 "description": "The read group set align request.", | 1178 "description": "The read group set align request.", |
1179 "id": "AlignReadGroupSetsRequest", | 1179 "id": "AlignReadGroupSetsRequest", |
1180 "properties": { | 1180 "properties": { |
1181 "bamSourceUris": { | 1181 "bamSourceUris": { |
1182 "description": "The BAM source files for alignment. Exactly
one of readGroupSetIds, bamSourceUris, interleavedFastqSource or pairedFastqSour
ce must be provided. The caller must have READ permissions for these files.", | 1182 "description": "The BAM source files for alignment. Exactly
one of readGroupSetIds, bamSourceUris, interleavedFastqSource or pairedFastqSour
ce must be provided. The caller must have READ permissions for these files.", |
1183 "items": { | 1183 "items": { |
1184 "type": "string" | 1184 "type": "string" |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2005 }, | 2005 }, |
2006 "start": { | 2006 "start": { |
2007 "description": "The start position of the range on the refer
ence, 0-based inclusive. If specified, referenceName must also be specified.", | 2007 "description": "The start position of the range on the refer
ence, 0-based inclusive. If specified, referenceName must also be specified.", |
2008 "format": "int64", | 2008 "format": "int64", |
2009 "type": "string" | 2009 "type": "string" |
2010 } | 2010 } |
2011 }, | 2011 }, |
2012 "type": "object" | 2012 "type": "object" |
2013 }, | 2013 }, |
2014 "Read": { | 2014 "Read": { |
2015 "description": "A read alignment describes a linear alignment of a s
tring of DNA to a reference sequence, in addition to metadata about the fragment
(the molecule of DNA sequenced) and the read (the bases which were read by the
sequencer). A read is equivalent to a line in a SAM file. A read belongs to exac
tly one read group and exactly one read group set.", | 2015 "description": "A read alignment describes a linear alignment of a s
tring of DNA to a reference sequence, in addition to metadata about the fragment
(the molecule of DNA sequenced) and the read (the bases which were read by the
sequencer). A read is equivalent to a line in a SAM file. A read belongs to exac
tly one read group and exactly one read group set. Generating a reference-aligne
d sequence string When interacting with mapped reads, it's often useful to produ
ce a string representing the local alignment of the read to reference. The follo
wing pseudocode demonstrates one way of doing this:\nout = \"\" offset = 0 for c
in read.alignment.cigar { switch c.operation { case \"ALIGNMENT_MATCH\", \"SEQU
ENCE_MATCH\", \"SEQUENCE_MISMATCH\": out += read.alignedSequence[offset:offset+c
.operationLength] offset += c.operationLength break case \"CLIP_SOFT\", \"INSERT
\": offset += c.operationLength break case \"PAD\": out += repeat(\"*\", c.opera
tionLength) break case \"DELETE\": out += repeat(\"-\", c.operationLength) break
case \"SKIP\": out += repeat(\" \", c.operationLength) break case \"CLIP_HARD\"
: break } } return out\nConverting to SAM's CIGAR string The following pseudocod
e generates a SAM CIGAR string from the cigar field. Note that this is a lossy c
onversion (cigar.referenceSequence is lost).\ncigarMap = { \"ALIGNMENT_MATCH\":
\"M\", \"INSERT\": \"I\", \"DELETE\": \"D\", \"SKIP\": \"N\", \"CLIP_SOFT\": \"S
\", \"CLIP_HARD\": \"H\", \"PAD\": \"P\", \"SEQUENCE_MATCH\": \"=\", \"SEQUENCE_
MISMATCH\": \"X\", } cigarStr = \"\" for c in read.alignment.cigar { cigarStr +=
c.operationLength + cigarMap[c.operation] } return cigarStr", |
2016 "id": "Read", | 2016 "id": "Read", |
2017 "properties": { | 2017 "properties": { |
2018 "alignedQuality": { | 2018 "alignedQuality": { |
2019 "description": "The quality of the read sequence contained i
n this alignment record. alignedSequence and alignedQuality may be shorter than
the full read sequence and quality. This will occur if the alignment is part of
a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR fo
r this read will begin/end with a hard clip operator that will indicate the leng
th of the excised sequence.", | 2019 "description": "The quality of the read sequence contained i
n this alignment record. alignedSequence and alignedQuality may be shorter than
the full read sequence and quality. This will occur if the alignment is part of
a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR fo
r this read will begin/end with a hard clip operator that will indicate the leng
th of the excised sequence.", |
2020 "items": { | 2020 "items": { |
2021 "format": "int32", | 2021 "format": "int32", |
2022 "type": "integer" | 2022 "type": "integer" |
2023 }, | 2023 }, |
2024 "type": "array" | 2024 "type": "array" |
2025 }, | 2025 }, |
2026 "alignedSequence": { | 2026 "alignedSequence": { |
2027 "description": "The bases of the read sequence contained in
this alignment record. alignedSequence and alignedQuality may be shorter than th
e full read sequence and quality. This will occur if the alignment is part of a
chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR for
this read will begin/end with a hard clip operator that will indicate the length
of the excised sequence.", | 2027 "description": "The bases of the read sequence contained in
this alignment record, without CIGAR operations applied. alignedSequence and ali
gnedQuality may be shorter than the full read sequence and quality. This will oc
cur if the alignment is part of a chimeric alignment, or if the read was trimmed
. When this occurs, the CIGAR for this read will begin/end with a hard clip oper
ator that will indicate the length of the excised sequence.", |
2028 "type": "string" | 2028 "type": "string" |
2029 }, | 2029 }, |
2030 "alignment": { | 2030 "alignment": { |
2031 "$ref": "LinearAlignment", | 2031 "$ref": "LinearAlignment", |
2032 "description": "The linear alignment for this alignment reco
rd. This field will be null if the read is unmapped." | 2032 "description": "The linear alignment for this alignment reco
rd. This field will be null if the read is unmapped." |
2033 }, | 2033 }, |
2034 "duplicateFragment": { | 2034 "duplicateFragment": { |
2035 "description": "The fragment is a PCR or optical duplicate (
SAM flag 0x400)", | 2035 "description": "The fragment is a PCR or optical duplicate (
SAM flag 0x400)", |
2036 "type": "boolean" | 2036 "type": "boolean" |
2037 }, | 2037 }, |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2886 "type": "array" | 2886 "type": "array" |
2887 } | 2887 } |
2888 }, | 2888 }, |
2889 "type": "object" | 2889 "type": "object" |
2890 } | 2890 } |
2891 }, | 2891 }, |
2892 "servicePath": "genomics/v1beta2/", | 2892 "servicePath": "genomics/v1beta2/", |
2893 "title": "Genomics API", | 2893 "title": "Genomics API", |
2894 "version": "v1beta2" | 2894 "version": "v1beta2" |
2895 } | 2895 } |
OLD | NEW |