| Modifier and Type | Class and Description |
|---|---|
protected class |
MetadataWS.LowLevel |
| Constructor and Description |
|---|
MetadataWS(String database,
String username,
String password)
Constructor for MetadataWS.
|
| Modifier and Type | Method and Description |
|---|---|
ReturnValue |
add_empty_processing_event_by_parent_accession(int[] parentAccessions)
add_empty_processing_event_by_parent_accession.
|
ReturnValue |
add_empty_processing_event(int[] parentIDs)
add_empty_processing_event.
|
ReturnValue |
add_task_group(int[] parentIDs,
int[] childIDs,
String algorithm,
String description)
add_task_group.
|
void |
add_workflow_run_ancestor(int workflowRunAccession,
int processingId)
add_workflow_run_ancestor.
|
int |
add_workflow_run(int workflowAccession)
add_workflow_run.
|
ReturnValue |
addExperiment(Integer studySwAccession,
Integer platformId,
String description,
String title,
Integer experimentLibraryDesignId,
Integer experimentSpotDesignId)
addExperiment.
|
ReturnValue |
addIUS(Integer laneAccession,
Integer sampleAccession,
String name,
String description,
String barcode,
boolean skip)
addSample.
|
ReturnValue |
addLane(Integer sequencerRunAccession,
Integer studyTypeId,
Integer libraryStrategyId,
Integer librarySelectionId,
Integer librarySourceId,
String name,
String description,
String cycleDescriptor,
boolean skip,
Integer laneNumber)
addSample.
|
ReturnValue |
addSample(Integer experimentAccession,
Integer parentSampleAccession,
Integer organismId,
String description,
String title)
addSample.
|
ReturnValue |
addSequencerRun(Integer platformAccession,
String name,
String description,
boolean pairdEnd,
boolean skip,
String filePath,
SequencerRunStatus status)
FIXME: there are problems with setting accession when I should set ID
|
ReturnValue |
addStudy(String title,
String description,
String centerName,
String centerProjectName,
Integer studyTypeId)
addStudy.
|
ReturnValue |
addWorkflow(String name,
String version,
String description,
String baseCommand,
String configFile,
String templateFile,
String provisionDir,
boolean storeProvisionDir,
String archiveZip,
boolean storeArchiveZip,
String workflowClass,
String workflowType,
String workflowEngine,
String seqwareVersion)
addWorkflow.
|
protected ReturnValue |
addWorkflowParam(HashMap<String,Map<String,String>> hm,
String key,
Workflow workflow) |
void |
annotateExperiment(int experimentSWID,
ExperimentAttribute att,
Boolean skip)
annotateExperiment.
|
void |
annotateExperiment(int experimentSWID,
Set<ExperimentAttribute> atts)
annotateExperiment.
|
void |
annotateFile(int fileSWID,
FileAttribute att,
Boolean skip)
annotateFile.
|
void |
annotateFile(int fileSWID,
Set<FileAttribute> atts)
annotateFile.
|
void |
annotateIUS(int iusSWID,
IUSAttribute iusAtt,
Boolean skip)
annotateIUS.
|
void |
annotateIUS(int iusSWID,
Set<IUSAttribute> iusAtts)
annotateIUS.
|
void |
annotateLane(int laneSWID,
LaneAttribute laneAtt,
Boolean skip)
annotateLane.
|
void |
annotateLane(int laneSWID,
Set<LaneAttribute> laneAtts)
annotateLane.
|
void |
annotateProcessing(int swid,
ProcessingAttribute att,
Boolean skip)
annotateProcessing.
|
void |
annotateProcessing(int processingSWID,
Set<ProcessingAttribute> atts)
annotateProcessing.
|
void |
annotateSample(int swid,
SampleAttribute att,
Boolean skip)
annotateSample.
|
void |
annotateSample(int sampleSWID,
Set<SampleAttribute> atts)
annotateSample.
|
void |
annotateSequencerRun(int sequencerRunSWID,
SequencerRunAttribute sequencerRunAtt,
Boolean skip)
annotateSequencerRun.
|
void |
annotateSequencerRun(int sequencerRunSWID,
Set<SequencerRunAttribute> sequencerRunAtts)
annotateSequencerRun.
|
void |
annotateStudy(int studySWID,
Set<StudyAttribute> atts)
annotateStudy.
|
void |
annotateStudy(int swid,
StudyAttribute att,
Boolean skip)
annotateStudy.
|
void |
annotateWorkflow(int workflowSWID,
Set<WorkflowAttribute> atts)
annotateWorkflow.
|
void |
annotateWorkflow(int workflowSWID,
WorkflowAttribute att,
Boolean skip)
annotateWorkflow.
|
void |
annotateWorkflowRun(int workflowrunSWID,
Set<WorkflowRunAttribute> atts)
annotateWorkflowRun.
|
void |
annotateWorkflowRun(int workflowrunSWID,
WorkflowRunAttribute att,
Boolean skip)
annotateWorkflowRun.
|
ReturnValue |
associate_processing_event_with_parents_and_child(int processingID,
int[] parentIDs,
int[] childIDs)
associate_processing_event_with_parents_and_child.
|
boolean |
checkClientServerMatchingVersion()
Check to see if client seqware version matches server version
|
ReturnValue |
clean_up()
clean_up.
|
protected static HashMap<String,Map<String,String>> |
convertIniToMap(String configFile,
String provisionDir) |
protected static WorkflowParam |
convertMapToWorkflowParam(Map<String,String> details,
Workflow workflow) |
static Workflow |
convertParamsToWorkflow(String baseCommand,
String name,
String description,
String version1,
String configFile,
boolean storeProvisionDir,
String provisionDir,
String templateFile,
boolean storeArchiveZip,
String archiveZip,
String workflow_class,
String workflow_type,
String workflow_engine,
String seqware_version) |
protected static void |
convertParamsToWorkflowRun(WorkflowRun wr,
String pegasusCmd,
String workflowTemplate,
WorkflowRunStatus status,
String statusCmd,
String workingDirectory,
String dax,
String ini,
String host,
String stdErr,
String stdOut,
String workflowEngine,
Set<Integer> inputFiles) |
static Map<String,String> |
convertWorkflowToMap(Workflow workflow) |
List<Map<String,String>> |
fileProvenanceReport(Map<FileProvenanceParam,List<String>> params)
Retrieves the file provenance report.
|
void |
fileProvenanceReport(Map<FileProvenanceParam,List<String>> params,
Writer out)
Retrieves the file provenance report, writing it to the specified output stream as a TSV.
|
void |
fileProvenanceReportTrigger()
Triggers the file provenance report, this is a costly operation so it should be scheduled via a cron or similar
|
Map<String,String> |
get_workflow_info(int workflowAccession)
get_workflow_info.
|
int |
get_workflow_run_accession(int workflowRunId)
get_workflow_run_accession.
|
int |
get_workflow_run_id(int workflowRunAccession)
get_workflow_run_id.
|
List<SequencerRun> |
getAllSequencerRuns()
getAllSequencerRuns.
|
List<Study> |
getAllStudies()
getAllStudies.
|
List<Sample> |
getChildSamplesFrom(int parentSampleAccession)
Get the child samples of a parent sample.
|
Map<String,String> |
getEnvironmentReport()
Retrieves all environmental information from the web-service
|
Experiment |
getExperiment(int swAccession)
getExperiment.
|
List<ExperimentLibraryDesign> |
getExperimentLibraryDesigns()
getExperimentLibraryDesigns.
|
List<Experiment> |
getExperimentsFrom(int studyAccession)
Get experiments from a study.
|
List<ExperimentSpotDesignReadSpec> |
getExperimentSpotDesignReadSpecs()
getPlatforms.
|
List<ExperimentSpotDesign> |
getExperimentSpotDesigns()
getExperimentSpotDesigns.
|
File |
getFile(int swAccession)
getFile.
|
IUS |
getIUS(int swAccession)
Get ius by sw accession
|
List<IUS> |
getIUSFrom(int laneOrSampleAccession)
Get IUSes (barcodes) from a lane or sample.
|
Lane |
getLane(int laneAccession)
getLane.
|
List<Lane> |
getLanesFrom(int sequencerRunAccession)
Get Lanes from a sequencer run.
|
List<LibrarySelection> |
getLibrarySelections()
getLibrarySelections.
|
List<LibrarySource> |
getLibrarySource()
getLibrarySource.
|
List<LibraryStrategy> |
getLibraryStrategies()
getLibraryStrategies.
|
List<Organism> |
getOrganisms()
getOrganisms.
|
List<Sample> |
getParentSamplesFrom(int childSampleAccession)
Get the parent samples of a sample.
|
List<Platform> |
getPlatforms()
getPlatforms.
|
Processing |
getProcessing(int processingAccession)
getProcessing.
|
String |
getProcessingRelations(String swAccession)
getProcessingRelations.
|
Sample |
getSample(int swAccession)
Get sample by swa
|
List<Sample> |
getSampleByName(String sampleName) |
List<Sample> |
getSamplesFrom(int experimentAccession)
Get the samples from an experiment.
|
SequencerRun |
getSequencerRun(int sequencerRunAccession)
getSequencerRun.
|
SequencerRun |
getSequencerRunByName(String name) |
String |
getSequencerRunReport()
getSequencerRunReport.
|
Study |
getStudy(int swAccession)
Get study by swa
|
List<Study> |
getStudyByName(String name) |
List<StudyType> |
getStudyTypes()
getStudyTypes.
|
List<Object> |
getViaAccessions(int[] potentialAccessions)
Get the models corresponding to potential accessions
|
List<ParentAccessionModel> |
getViaParentAccessions(int[] potentialParentAccessions)
Get the models corresponding to potential parent accessions
|
Workflow |
getWorkflow(int workflowAccession)
Get a workflow
|
int |
getWorkflowAccession(String name,
String version)
getWorkflowAccession.
|
SortedSet<WorkflowParam> |
getWorkflowParams(String workflowAccession)
getWorkflowParams.
|
WorkflowRun |
getWorkflowRun(int workflowRunAccession)
getWorkflowRun.
|
String |
getWorkflowRunReport(Date earliestDate,
Date latestDate)
getWorkflowRunReport.
|
String |
getWorkflowRunReport(int workflowRunSWID)
getWorkflowRunReport.
|
String |
getWorkflowRunReport(int workflowSWID,
Date earliestDate,
Date latestDate)
getWorkflowRunReport.
|
String |
getWorkflowRunReport(Integer workflowSWID,
WorkflowRunStatus status,
Date earliestDate,
Date latestDate) |
String |
getWorkflowRunReport(WorkflowRunStatus status,
Date earliestDate,
Date latestDate)
getWorkflowRunReport.
|
String |
getWorkflowRunReportStdErr(int workflowRunSWID)
getWorkflowRunReportStdErr.
|
String |
getWorkflowRunReportStdOut(int workflowRunSWID)
getWorkflowRunReportStdOut.
|
List<WorkflowRun> |
getWorkflowRunsAssociatedWithFiles(List<Integer> fileAccessions,
String search_type)
Returns the workflow_runs associated with a group of files.
|
List<WorkflowRun> |
getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions)
Returns the workflow_runs associated with a group of input files.
|
List<WorkflowRun> |
getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions,
List<Integer> workflows)
Returns the workflow_runs associated with a group of input files.
|
List<WorkflowRun> |
getWorkflowRunsByStatus(WorkflowRunStatus status)
getWorkflowRunsByStatus.
|
List<WorkflowRun> |
getWorkflowRunsByStatusCmd(String statusCmd)
Get workflow run by status cmd (oozie job id in oozie).
|
WorkflowRun |
getWorkflowRunWithWorkflow(String workflowRunAccession)
getWorkflowRunWithWorkflow.
|
Boolean |
isDuplicateFile(String filepath)
isDuplicateFile.
|
boolean |
linkWorkflowRunAndParent(int workflowRunId,
int parentAccession)
linkWorkflowRunAndParent.
|
String |
listInstalledWorkflowParams(String workflowAccession)
listInstalledWorkflowParams.
|
String |
listInstalledWorkflows()
listInstalledWorkflows.
|
int |
mapProcessingIdToAccession(int processingId)
mapProcessingIdToAccession.
|
ReturnValue |
processing_event_to_task_group(int processingID,
int[] parentIDs,
int[] childIDs,
String algorithm,
String description)
processing_event_to_task_group.
|
ReturnValue |
update_processing_event(int processingID,
ReturnValue retval)
update_processing_event.
|
ReturnValue |
update_processing_status(int processingID,
ProcessingStatus status)
update_processing_status.
|
ReturnValue |
update_processing_workflow_run(int processingID,
int workflowRunAccession)
update_processing_workflow_run.
|
ReturnValue |
update_workflow_run(int workflowRunId,
String pegasusCmd,
String workflowTemplate,
WorkflowRunStatus status,
String statusCmd,
String workingDirectory,
String dax,
String ini,
String host,
String stdErr,
String stdOut,
String workflowEngine,
Set<Integer> inputFiles)
update_workflow_run.
|
ReturnValue |
updateWorkflow(int workflowId,
String permanentBundleLocation)
updateWorkflow.
|
void |
updateWorkflowRun(WorkflowRun wr) |
public ReturnValue addWorkflow(String name, String version, String description, String baseCommand, String configFile, String templateFile, String provisionDir, boolean storeProvisionDir, String archiveZip, boolean storeArchiveZip, String workflowClass, String workflowType, String workflowEngine, String seqwareVersion)
addWorkflow.
addWorkflow in interface Metadataname - a String object.version - a String object.description - a String object.baseCommand - a String object.configFile - a String object.templateFile - a String object.provisionDir - a String object.storeProvisionDir - a boolean.archiveZip - a String object.storeArchiveZip - a boolean.ReturnValue object.protected static HashMap<String,Map<String,String>> convertIniToMap(String configFile, String provisionDir)
public static Workflow convertParamsToWorkflow(String baseCommand, String name, String description, String version1, String configFile, boolean storeProvisionDir, String provisionDir, String templateFile, boolean storeArchiveZip, String archiveZip, String workflow_class, String workflow_type, String workflow_engine, String seqware_version)
public ReturnValue addStudy(String title, String description, String centerName, String centerProjectName, Integer studyTypeId)
addStudy.
public ReturnValue addExperiment(Integer studySwAccession, Integer platformId, String description, String title, Integer experimentLibraryDesignId, Integer experimentSpotDesignId)
addExperiment.
TODO: this needs to setup rows in experiment_library_design and experiment_spot_designaddExperiment in interface MetadataexperimentLibraryDesignId - the value of experimentLibraryDesignIdexperimentSpotDesignId - the value of experimentSpotDesignIdstudySwAccession - a Integer object.platformId - a Integer object.description - a String object.title - a String object.ReturnValue object.public ReturnValue addSample(Integer experimentAccession, Integer parentSampleAccession, Integer organismId, String description, String title)
addSample.
TODO: this needs to setup rows in experiment_library_design and experiment_spot_designpublic ReturnValue addSequencerRun(Integer platformAccession, String name, String description, boolean pairdEnd, boolean skip, String filePath, SequencerRunStatus status)
addSequencerRun in interface MetadataplatformAccession - name - description - pairdEnd - skip - filePath - status - the value of statuspublic ReturnValue addLane(Integer sequencerRunAccession, Integer studyTypeId, Integer libraryStrategyId, Integer librarySelectionId, Integer librarySourceId, String name, String description, String cycleDescriptor, boolean skip, Integer laneNumber)
MetadataaddSample.
addLane in interface Metadatadescription - a String object.ReturnValue object.public ReturnValue addIUS(Integer laneAccession, Integer sampleAccession, String name, String description, String barcode, boolean skip)
MetadataaddSample.
addIUS in interface MetadataReturnValue object.public List<Platform> getPlatforms()
MetadatagetPlatforms.
getPlatforms in interface MetadataPlatform object.public List<Organism> getOrganisms()
MetadatagetOrganisms.
getOrganisms in interface MetadataOrganism object.public List<StudyType> getStudyTypes()
MetadatagetStudyTypes.
getStudyTypes in interface MetadataStudyType object.public List<LibraryStrategy> getLibraryStrategies()
MetadatagetLibraryStrategies.
getLibraryStrategies in interface MetadataLibraryStrategy object.public List<LibrarySelection> getLibrarySelections()
MetadatagetLibrarySelections.
getLibrarySelections in interface MetadataLibrarySelection object.public List<LibrarySource> getLibrarySource()
MetadatagetLibrarySource.
getLibrarySource in interface MetadataLibrarySource object.public List<ParentAccessionModel> getViaParentAccessions(int[] potentialParentAccessions)
MetadatagetViaParentAccessions in interface Metadatapublic List<Object> getViaAccessions(int[] potentialAccessions)
MetadatagetViaAccessions in interface Metadataprotected ReturnValue addWorkflowParam(HashMap<String,Map<String,String>> hm, String key, Workflow workflow)
protected static WorkflowParam convertMapToWorkflowParam(Map<String,String> details, Workflow workflow)
public ReturnValue add_empty_processing_event(int[] parentIDs)
add_empty_processing_event.
add_empty_processing_event in interface MetadataparentIDs - an array of int.ReturnValue object.public ReturnValue add_empty_processing_event_by_parent_accession(int[] parentAccessions)
add_empty_processing_event_by_parent_accession.
add_empty_processing_event_by_parent_accession in interface MetadataparentAccessions - an array of int.ReturnValue object.public ReturnValue add_task_group(int[] parentIDs, int[] childIDs, String algorithm, String description)
add_task_group.
add_task_group in interface MetadataparentIDs - an array of int.childIDs - an array of int.algorithm - a String object.description - a String object.ReturnValue object.public int add_workflow_run(int workflowAccession)
add_workflow_run.
add_workflow_run in interface MetadataworkflowAccession - a int.public void add_workflow_run_ancestor(int workflowRunAccession,
int processingId)
add_workflow_run_ancestor.
add_workflow_run_ancestor in interface MetadataworkflowRunAccession - a int.processingId - a int.public ReturnValue associate_processing_event_with_parents_and_child(int processingID, int[] parentIDs, int[] childIDs)
associate_processing_event_with_parents_and_child.
associate_processing_event_with_parents_and_child in interface MetadataprocessingID - a int.parentIDs - an array of int.childIDs - an array of int.ReturnValue object.public ReturnValue clean_up()
clean_up.
clean_up in interface MetadataReturnValue object.public void fileProvenanceReport(Map<FileProvenanceParam,List<String>> params, Writer out)
MetadatafileProvenanceReport in interface Metadataparams - the parameters to filter the resultsout - where the TSV content will be writtenpublic void fileProvenanceReportTrigger()
MetadatafileProvenanceReportTrigger in interface Metadatapublic List<Map<String,String>> fileProvenanceReport(Map<FileProvenanceParam,List<String>> params)
MetadatafileProvenanceReport in interface Metadataparams - the parameters to filter the resultspublic Map<String,String> get_workflow_info(int workflowAccession)
get_workflow_info.
get_workflow_info in interface MetadataworkflowAccession - a int.Map object.public int get_workflow_run_accession(int workflowRunId)
get_workflow_run_accession.
get_workflow_run_accession in interface MetadataworkflowRunId - a int.public Workflow getWorkflow(int workflowAccession)
getWorkflow in interface Metadatapublic WorkflowRun getWorkflowRun(int workflowRunAccession)
getWorkflowRun.
getWorkflowRun in interface MetadataworkflowRunAccession - a int.WorkflowRun object.public List<WorkflowRun> getWorkflowRunsByStatusCmd(String statusCmd)
MetadatagetWorkflowRunsByStatusCmd in interface Metadatapublic int get_workflow_run_id(int workflowRunAccession)
get_workflow_run_id.
get_workflow_run_id in interface MetadataworkflowRunAccession - a int.public boolean linkWorkflowRunAndParent(int workflowRunId,
int parentAccession)
throws SQLException
linkWorkflowRunAndParent.
linkWorkflowRunAndParent in interface MetadataworkflowRunId - a int.parentAccession - a int.SQLException - if any.public int mapProcessingIdToAccession(int processingId)
mapProcessingIdToAccession.
mapProcessingIdToAccession in interface MetadataprocessingId - a int.public ReturnValue processing_event_to_task_group(int processingID, int[] parentIDs, int[] childIDs, String algorithm, String description)
processing_event_to_task_group.
processing_event_to_task_group in interface MetadataprocessingID - a int.parentIDs - an array of int.childIDs - an array of int.algorithm - a String object.description - a String object.ReturnValue object.public ReturnValue update_processing_event(int processingID, ReturnValue retval)
update_processing_event.
update_processing_event in interface MetadataprocessingID - a int.retval - a ReturnValue object.ReturnValue object.public ReturnValue update_processing_status(int processingID, ProcessingStatus status)
update_processing_status.
update_processing_status in interface MetadataprocessingID - a int.status - a String object.ReturnValue object.public ReturnValue update_processing_workflow_run(int processingID, int workflowRunAccession)
update_processing_workflow_run.
update_processing_workflow_run in interface MetadataworkflowRunAccession - processingID - a int.ReturnValue object.public ReturnValue update_workflow_run(int workflowRunId, String pegasusCmd, String workflowTemplate, WorkflowRunStatus status, String statusCmd, String workingDirectory, String dax, String ini, String host, String stdErr, String stdOut, String workflowEngine, Set<Integer> inputFiles)
update_workflow_run.
update_workflow_run in interface MetadataworkflowEngine - the value of workflowEngineinputFiles - workflowRunId - a int.pegasusCmd - a String object.workflowTemplate - a String object.status - a String object.statusCmd - a String object.workingDirectory - a String object.dax - a String object.ini - a String object.host - a String object.stdErr - a String object.stdOut - a String object.ReturnValue object.protected static void convertParamsToWorkflowRun(WorkflowRun wr, String pegasusCmd, String workflowTemplate, WorkflowRunStatus status, String statusCmd, String workingDirectory, String dax, String ini, String host, String stdErr, String stdOut, String workflowEngine, Set<Integer> inputFiles)
public void updateWorkflowRun(WorkflowRun wr)
updateWorkflowRun in interface Metadatapublic Boolean isDuplicateFile(String filepath)
isDuplicateFile.
isDuplicateFile in interface Metadatafilepath - a String object.Boolean object.public ReturnValue updateWorkflow(int workflowId, String permanentBundleLocation)
updateWorkflow.
updateWorkflow in interface MetadataworkflowId - a int.permanentBundleLocation - a String object.ReturnValue object.public String listInstalledWorkflows()
listInstalledWorkflows.
listInstalledWorkflows in interface MetadataString object.public String listInstalledWorkflowParams(String workflowAccession)
listInstalledWorkflowParams.
listInstalledWorkflowParams in interface MetadataworkflowAccession - a String object.String object.public SortedSet<WorkflowParam> getWorkflowParams(String workflowAccession)
getWorkflowParams.
getWorkflowParams in interface MetadataworkflowAccession - SortedSet object.public int getWorkflowAccession(String name, String version)
getWorkflowAccession.
getWorkflowAccession in interface Metadataname - a String object.version - a String object.public List<WorkflowRun> getWorkflowRunsByStatus(WorkflowRunStatus status)
getWorkflowRunsByStatus.
getWorkflowRunsByStatus in interface Metadatastatus - a String object.List object.public WorkflowRun getWorkflowRunWithWorkflow(String workflowRunAccession)
getWorkflowRunWithWorkflow.
getWorkflowRunWithWorkflow in interface MetadataworkflowRunAccession - a String object.WorkflowRun object.public List<Study> getAllStudies()
getAllStudies.
getAllStudies in interface MetadataList object.public List<SequencerRun> getAllSequencerRuns()
getAllSequencerRuns.
getAllSequencerRuns in interface MetadataList object.public String getSequencerRunReport()
getSequencerRunReport.
FIXME: this is a hack, will need to add an object layer between this metadata object and the responsegetSequencerRunReport in interface MetadataString object.public void annotateLane(int laneSWID,
LaneAttribute laneAtt,
Boolean skip)
annotateLane.
annotateLane in interface MetadatalaneSWID - a int.laneAtt - a LaneAttribute object.skip - a Boolean object.public void annotateIUS(int iusSWID,
IUSAttribute iusAtt,
Boolean skip)
annotateIUS.
annotateIUS in interface MetadataiusSWID - iusAtt - a IUSAttribute object.skip - a Boolean object.public void annotateSequencerRun(int sequencerRunSWID,
SequencerRunAttribute sequencerRunAtt,
Boolean skip)
annotateSequencerRun.
annotateSequencerRun in interface MetadatasequencerRunSWID - a int.sequencerRunAtt - a SequencerRunAttribute object.skip - a Boolean object.public void annotateExperiment(int experimentSWID,
ExperimentAttribute att,
Boolean skip)
annotateExperiment.
annotateExperiment in interface MetadataexperimentSWID - a int.att - a ExperimentAttribute object.skip - a Boolean object.public void annotateProcessing(int swid,
ProcessingAttribute att,
Boolean skip)
annotateProcessing.
annotateProcessing in interface Metadataswid - att - a ProcessingAttribute object.skip - a Boolean object.public void annotateSample(int swid,
SampleAttribute att,
Boolean skip)
annotateSample.
annotateSample in interface Metadataswid - att - a SampleAttribute object.skip - a Boolean object.public void annotateStudy(int swid,
StudyAttribute att,
Boolean skip)
annotateStudy.
annotateStudy in interface Metadataswid - att - a StudyAttribute object.skip - a Boolean object.public String getWorkflowRunReport(int workflowRunSWID)
getWorkflowRunReport.
getWorkflowRunReport in interface MetadataworkflowRunSWID - a int.String object.public String getWorkflowRunReportStdErr(int workflowRunSWID)
getWorkflowRunReportStdErr.
getWorkflowRunReportStdErr in interface MetadataworkflowRunSWID - a int.String object.public String getWorkflowRunReportStdOut(int workflowRunSWID)
getWorkflowRunReportStdOut.
getWorkflowRunReportStdOut in interface MetadataworkflowRunSWID - a int.String object.public String getWorkflowRunReport(int workflowSWID, Date earliestDate, Date latestDate)
getWorkflowRunReport.
getWorkflowRunReport in interface MetadataworkflowSWID - a int.earliestDate - a Date object.latestDate - a Date object.String object.public String getWorkflowRunReport(WorkflowRunStatus status, Date earliestDate, Date latestDate)
getWorkflowRunReport.
getWorkflowRunReport in interface Metadatastatus - , can be nullearliestDate - a Date object.latestDate - a Date object.String object.public String getWorkflowRunReport(Date earliestDate, Date latestDate)
getWorkflowRunReport.
getWorkflowRunReport in interface MetadataearliestDate - a Date object.latestDate - a Date object.String object.public String getWorkflowRunReport(Integer workflowSWID, WorkflowRunStatus status, Date earliestDate, Date latestDate)
getWorkflowRunReport in interface MetadataworkflowSWID - status - latestDate - earliestDate - public File getFile(int swAccession)
getFile.
public void annotateWorkflow(int workflowSWID,
WorkflowAttribute att,
Boolean skip)
annotateWorkflow.
annotateWorkflow in interface MetadataworkflowSWID - a int.att - a WorkflowAttribute object.skip - a Boolean object.public void annotateWorkflowRun(int workflowrunSWID,
WorkflowRunAttribute att,
Boolean skip)
annotateWorkflowRun.
annotateWorkflowRun in interface MetadataworkflowrunSWID - a int.att - a WorkflowRunAttribute object.skip - a Boolean object.public void annotateIUS(int iusSWID,
Set<IUSAttribute> iusAtts)
annotateIUS.
annotateIUS in interface MetadataiusSWID - iusAtts - a Set object.public void annotateLane(int laneSWID,
Set<LaneAttribute> laneAtts)
annotateLane.
annotateLane in interface MetadatalaneSWID - a int.laneAtts - a Set object.public void annotateSequencerRun(int sequencerRunSWID,
Set<SequencerRunAttribute> sequencerRunAtts)
annotateSequencerRun.
annotateSequencerRun in interface MetadatasequencerRunSWID - a int.sequencerRunAtts - a Set object.public void annotateExperiment(int experimentSWID,
Set<ExperimentAttribute> atts)
annotateExperiment.
annotateExperiment in interface MetadataexperimentSWID - a int.atts - a Set object.public void annotateFile(int fileSWID,
Set<FileAttribute> atts)
annotateFile.
annotateFile in interface Metadataatts - fileSWID - a int.public void annotateFile(int fileSWID,
FileAttribute att,
Boolean skip)
annotateFile.
annotateFile in interface MetadatafileSWID - att - skip - a Boolean object.public void annotateProcessing(int processingSWID,
Set<ProcessingAttribute> atts)
annotateProcessing.
annotateProcessing in interface MetadataprocessingSWID - a int.atts - a Set object.public void annotateSample(int sampleSWID,
Set<SampleAttribute> atts)
annotateSample.
annotateSample in interface MetadatasampleSWID - a int.atts - a Set object.public void annotateStudy(int studySWID,
Set<StudyAttribute> atts)
annotateStudy.
annotateStudy in interface MetadatastudySWID - a int.atts - a Set object.public void annotateWorkflow(int workflowSWID,
Set<WorkflowAttribute> atts)
annotateWorkflow.
annotateWorkflow in interface MetadataworkflowSWID - a int.atts - a Set object.public void annotateWorkflowRun(int workflowrunSWID,
Set<WorkflowRunAttribute> atts)
annotateWorkflowRun.
annotateWorkflowRun in interface MetadataworkflowrunSWID - atts - a Set object.public List<Lane> getLanesFrom(int sequencerRunAccession)
MetadatagetLanesFrom in interface MetadatasequencerRunAccession - the sw_accession of the sequencer runpublic List<IUS> getIUSFrom(int laneOrSampleAccession)
MetadatagetIUSFrom in interface MetadatalaneOrSampleAccession - the sw_accession of the lane or samplepublic List<Experiment> getExperimentsFrom(int studyAccession)
MetadatagetExperimentsFrom in interface MetadatastudyAccession - the sw_accession of the studypublic List<Sample> getSamplesFrom(int experimentAccession)
MetadatagetSamplesFrom in interface MetadataexperimentAccession - the sw_accession of the experimentpublic List<Sample> getChildSamplesFrom(int parentSampleAccession)
MetadatagetChildSamplesFrom in interface MetadataparentSampleAccession - the sw_accession of the parent sample / donorpublic List<Sample> getParentSamplesFrom(int childSampleAccession)
MetadatagetParentSamplesFrom in interface MetadatachildSampleAccession - the sw_accession of the child samplepublic List<WorkflowRun> getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions)
MetadatagetWorkflowRunsAssociatedWithInputFiles in interface Metadatapublic List<WorkflowRun> getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions, List<Integer> workflows)
MetadatagetWorkflowRunsAssociatedWithInputFiles in interface Metadatapublic List<WorkflowRun> getWorkflowRunsAssociatedWithFiles(List<Integer> fileAccessions, String search_type)
MetadatagetWorkflowRunsAssociatedWithFiles in interface Metadatapublic Processing getProcessing(int processingAccession)
MetadatagetProcessing.
getProcessing in interface MetadataprocessingAccession - a int.Processing object.public SequencerRun getSequencerRun(int sequencerRunAccession)
MetadatagetSequencerRun.
getSequencerRun in interface MetadatasequencerRunAccession - a int.SequencerRun object.public List<ExperimentLibraryDesign> getExperimentLibraryDesigns()
MetadatagetExperimentLibraryDesigns.
getExperimentLibraryDesigns in interface MetadataExperimentLibraryDesign object.public List<ExperimentSpotDesignReadSpec> getExperimentSpotDesignReadSpecs()
MetadatagetPlatforms.
getExperimentSpotDesignReadSpecs in interface MetadataExperimentSpotDesignReadSpec object.public List<ExperimentSpotDesign> getExperimentSpotDesigns()
MetadatagetExperimentSpotDesigns.
getExperimentSpotDesigns in interface MetadataExperimentSpotDesign object.public Experiment getExperiment(int swAccession)
MetadatagetExperiment.
getExperiment in interface MetadataswAccession - a int.Experiment object.public List<Study> getStudyByName(String name)
getStudyByName in interface Metadatapublic List<Sample> getSampleByName(String sampleName)
getSampleByName in interface Metadatapublic SequencerRun getSequencerRunByName(String name)
getSequencerRunByName in interface Metadatapublic Map<String,String> getEnvironmentReport()
MetadatagetEnvironmentReport in interface Metadatapublic boolean checkClientServerMatchingVersion()
MetadatacheckClientServerMatchingVersion in interface Metadatapublic IUS getIUS(int swAccession)
Metadatapublic Sample getSample(int swAccession)
Metadatapublic Study getStudy(int swAccession)
Metadatapublic String getProcessingRelations(String swAccession)
MetadatagetProcessingRelations.
getProcessingRelations in interface MetadataCopyright © 2015 SeqWare. All rights reserved.