Package versusSNP

Examples of versusSNP.Document


    this.controller = versusSNP;
  }

  @Override
  public void update(Observable o, Object arg) {
    Document document = (Document)o;
    tableModel.setRowCount(0)// clear previous table things
    if (document.getQueryGenome() == null)
      return;
    for (Iterator<ORF> iter = document.getQueryGenome().getOrfList().iterator(); iter.hasNext();) {
      ORF orf = iter.next();
      tableModel.insertRow(tableModel.getRowCount(), new ORF[]{orf});
    }
  }
View Full Code Here


    }
  }

  @Override
  public void update(Observable o, Object arg) {
    Document document = (Document)o;
    if (document.getQueryGenome() != null && document.getSubjectGenome() != null) {
      SNPList snpList = document.getQueryGenome().getNsSNPList(document.getSubjectGenome());
      if (snpList != null) {
        this.snpList = snpList;
        tableControl.setSnpList(snpList);
        accept(snpList);
      }
View Full Code Here

    }
  }

  @Override
  public void update(Observable o, Object arg) {
    Document document = (Document)o;
    if (document.getQueryGenome() != null && document.getSubjectGenome() != null) {
      if (this.type == SNP.INSERTION) {
        SNPList inSnpList = document.getQueryGenome().getInSNPList(document.getSubjectGenome());
        if (inSnpList != null) {
          this.snpList = inSnpList;
          tableControl.setSnpList(snpList);
          accept(inSnpList);
        }
      } else {
        SNPList delSnpList = document.getQueryGenome().getDelSNPList(document.getSubjectGenome());
        if (delSnpList != null) {
          this.snpList = delSnpList;
          tableControl.setSnpList(snpList);
          accept(delSnpList);
        }
View Full Code Here

    }
  }

  @Override
  public void update(Observable o, Object arg) {
    Document document = (Document)o;
    if (document.getQueryGenome() != null && document.getSubjectGenome() != null) {
      SNPList snpList = document.getQueryGenome().getSSNPList(document.getSubjectGenome());
      if (snpList != null) {
        this.snpList = snpList;
        tableControl.setSnpList(snpList);
        accept(snpList);
      }
View Full Code Here

      drawSNP(delSNPList);
  }

  @Override
  public void update(Observable o, Object arg) {
    Document document = (Document)o;
    if (document.getQueryGenome() != null && document.getSubjectGenome() != null) {
      setQuerySubjectGenome(document.getQueryGenome(), document.getSubjectGenome());
      sSNPList = document.getQueryGenome().getSSNPList(document.getSubjectGenome());
      nsSNPList = document.getQueryGenome().getNsSNPList(document.getSubjectGenome());
      inSNPList = document.getQueryGenome().getInSNPList(document.getSubjectGenome());
      delSNPList = document.getQueryGenome().getDelSNPList(document.getSubjectGenome());    }
  }
View Full Code Here

TOP

Related Classes of versusSNP.Document

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.