org.opencb.opencga.storage.core.variant.adaptors.VariantQueryUtils.getIncludeFormats()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(67)

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

VariantQueryUtils.getIncludeFormats介绍

[英]Gets a list of elements formats to return.
[中]获取要返回的元素格式列表。

代码示例

代码示例来源:origin: opencb/opencga

private static void checkIncludeFormats(String expected, Query query) {
  List<String> expectedList = expected == null ? null
      : expected.isEmpty() ? Collections.emptyList() : Arrays.asList(expected.split(","));
  assertEquals(expectedList, getIncludeFormats(query));
}

代码示例来源:origin: opencb/opencga

List<String> formats = VariantQueryUtils.getIncludeFormats(query);
if (formats != null) { // If null, undefined. Return all

代码示例来源:origin: opencb/opencga

unknownGenotype = query.getString(UNKNOWN_GENOTYPE.key());
List<String> formats = getIncludeFormats(query);
Iterator<ResultScanner> resScans = scans.stream().map(scan -> {
  try {
List<String> formats = getIncludeFormats(query);
String unknownGenotype = null;
if (isValidParam(query, UNKNOWN_GENOTYPE)) {

代码示例来源:origin: opencb/opencga

DocumentToSamplesConverter samplesConverter;
samplesConverter = new DocumentToSamplesConverter(studyConfigurationManager);
samplesConverter.setFormat(getIncludeFormats(query));

代码示例来源:origin: opencb/opencga

List<String> formats = getIncludeFormats(query);
if (formats == null) {
  query.put(INCLUDE_FORMAT.key(), ALL);

相关文章

微信公众号

最新文章

更多