Package org.bridgedb.tools.qc
Class PatternChecker
- java.lang.Object
-
- org.bridgedb.tools.qc.PatternChecker
-
public class PatternChecker extends Object
Script to check the Id's of one or more derby databases against the patterns registerd in BioDataSources.This will check all Id's against the patterns, count how many do not match, and print a few example id's that do not match.
Not to be confused with the BridgeQC script, which really compares the contents of two databases.
-
-
Constructor Summary
Constructors Constructor Description PatternChecker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)Script can be run in two ways 1) as part of BridgeQC, to check a single database.voidrun(File f)
-
-
-
Method Detail
-
run
public void run(File f) throws SQLException, IDMapperException
- Throws:
SQLExceptionIDMapperException
-
main
public static void main(String[] args) throws IDMapperException, SQLException
Script can be run in two ways 1) as part of BridgeQC, to check a single database. Pass one argument with a derby database filename. 2) standalone, to check a set of databases. Specify each database on the command line separately.- Throws:
IDMapperExceptionSQLException
-
-