|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mayo.bsi.ngsportal.GetRunSamples
public class GetRunSamples
Get all the samples for a run from the database and print the results in the following order:
Run Name Flow Cell Instrument RLIMS BatchID Start Date Primary Analysis Status
Instrument Complete Date Primary Complete Date Primary QC Complete Date Primary Delivery Date
Sample Name Sample RLIMS ID Sequencing RLIMS Project ID Lane App Type Read Type
Num Cycles Is Control Is Vendor Index Index Sequence
@author Gregory Dougherty
| Constructor Summary | |
|---|---|
GetRunSamples()
|
|
| Method Summary | |
|---|---|
static void |
close()
Close the connection to the servlet / db |
static List<SampleData> |
getRunSamples(String[] runNames,
String analysisType,
String pi,
String[] sampleNames,
String[] sampleRLIMSIds,
String[] sampleFamilyIds,
String[] sampleParentIds,
String[] rlimsProjectIDs,
int minNumReads,
Date startDate,
Date endDate)
Get all the samples from the specified runs and print the information out in this order: Run Name Flow Cell Instrument RLIMS BatchID Start Date Primary Analysis Status Instrument Complete Date Primary Complete Date Primary QC Complete Date Primary Delivery Date Sample Name Sample RLIMS ID Sequencing RLIMS Project ID Lane App Type Read Type Num Cycles Is Control Is Vendor Index Index Sequence |
static void |
main(String[] args)
Parse the arguments in order to get all the samples for a run from the database and print the results in the following order: Run Name Flow Cell Instrument RLIMS BatchID Start Date Primary Analysis Status Instrument Complete Date Primary Complete Date Primary QC Complete Date Primary Delivery Date Sample Name Sample RLIMS ID Sequencing RLIMS Project ID Lane App Type Read Type Num Cycles Is Control Is Vendor Index Index Sequence |
String |
name()
Return the name of the application |
static void |
printResults(List<SampleData> results,
boolean showPI,
boolean showPIAsPath,
boolean showReads)
Print out the results |
String |
usage()
Writes Usage information to a String |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetRunSamples()
| Method Detail |
|---|
public static final void main(String[] args)
args - Arguments to parse. Specified by usage()
public static List<SampleData> getRunSamples(String[] runNames,
String analysisType,
String pi,
String[] sampleNames,
String[] sampleRLIMSIds,
String[] sampleFamilyIds,
String[] sampleParentIds,
String[] rlimsProjectIDs,
int minNumReads,
Date startDate,
Date endDate)
runNames - Names of the run(s) that we wants the samples of, null if not restricting on thatanalysisType - Name of the application type to restrict on, null if nonepi - Lan ID of PI to get samples for, null if not restricting on thatsampleNames - Names of the sample(s) that we're interested in, null if not restricting on thatsampleRLIMSIds - RLIMS IDs of the sample(s) that we're interested in, null if not restricting on thatsampleFamilyIds - RLIMS Family ID of the sample(s) that we're interested in, null if not restricting on thatsampleParentIds - Root RLIMS IDs of the sample(s) that we're interested in, null if not restricting on thatrlimsProjectIDs - RLIMS Project ID(s) of the sample(s) that we're interested in, null if not restricting on thatminNumReads - Minimum number of reads for a sample restrict on, 0 if not restricting on thatstartDate - Start date, inclusive, for results, null if not restricting on thatendDate - End date, inclusive, for results, null if not restricting on that
public static void printResults(List<SampleData> results,
boolean showPI,
boolean showPIAsPath,
boolean showReads)
results - Results to print outshowPI - If true, and showPIAsPath is false, include the PI name as lastName, firstNameshowPIAsPath - If true, print out the PI as path, if there is one: lastName_firstName_lanIDshowReads - If true, include the number of reads, 0 if not knownpublic static void close()
public String usage()
usage in interface UsageUsage.usage()public String name()
name in interface UsageUsage.name()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||