public class GTBSplitter extends GTBEditor
将文件按照一定的规则切割为几个小部份
限定符和类型 | 方法和说明 |
---|---|
static GTBSplitter |
of(java.lang.Object manager)
构造器方法
|
static GTBSplitter |
of(java.lang.Object manager,
java.io.File outputDir)
构造器方法
|
java.util.Map<Chromosome,GTBManager> |
splitByChromosome(java.util.Set<Chromosome> chromosomes)
按照染色体进行分裂文件
|
edu.sysu.pmglab.container.array.BaseArray<java.util.Map.Entry<edu.sysu.pmglab.container.Interval<java.lang.Long>,GTBManager>> |
splitByVariantNum(long variantNum)
按照位点数量进行分裂文件
|
GTBManager |
submit()
已过时。
|
java.lang.String |
toString() |
addField, addFields, addFields, addMeta, addMeta, addMeta, addVariantFilter, clearFields, clearMeta, dropDuplicationMeta, getManager, getOutputFile, loadGenotype, renameField, renameFields, renameSubject, renameSubjects, renameSubjects, setFormat, setOutputFile, setThreads
public static GTBSplitter of(java.lang.Object manager)
manager
- 文件管理器public static GTBSplitter of(java.lang.Object manager, java.io.File outputDir)
manager
- 文件管理器outputDir
- 输出文件夹@Deprecated public GTBManager submit()
GTBEditor
public java.util.Map<Chromosome,GTBManager> splitByChromosome(java.util.Set<Chromosome> chromosomes)
chromosomes
- 染色体列表, null 时切割所有的染色体public edu.sysu.pmglab.container.array.BaseArray<java.util.Map.Entry<edu.sysu.pmglab.container.Interval<java.lang.Long>,GTBManager>> splitByVariantNum(long variantNum)
variantNum
- 位点数量public java.lang.String toString()
toString
在类中 java.lang.Object