public class ImportUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NUM_HAPMAP_NON_TAXA_HEADERS |
Modifier and Type | Method and Description |
---|---|
static GenotypeTable |
read(String filename)
This utility attempts to identify the file format(i.e.
|
static DataSet |
readDataSet(String filename)
This utility attempts to identify the file format(i.e.
|
static GenotypeTable |
readFasta(String filename) |
static GenotypeTable |
readFromHapmap(String filename)
Read GenotypeTable from HapMap file
|
static GenotypeTable |
readFromHapmap(String filename,
ProgressListener listener)
Read GenotypeTable from HapMap file
|
static GenotypeTable |
readFromHapmap(String filename,
ProgressListener listener,
boolean sortPositions)
Read GenotypeTable from HapMap file
|
static GenotypeTable |
readFromPLink(String pedFilename,
String mapFilename,
ProgressListener listener) |
static GenotypeTable |
readFromPLink(String pedFilename,
String mapFilename,
ProgressListener listener,
boolean sortPositions) |
static GenotypeTable |
readFromVCF(String filename) |
static GenotypeTable |
readFromVCF(String filename,
ProgressListener listener) |
static GenotypeTable |
readFromVCF(String filename,
ProgressListener listener,
boolean keepDepth) |
static GenotypeTable |
readFromVCF(String filename,
ProgressListener listener,
boolean keepDepth,
boolean sortPositions) |
static GenotypeTable |
readGuessFormat(String fileName)
Deprecated.
Use ImportUtils.read()
|
public static final int NUM_HAPMAP_NON_TAXA_HEADERS
public static GenotypeTable read(String filename)
filename
- public static DataSet readDataSet(String filename)
filename
- public static GenotypeTable readGuessFormat(String fileName)
public static GenotypeTable readFromVCF(String filename, ProgressListener listener, boolean keepDepth, boolean sortPositions)
public static GenotypeTable readFromVCF(String filename, ProgressListener listener, boolean keepDepth)
public static GenotypeTable readFromVCF(String filename, ProgressListener listener)
public static GenotypeTable readFromVCF(String filename)
public static GenotypeTable readFromHapmap(String filename)
filename
- input HapMap file namepublic static GenotypeTable readFromHapmap(String filename, ProgressListener listener)
filename
- input HapMap file namelistener
- progress listener to track reading ratepublic static GenotypeTable readFromHapmap(String filename, ProgressListener listener, boolean sortPositions)
filename
- input HapMap file namelistener
- progress listener to track reading ratesortPositions
- whether to sort positionspublic static GenotypeTable readFromPLink(String pedFilename, String mapFilename, ProgressListener listener)
public static GenotypeTable readFromPLink(String pedFilename, String mapFilename, ProgressListener listener, boolean sortPositions)
public static GenotypeTable readFasta(String filename) throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2018. All rights reserved.