Debian Codegraph @

third_party/googleapis/google/genomics/v1/readgroup.proto

raw
1 // Copyright 2016 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 syntax = "proto3";
16
17 package google.genomics.v1;
18
19 import "google/api/annotations.proto";
20 import "google/protobuf/struct.proto";
21
22 option cc_enable_arenas = true;
23 option go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics";
24 option java_multiple_files = true;
25 option java_outer_classname = "ReadGroupProto";
26 option java_package = "com.google.genomics.v1";
27
28
29 // A read group is all the data that's processed the same way by the sequencer.
30 message ReadGroup {
31 message Experiment {
32 // A client-supplied library identifier; a library is a collection of DNA
33 // fragments which have been prepared for sequencing from a sample. This
34 // field is important for quality control as error or bias can be introduced
35 // during sample preparation.
36 string library_id = 1;
37
38 // The platform unit used as part of this experiment, for example
39 // flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
40 // @RG PU field in the SAM spec.
41 string platform_unit = 2;
42
43 // The sequencing center used as part of this experiment.
44 string sequencing_center = 3;
45
46 // The instrument model used as part of this experiment. This maps to
47 // sequencing technology in the SAM spec.
48 string instrument_model = 4;
49 }
50
51 message Program {
52 // The command line used to run this program.
53 string command_line = 1;
54
55 // The user specified locally unique ID of the program. Used along with
56 // `prevProgramId` to define an ordering between programs.
57 string id = 2;
58
59 // The display name of the program. This is typically the colloquial name of
60 // the tool used, for example 'bwa' or 'picard'.
61 string name = 3;
62
63 // The ID of the program run before this one.
64 string prev_program_id = 4;
65
66 // The version of the program run.
67 string version = 5;
68 }
69
70 // The server-generated read group ID, unique for all read groups.
71 // Note: This is different than the @RG ID field in the SAM spec. For that
72 // value, see [name][google.genomics.v1.ReadGroup.name].
73 string id = 1;
74
75 // The dataset to which this read group belongs.
76 string dataset_id = 2;
77
78 // The read group name. This corresponds to the @RG ID field in the SAM spec.
79 string name = 3;
80
81 // A free-form text description of this read group.
82 string description = 4;
83
84 // A client-supplied sample identifier for the reads in this read group.
85 string sample_id = 5;
86
87 // The experiment used to generate this read group.
88 Experiment experiment = 6;
89
90 // The predicted insert size of this read group. The insert size is the length
91 // the sequenced DNA fragment from end-to-end, not including the adapters.
92 int32 predicted_insert_size = 7;
93
94 // The programs used to generate this read group. Programs are always
95 // identical for all read groups within a read group set. For this reason,
96 // only the first read group in a returned set will have this field
97 // populated.
98 repeated Program programs = 10;
99
100 // The reference set the reads in this read group are aligned to.
101 string reference_set_id = 11;
102
103 // A map of additional read group information. This must be of the form
104 // map<string, string[]> (string key mapping to a list of string values).
105 map<string, google.protobuf.ListValue> info = 12;
106 }