wordpress栏目模板seo网站培训班
在 GATK 中,SampleList
是一个接口,用于表示一个样本列表。这些样本通常是在基因组分析过程中被处理的不同生物样本。SampleList
接口提供了访问这些样本的一些基本方法,通常用于多样本分析任务,比如变异检测或基因组重测序。
SampleList
接口的方法
SampleList
接口定义了一些关键方法,用于获取和处理样本信息:
SampleList接口的实现类
SampleList源代码
package org.broadinstitute.hellbender.utils.genotyper;import org.broadinstitute.hellbender.utils.Utils;import java.util.*;/*** An immutable, indexed set of samples.** <p>* Implementing classes must guarantee that the sample list will remain <b>constant</b> through the life of the object.* </p>*/
//Note: Names in this interface are unusual because of name clash in a subclass.
// For example the name of SampleList.numberOfSamples() cannot be simply size(), as would be usual,
// because {@link AlleleLikelihoods} implements AlleleList and SampleList and then size() would be ambiguous.
public interface SampleList {static final SampleList EMPTY_LIST = new SampleList() {@Overridepublic int numberOfSamples() {return 0;}@Overridepublic in