本文整理了Java中org.opencb.opencga.storage.core.variant.adaptors.VariantQueryUtils.convertGoToGeneQuery()
方法的一些代码示例,展示了VariantQueryUtils.convertGoToGeneQuery()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VariantQueryUtils.convertGoToGeneQuery()
方法的具体详情如下:
包路径:org.opencb.opencga.storage.core.variant.adaptors.VariantQueryUtils
类名称:VariantQueryUtils
方法名:convertGoToGeneQuery
暂无
代码示例来源:origin: opencb/opencga
@Override
public Query preProcessQuery(Query originalQuery, QueryOptions options) throws StorageEngineException {
Query query = super.preProcessQuery(originalQuery, options);
StudyConfigurationManager studyConfigurationManager = getStudyConfigurationManager();
List<String> studyNames = studyConfigurationManager.getStudyNames(QueryOptions.empty());
CellBaseUtils cellBaseUtils = getCellBaseUtils();
if (isValidParam(query, STUDY) && studyNames.size() == 1) {
query.remove(STUDY.key());
}
convertGoToGeneQuery(query, cellBaseUtils);
convertExpressionToGeneQuery(query, cellBaseUtils);
convertGenesToRegionsQuery(query, cellBaseUtils);
return query;
}
代码示例来源:origin: opencb/opencga
@Override
public Query preProcessQuery(Query originalQuery, QueryOptions options) throws StorageEngineException {
Query query = super.preProcessQuery(originalQuery, options);
List<String> studyNames = studyConfigurationManager.getStudyNames(QueryOptions.empty());
CellBaseUtils cellBaseUtils = getCellBaseUtils();
if (isValidParam(query, VariantQueryParam.STUDY)
&& studyNames.size() == 1
&& !isNegated(query.getString(VariantQueryParam.STUDY.key()))
&& !isValidParam(query, FILE)
&& !isValidParam(query, FILTER)
&& !isValidParam(query, QUAL)
&& !isValidParam(query, INFO)
&& !isValidParam(query, SAMPLE)
&& !isValidParam(query, FORMAT)
&& !isValidParam(query, GENOTYPE)) {
query.remove(VariantQueryParam.STUDY.key());
}
convertGoToGeneQuery(query, cellBaseUtils);
convertExpressionToGeneQuery(query, cellBaseUtils);
return query;
}
内容来源于网络,如有侵权,请联系作者删除!