public class MetadataNoConnection extends Object implements Metadata
MetadataNoConnection class.
| Constructor and Description |
|---|
MetadataNoConnection() |
| 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)
addSample.
|
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.
|
void |
annotateExperiment(int experimentSWID,
ExperimentAttribute att,
Boolean skip)
annotateExperiment.
|
void |
annotateExperiment(int experimentSWID,
Set<ExperimentAttribute> atts)
annotateExperiment.
|
void |
annotateFile(int laneSWID,
FileAttribute iusAtt,
Boolean skip)
annotateFile.
|
void |
annotateFile(int fileSWID,
Set<FileAttribute> iusAtts)
annotateFile.
|
void |
annotateIUS(int iusSWID,
IUSAttribute iusAtt,
Boolean skip)
annotateIUS.
|
void |
annotateIUS(int laneSWID,
Set<IUSAttribute> iusAtts)
annotateIUS.
|
void |
annotateLane(int laneSWID,
LaneAttribute laneAtt,
Boolean skip)
annotateLane.
|
void |
annotateLane(int laneSWID,
Set<LaneAttribute> laneAtts)
annotateLane.
|
void |
annotateProcessing(int processingSWID,
ProcessingAttribute att,
Boolean skip)
annotateProcessing.
|
void |
annotateProcessing(int processingSWID,
Set<ProcessingAttribute> atts)
annotateProcessing.
|
void |
annotateSample(int sampleSWID,
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 studySWID,
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 workflowSWID,
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.
|
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()
Get all of the sequencer runs in the DB.
|
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 name) |
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[] accessions)
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 swAccession)
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> workflowAccessions)
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 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 List<Map<String,String>> fileProvenanceReport(Map<FileProvenanceParam,List<String>> params)
MetadatafileProvenanceReport in interface Metadataparams - the parameters to filter the resultspublic 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.
addExperiment 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.
public ReturnValue addSequencerRun(Integer platformAccession, String name, String description, boolean pairdEnd, boolean skip, String filePath, SequencerRunStatus status)
MetadataaddSample.
addSequencerRun in interface Metadatadescription - a String object.status - the value of statusReturnValue object.public 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 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 int mapProcessingIdToAccession(int processingId)
mapProcessingIdToAccession.
This maps processing_id to sw_accession for that event.mapProcessingIdToAccession in interface MetadataprocessingId - a int.public boolean linkWorkflowRunAndParent(int workflowRunId,
int parentAccession)
throws SQLException
linkWorkflowRunAndParent.
TODO: needs to support more relationship types, but will need to add to the SQL schema to support thislinkWorkflowRunAndParent in interface MetadataworkflowRunId - a int.parentAccession - a int.SQLException - if any.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 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 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 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 int add_workflow_run(int workflowAccession)
add_workflow_run.
add_workflow_run in interface MetadataworkflowAccession - a int.public int get_workflow_run_accession(int workflowRunId)
get_workflow_run_accession.
get_workflow_run_accession in interface MetadataworkflowRunId - a int.public int get_workflow_run_id(int workflowRunAccession)
get_workflow_run_id.
get_workflow_run_id in interface MetadataworkflowRunAccession - a int.public WorkflowRun getWorkflowRun(int workflowRunAccession)
getWorkflowRun.
getWorkflowRun in interface MetadataworkflowRunAccession - a int.WorkflowRun object.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 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 MetadatainputFiles - 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.workflowEngine - the value of workflowEngineReturnValue object.public void updateWorkflowRun(WorkflowRun wr)
updateWorkflowRun in interface Metadatapublic 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 clean_up()
clean_up.
clean_up in interface MetadataReturnValue object.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.public Map<String,String> get_workflow_info(int workflowAccession)
get_workflow_info.
get_workflow_info in interface MetadataworkflowAccession - a int.Map object.public 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 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 String getSequencerRunReport()
getSequencerRunReport.
getSequencerRunReport in interface MetadataString 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 annotateLane(int laneSWID,
LaneAttribute laneAtt,
Boolean skip)
annotateLane.
annotateLane in interface MetadatalaneSWID - a int.laneAtt - a LaneAttribute 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 processingSWID,
ProcessingAttribute att,
Boolean skip)
annotateProcessing.
annotateProcessing in interface MetadataprocessingSWID - a int.att - a ProcessingAttribute object.skip - a Boolean object.public void annotateSample(int sampleSWID,
SampleAttribute att,
Boolean skip)
annotateSample.
annotateSample in interface MetadatasampleSWID - a int.att - a SampleAttribute object.skip - a Boolean object.public void annotateStudy(int studySWID,
StudyAttribute att,
Boolean skip)
annotateStudy.
annotateStudy in interface MetadatastudySWID - a int.att - a StudyAttribute object.skip - a Boolean object.public String getWorkflowRunReport(int workflowRunSWID)
getWorkflowRunReport.
getWorkflowRunReport 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(Date earliestDate, Date latestDate)
getWorkflowRunReport.
getWorkflowRunReport in interface MetadataearliestDate - a Date object.latestDate - a Date object.String object.public File getFile(int swAccession)
getFile.
public SortedSet<WorkflowParam> getWorkflowParams(String swAccession)
getWorkflowParams.
getWorkflowParams in interface MetadataswAccession - a String object.SortedSet object.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 laneSWID,
Set<IUSAttribute> iusAtts)
annotateIUS.
annotateIUS in interface MetadatalaneSWID - a int.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 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 workflowSWID,
Set<WorkflowRunAttribute> atts)
annotateWorkflowRun.
annotateWorkflowRun in interface MetadataworkflowSWID - a int.atts - a Set object.public String getProcessingRelations(String swAccession)
MetadatagetProcessingRelations.
getProcessingRelations in interface Metadatapublic String getWorkflowRunReportStdErr(int workflowRunSWID)
MetadatagetWorkflowRunReportStdErr.
getWorkflowRunReportStdErr in interface MetadataworkflowRunSWID - a int.String object.public String getWorkflowRunReportStdOut(int workflowRunSWID)
MetadatagetWorkflowRunReportStdOut.
getWorkflowRunReportStdOut in interface MetadataworkflowRunSWID - a int.String object.public Workflow getWorkflow(int workflowAccession)
MetadatagetWorkflow in interface Metadatapublic List<SequencerRun> getAllSequencerRuns()
MetadatagetAllSequencerRuns in interface Metadatapublic 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> workflowAccessions)
MetadatagetWorkflowRunsAssociatedWithInputFiles in interface Metadatapublic List<WorkflowRun> getWorkflowRunsAssociatedWithFiles(List<Integer> fileAccessions, String search_type)
MetadatagetWorkflowRunsAssociatedWithFiles in interface Metadatapublic void annotateFile(int laneSWID,
FileAttribute iusAtt,
Boolean skip)
MetadataannotateFile.
annotateFile in interface Metadataskip - a Boolean object.public void annotateFile(int fileSWID,
Set<FileAttribute> iusAtts)
MetadataannotateFile.
annotateFile in interface MetadatafileSWID - a int.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<ParentAccessionModel> getViaParentAccessions(int[] potentialParentAccessions)
MetadatagetViaParentAccessions in interface Metadatapublic List<Object> getViaAccessions(int[] accessions)
MetadatagetViaAccessions in interface Metadatapublic void fileProvenanceReportTrigger()
MetadatafileProvenanceReportTrigger in interface Metadatapublic List<Study> getStudyByName(String name)
getStudyByName in interface Metadatapublic List<Sample> getSampleByName(String name)
getSampleByName in interface Metadatapublic SequencerRun getSequencerRunByName(String name)
getSequencerRunByName in interface Metadatapublic Processing getProcessing(int processingAccession)
MetadatagetProcessing.
getProcessing in interface MetadataprocessingAccession - a int.Processing object.public String getWorkflowRunReport(WorkflowRunStatus status, Date earliestDate, Date latestDate)
MetadatagetWorkflowRunReport.
getWorkflowRunReport in interface Metadatastatus - , can be nullearliestDate - a Date object.latestDate - a Date object.String object.public String getWorkflowRunReport(Integer workflowSWID, WorkflowRunStatus status, Date earliestDate, Date latestDate)
getWorkflowRunReport in interface Metadatapublic List<WorkflowRun> getWorkflowRunsByStatusCmd(String statusCmd)
MetadatagetWorkflowRunsByStatusCmd 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)
MetadataCopyright © 2015 SeqWare. All rights reserved.