本文整理了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
[英]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);
内容来源于网络,如有侵权,请联系作者删除!