All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.genomics.model.ReadGroup Maven / Gradle / Ivy

There is a newer version: v2alpha1-rev20220913-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2016-05-27 16:00:31 UTC)
 * on 2016-07-28 at 21:58:52 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.genomics.model;

/**
 * A read group is all the data that's processed the same way by the sequencer.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Genomics API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class ReadGroup extends com.google.api.client.json.GenericJson { /** * The dataset to which this read group belongs. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String datasetId; /** * A free-form text description of this read group. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * The experiment used to generate this read group. * The value may be {@code null}. */ @com.google.api.client.util.Key private Experiment experiment; /** * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** * A map of additional read group information. This must be of the form map (string key mapping to * a list of string values). * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map> info; /** * The read group name. This corresponds to the @RG ID field in the SAM spec. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer predictedInsertSize; /** * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List programs; /** * The reference set the reads in this read group are aligned to. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String referenceSetId; /** * A client-supplied sample identifier for the reads in this read group. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String sampleId; /** * The dataset to which this read group belongs. * @return value or {@code null} for none */ public java.lang.String getDatasetId() { return datasetId; } /** * The dataset to which this read group belongs. * @param datasetId datasetId or {@code null} for none */ public ReadGroup setDatasetId(java.lang.String datasetId) { this.datasetId = datasetId; return this; } /** * A free-form text description of this read group. * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * A free-form text description of this read group. * @param description description or {@code null} for none */ public ReadGroup setDescription(java.lang.String description) { this.description = description; return this; } /** * The experiment used to generate this read group. * @return value or {@code null} for none */ public Experiment getExperiment() { return experiment; } /** * The experiment used to generate this read group. * @param experiment experiment or {@code null} for none */ public ReadGroup setExperiment(Experiment experiment) { this.experiment = experiment; return this; } /** * 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. * @return value or {@code null} for none */ public java.lang.String getId() { return id; } /** * 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. * @param id id or {@code null} for none */ public ReadGroup setId(java.lang.String id) { this.id = id; return this; } /** * A map of additional read group information. This must be of the form map (string key mapping to * a list of string values). * @return value or {@code null} for none */ public java.util.Map> getInfo() { return info; } /** * A map of additional read group information. This must be of the form map (string key mapping to * a list of string values). * @param info info or {@code null} for none */ public ReadGroup setInfo(java.util.Map> info) { this.info = info; return this; } /** * The read group name. This corresponds to the @RG ID field in the SAM spec. * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * The read group name. This corresponds to the @RG ID field in the SAM spec. * @param name name or {@code null} for none */ public ReadGroup setName(java.lang.String name) { this.name = name; return this; } /** * 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. * @return value or {@code null} for none */ public java.lang.Integer getPredictedInsertSize() { return predictedInsertSize; } /** * 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. * @param predictedInsertSize predictedInsertSize or {@code null} for none */ public ReadGroup setPredictedInsertSize(java.lang.Integer predictedInsertSize) { this.predictedInsertSize = predictedInsertSize; return this; } /** * 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. * @return value or {@code null} for none */ public java.util.List getPrograms() { return programs; } /** * 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. * @param programs programs or {@code null} for none */ public ReadGroup setPrograms(java.util.List programs) { this.programs = programs; return this; } /** * The reference set the reads in this read group are aligned to. * @return value or {@code null} for none */ public java.lang.String getReferenceSetId() { return referenceSetId; } /** * The reference set the reads in this read group are aligned to. * @param referenceSetId referenceSetId or {@code null} for none */ public ReadGroup setReferenceSetId(java.lang.String referenceSetId) { this.referenceSetId = referenceSetId; return this; } /** * A client-supplied sample identifier for the reads in this read group. * @return value or {@code null} for none */ public java.lang.String getSampleId() { return sampleId; } /** * A client-supplied sample identifier for the reads in this read group. * @param sampleId sampleId or {@code null} for none */ public ReadGroup setSampleId(java.lang.String sampleId) { this.sampleId = sampleId; return this; } @Override public ReadGroup set(String fieldName, Object value) { return (ReadGroup) super.set(fieldName, value); } @Override public ReadGroup clone() { return (ReadGroup) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy