pub struct ReadGroup {
pub id: String,
pub dataset_id: String,
pub name: String,
pub description: String,
pub sample_id: String,
pub experiment: Option<Experiment>,
pub predicted_insert_size: i32,
pub programs: Vec<Program>,
pub reference_set_id: String,
pub info: BTreeMap<String, ListValue>,
}
Expand description
A read group is all the data that’s processed the same way by the sequencer.
Fields§
§id: String
The server-generated read group ID, unique for all read groups. Note: This is different than the @RG ID field in the SAM spec. For that value, see [name][google.genomics.v1.ReadGroup.name].
dataset_id: String
The dataset to which this read group belongs.
name: String
The read group name. This corresponds to the @RG ID field in the SAM spec.
description: String
A free-form text description of this read group.
sample_id: String
A client-supplied sample identifier for the reads in this read group.
experiment: Option<Experiment>
The experiment used to generate this read group.
predicted_insert_size: i32
The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.
programs: Vec<Program>
The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.
reference_set_id: String
The reference set the reads in this read group are aligned to.
info: BTreeMap<String, ListValue>
A map of additional read group information. This must be of the form map<string, string[]> (string key mapping to a list of string values).
Trait Implementations§
source§impl Message for ReadGroup
impl Message for ReadGroup
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ReadGroup
impl PartialEq for ReadGroup
impl StructuralPartialEq for ReadGroup
Auto Trait Implementations§
impl Freeze for ReadGroup
impl RefUnwindSafe for ReadGroup
impl Send for ReadGroup
impl Sync for ReadGroup
impl Unpin for ReadGroup
impl UnwindSafe for ReadGroup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request