Examples of SNPList


Examples of versusSNP.blast.util.SNPList

  @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

Examples of versusSNP.blast.util.SNPList

  @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

Examples of versusSNP.blast.util.SNPList

  public BlastSet() {
    super();
    qSeq = new StringBuffer();
    sSeq = new StringBuffer();
    annotation = new StringBuffer();
    snpList = new SNPList();
    alignmentStore = new AlignmentStore();
    isQuerySubjectOrfSet = false;
  }
View Full Code Here

Examples of versusSNP.blast.util.SNPList

    return orfList;
  }

  public SNPList getSSNPList(Genome subjectGenome) {
    for (Iterator<SNPList> iter = sSNPList.iterator(); iter.hasNext();) {
      SNPList snpList = iter.next();
      if (snpList.getSubjectGenome() == subjectGenome)
        return snpList;
    }
    return null;
  }
View Full Code Here

Examples of versusSNP.blast.util.SNPList

    return null;
  }

  public SNPList getNsSNPList(Genome subjectGenome) {
    for (Iterator<SNPList> iter = nsSNPList.iterator(); iter.hasNext();) {
      SNPList snpList = iter.next();
      if (snpList.getSubjectGenome() == subjectGenome)
        return snpList;
    }
    return null;
  }
View Full Code Here

Examples of versusSNP.blast.util.SNPList

    return null;
  }

  public SNPList getInSNPList(Genome subjectGenome) {
    for (Iterator<SNPList> iter = inSNPList.iterator(); iter.hasNext();) {
      SNPList snpList = iter.next();
      if (snpList.getSubjectGenome() == subjectGenome)
        return snpList;
    }
    return null;
  }
View Full Code Here

Examples of versusSNP.blast.util.SNPList

    return null;
  }

  public SNPList getDelSNPList(Genome subjectGenome) {
    for (Iterator<SNPList> iter = delSNPList.iterator(); iter.hasNext();) {
      SNPList snpList = iter.next();
      if (snpList.getSubjectGenome() == subjectGenome)
        return snpList;
    }
    return null;
  }
View Full Code Here

Examples of versusSNP.blast.util.SNPList

  }
  public void attachBlastSets(BlastList blastList, Genome subjectGenome) {
    attachBlastSets(blastList, subjectGenome, false);
  }
  public void attachBlastSets(BlastList blastList, Genome subjectGenome, boolean no_gui) {
    SNPList sSNPList = new SNPList(this, subjectGenome);
    SNPList nsSNPList = new SNPList(this, subjectGenome);
    SNPList inSNPList = new SNPList(this, subjectGenome);
    SNPList delSNPList = new SNPList(this, subjectGenome);
    for (Iterator<BlastSet> iter = blastList.iterator(); iter.hasNext();) {
      BlastSet set = iter.next();
      ORF qOrf, sOrf;
      if ((qOrf = findORF(set.getQName())) != null) {
        qOrf.addBlastSet(set);
View Full Code Here

Examples of versusSNP.blast.util.SNPList

  @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
TOP
Copyright © 2018 www.massapi.com. 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.