gpt4 book ai didi

org.broad.igv.bbfile.ZoomDataBlock.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 12:48:36 27 4
gpt4 key购买 nike

本文整理了Java中org.broad.igv.bbfile.ZoomDataBlock.<init>()方法的一些代码示例,展示了ZoomDataBlock.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoomDataBlock.<init>()方法的具体详情如下:
包路径:org.broad.igv.bbfile.ZoomDataBlock
类名称:ZoomDataBlock
方法名:<init>

ZoomDataBlock.<init>介绍

暂无

代码示例

代码示例来源:origin: igvteam/igv

private boolean getDataBlock(int leafItemIndex) {
  // check for valid data block
  if (leafHitList == null || leafItemIndex >= leafHitList.size())
    return false;
  // Perform a block read for indexed leaf item
  leafHitItem = leafHitList.get(leafItemIndex);
  // get the chromosome names associated with the hit region ID's
  int startChromID = leafHitItem.getChromosomeBounds().getStartChromID();
  int endChromID = leafHitItem.getChromosomeBounds().getEndChromID();
  chromosomeMap = chromIDTree.getChromosomeIDMap(startChromID, endChromID);
  boolean isLowToHigh = zoomDataTree.isIsLowToHigh();
  int uncompressBufSize = zoomDataTree.getUncompressBuffSize();
  // decompress leaf item data block for feature extraction
  zoomDataBlock = new ZoomDataBlock(zoomLevel, fis, leafHitItem, chromosomeMap,
      isLowToHigh, uncompressBufSize);
  // get data block zoom data record list and set next index to first item
  zoomRecordList = zoomDataBlock.getZoomData(selectionRegion, isContained);
  zoomRecordIndex = 0;
  // data block items available for iterator
  if (zoomRecordList.size() > 0)
    return true;
  else
    return false;
}

代码示例来源:origin: edu.toronto.cs.savant/savant-core

private boolean getDataBlock(int leafItemIndex) {
  // check for valid data block
  if (leafHitList == null || leafItemIndex >= leafHitList.size())
    return false;
  // Perform a block read for indexed leaf item
  leafHitItem = leafHitList.get(leafItemIndex);
  // get the chromosome names associated with the hit region ID's
  int startChromID = leafHitItem.getChromosomeBounds().getStartChromID();
  int endChromID = leafHitItem.getChromosomeBounds().getEndChromID();
  chromosomeMap = chromIDTree.getChromosomeIDMap(startChromID, endChromID);
  boolean isLowToHigh = zoomDataTree.isIsLowToHigh();
  int uncompressBufSize = zoomDataTree.getUncompressBuffSize();
  // decompress leaf item data block for feature extraction
  zoomDataBlock = new ZoomDataBlock(zoomLevel, fis, leafHitItem, chromosomeMap,
      isLowToHigh, uncompressBufSize);
  // get data block zoom data record list and set next index to first item
  zoomRecordList = zoomDataBlock.getZoomData(selectionRegion, isContained);
  zoomRecordIndex = 0;
  // data block items available for iterator
  if (zoomRecordList.size() > 0)
    return true;
  else
    return false;
}

代码示例来源:origin: pcingola/SnpEff

private boolean getDataBlock(int leafItemIndex) {
  // check for valid data block
  if (leafHitList == null || leafItemIndex >= leafHitList.size())
    return false;
  // Perform a block read for indexed leaf item
  leafHitItem = leafHitList.get(leafItemIndex);
  // get the chromosome names associated with the hit region ID's
  int startChromID = leafHitItem.getChromosomeBounds().getStartChromID();
  int endChromID = leafHitItem.getChromosomeBounds().getEndChromID();
  chromosomeMap = chromIDTree.getChromosomeIDMap(startChromID, endChromID);
  boolean isLowToHigh = zoomDataTree.isIsLowToHigh();
  int uncompressBufSize = zoomDataTree.getUncompressBuffSize();
  // decompress leaf item data block for feature extraction
  zoomDataBlock = new ZoomDataBlock(zoomLevel, fis, leafHitItem, chromosomeMap,
      isLowToHigh, uncompressBufSize);
  // get data block zoom data record list and set next index to first item
  zoomRecordList = zoomDataBlock.getZoomData(selectionRegion, isContained);
  zoomRecordIndex = 0;
  // data block items available for iterator
  if (zoomRecordList.size() > 0)
    return true;
  else
    return false;
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com