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

com.google.api.services.genomics.model.LinearAlignment 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 linear alignment can be represented by one CIGAR string. Describes the mapped position and
 * local alignment of the read to the reference.
 *
 * 

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 LinearAlignment extends com.google.api.client.json.GenericJson { /** * Represents the local alignment of this sequence (alignment matches, indels, etc) against the * reference. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List cigar; /** * The mapping quality of this alignment. Represents how likely the read maps to this position as * opposed to other locations. Specifically, this is -10 log10 Pr(mapping position is wrong), * rounded to the nearest integer. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer mappingQuality; /** * The position of this alignment. * The value may be {@code null}. */ @com.google.api.client.util.Key private Position position; /** * Represents the local alignment of this sequence (alignment matches, indels, etc) against the * reference. * @return value or {@code null} for none */ public java.util.List getCigar() { return cigar; } /** * Represents the local alignment of this sequence (alignment matches, indels, etc) against the * reference. * @param cigar cigar or {@code null} for none */ public LinearAlignment setCigar(java.util.List cigar) { this.cigar = cigar; return this; } /** * The mapping quality of this alignment. Represents how likely the read maps to this position as * opposed to other locations. Specifically, this is -10 log10 Pr(mapping position is wrong), * rounded to the nearest integer. * @return value or {@code null} for none */ public java.lang.Integer getMappingQuality() { return mappingQuality; } /** * The mapping quality of this alignment. Represents how likely the read maps to this position as * opposed to other locations. Specifically, this is -10 log10 Pr(mapping position is wrong), * rounded to the nearest integer. * @param mappingQuality mappingQuality or {@code null} for none */ public LinearAlignment setMappingQuality(java.lang.Integer mappingQuality) { this.mappingQuality = mappingQuality; return this; } /** * The position of this alignment. * @return value or {@code null} for none */ public Position getPosition() { return position; } /** * The position of this alignment. * @param position position or {@code null} for none */ public LinearAlignment setPosition(Position position) { this.position = position; return this; } @Override public LinearAlignment set(String fieldName, Object value) { return (LinearAlignment) super.set(fieldName, value); } @Override public LinearAlignment clone() { return (LinearAlignment) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy