Table 1.
Methods available in the Data Retrieval Service
Methods | Description |
---|---|
getDatabases | Returns a string array of the pedant2 databases available for data retrieval |
getProteinSequencesbyDb | Takes the database name as a parameter and returns all protein codes and sequences in the db as a 2D string array |
getReportbyDbCodeandContig | Takes the database name, protein code and contig as parameters and returns the report data as a ReportItem bean |
areCodesUniqueWithinDb | Takes the database name as a parameter and returns a Boolean |
getRawHitsbyDbCodeandMethod | Takes the database name, protein code and method as parameters and returns the code and raw output for that method as a 2D string array |
getRawHitsbyDbCodeContigandMethod | Takes the database name, protein code, contig and method as parameters and returns the code and raw output for that method as a 2D string array |
getProteinCodesbyDb | Takes the database name as a parameter and returns the protein codes as a string array |
getProteinCodesandContigsbyDb | Takes the database name as a parameter and returns the protein codes and contigs as a 2D string array |
getMethodsbyDb | Takes the database name as a parameter and returns the available methods as a string array |