public class RegulatoryRegionParser extends CellBaseParser
logger, serializer
Constructor and Description |
---|
RegulatoryRegionParser(Path regulatoryRegionFilesDir,
CellBaseSerializer serializer) |
Modifier and Type | Method and Description |
---|---|
void |
createSQLiteRegulatoryFiles(Path regulatoryRegionPath) |
void |
createSQLiteRegulatoryFiles(Path filePath,
String tableName,
List<String> columnNames,
List<String> columnTypes) |
static List<String> |
getAnnotatedFeaturesFields(String line)
Deprecated.
|
List<String> |
getChromosomesList(Path dbPath,
String tableName) |
static List<String> |
getFields(String line,
String tableName) |
static List<String> |
getMirnaFeaturesFields(String line) |
static List<String> |
getMotifFeaturesFields(String line) |
static List<String> |
getRegulatoryFeaturesFields(String line) |
static void |
insertByType(PreparedStatement ps,
List<String> fields,
List<String> types) |
void |
parse() |
List<org.opencb.biodata.models.core.RegulatoryFeature> |
queryChromosomesRegulatoryDB(Path dbPath,
String tableName,
String chromosome) |
static List<org.opencb.biodata.models.core.RegulatoryFeature> |
queryRegulatoryDB(Path dbPath,
String tableName,
String chrFile,
int start,
int end) |
String |
repeat(String s,
int n) |
disconnect
public RegulatoryRegionParser(Path regulatoryRegionFilesDir, CellBaseSerializer serializer)
public void createSQLiteRegulatoryFiles(Path regulatoryRegionPath) throws SQLException, IOException, ClassNotFoundException, NoSuchMethodException
public void parse() throws SQLException, IOException, ClassNotFoundException, NoSuchMethodException
parse
in class CellBaseParser
SQLException
IOException
ClassNotFoundException
NoSuchMethodException
public void createSQLiteRegulatoryFiles(Path filePath, String tableName, List<String> columnNames, List<String> columnTypes) throws ClassNotFoundException, IOException, SQLException
public List<String> getChromosomesList(Path dbPath, String tableName) throws IOException
IOException
public List<org.opencb.biodata.models.core.RegulatoryFeature> queryChromosomesRegulatoryDB(Path dbPath, String tableName, String chromosome)
public static List<org.opencb.biodata.models.core.RegulatoryFeature> queryRegulatoryDB(Path dbPath, String tableName, String chrFile, int start, int end)
@Deprecated public static List<String> getAnnotatedFeaturesFields(String line)
public static void insertByType(PreparedStatement ps, List<String> fields, List<String> types) throws SQLException
SQLException
Copyright © 2019. All rights reserved.