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

org.opencb.biodata.models.variant.annotation.VariantTraitAssociation Maven / Gradle / Ivy

The newest version!
/*
 * 
 *
 */

package org.opencb.biodata.models.variant.annotation;

import java.util.List;

/**
 * Created by fjlopez on 16/09/15.
 */
@Deprecated
public class VariantTraitAssociation {

    private List cosmicList;
    private List gwasList;
    private List clinvarList;

    public VariantTraitAssociation() {}

    public VariantTraitAssociation(List cosmicList, List gwasList, List clinvarList) {
        this.cosmicList = cosmicList;
        this.gwasList = gwasList;
        this.clinvarList = clinvarList;
    }

    public List getCosmicList() { return cosmicList; }

    public void setCosmicList(List cosmicList) {
        this.cosmicList = cosmicList;
    }

    public List getGwasList() {
        return gwasList;
    }

    public void setGwasList(List gwasList) {
        this.gwasList = gwasList;
    }

    public List getClinvarList() {
        return clinvarList;
    }

    public void setClinvarList(List clinvarList) {
        this.clinvarList = clinvarList;
    }

    public int size() {
        return (cosmicList != null? cosmicList.size() : 0)
                + (gwasList != null? gwasList.size() : 0)
                + (clinvarList != null? clinvarList.size() : 0);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy