public class MetadataInMemory extends Object implements Metadata
Constructor and Description |
---|
MetadataInMemory() |
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 laneSWID,
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[] 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 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.
|
void |
loadEntity(FirstTierModel model) |
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 workflowRunID)
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 clean_up()
Metadata
clean_up.
clean_up
in interface Metadata
ReturnValue
object.public int mapProcessingIdToAccession(int processingId)
Metadata
mapProcessingIdToAccession.
mapProcessingIdToAccession
in interface Metadata
processingId
- a int.public ReturnValue addStudy(String title, String description, String centerName, String centerProjectName, Integer studyTypeId)
Metadata
addStudy.
public ReturnValue addExperiment(Integer studySwAccession, Integer platformId, String description, String title, Integer experimentLibraryDesignId, Integer experimentSpotDesignId)
Metadata
addExperiment.
addExperiment
in interface Metadata
studySwAccession
- a Integer
object.platformId
- a Integer
object.description
- a String
object.title
- a String
object.experimentLibraryDesignId
- the value of experimentLibraryDesignIdexperimentSpotDesignId
- the value of experimentSpotDesignIdReturnValue
object.public ReturnValue addSample(Integer experimentAccession, Integer parentSampleAccession, Integer organismId, String description, String title)
Metadata
addSample.
public ReturnValue addSequencerRun(Integer platformAccession, String name, String description, boolean pairdEnd, boolean skip, String filePath, SequencerRunStatus status)
Metadata
addSample.
addSequencerRun
in interface Metadata
description
- 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)
Metadata
addSample.
addLane
in interface Metadata
description
- a String
object.ReturnValue
object.public ReturnValue addIUS(Integer laneAccession, Integer sampleAccession, String name, String description, String barcode, boolean skip)
Metadata
addSample.
addIUS
in interface Metadata
ReturnValue
object.public List<Platform> getPlatforms()
Metadata
getPlatforms.
getPlatforms
in interface Metadata
Platform
object.public Experiment getExperiment(int swAccession)
Metadata
getExperiment.
getExperiment
in interface Metadata
swAccession
- a int.Experiment
object.public List<ExperimentLibraryDesign> getExperimentLibraryDesigns()
Metadata
getExperimentLibraryDesigns.
getExperimentLibraryDesigns
in interface Metadata
ExperimentLibraryDesign
object.public List<ExperimentSpotDesignReadSpec> getExperimentSpotDesignReadSpecs()
Metadata
getPlatforms.
getExperimentSpotDesignReadSpecs
in interface Metadata
ExperimentSpotDesignReadSpec
object.public List<ExperimentSpotDesign> getExperimentSpotDesigns()
Metadata
getExperimentSpotDesigns.
getExperimentSpotDesigns
in interface Metadata
ExperimentSpotDesign
object.public List<Organism> getOrganisms()
Metadata
getOrganisms.
getOrganisms
in interface Metadata
Organism
object.public List<StudyType> getStudyTypes()
Metadata
getStudyTypes.
getStudyTypes
in interface Metadata
StudyType
object.public List<LibraryStrategy> getLibraryStrategies()
Metadata
getLibraryStrategies.
getLibraryStrategies
in interface Metadata
LibraryStrategy
object.public List<LibrarySelection> getLibrarySelections()
Metadata
getLibrarySelections.
getLibrarySelections
in interface Metadata
LibrarySelection
object.public List<LibrarySource> getLibrarySource()
Metadata
getLibrarySource.
getLibrarySource
in interface Metadata
LibrarySource
object.public ReturnValue add_empty_processing_event(int[] parentIDs)
Metadata
add_empty_processing_event.
add_empty_processing_event
in interface Metadata
parentIDs
- an array of int.ReturnValue
object.public ReturnValue add_empty_processing_event_by_parent_accession(int[] parentAccessions)
Metadata
add_empty_processing_event_by_parent_accession.
add_empty_processing_event_by_parent_accession
in interface Metadata
parentAccessions
- an array of int.ReturnValue
object.public ReturnValue add_task_group(int[] parentIDs, int[] childIDs, String algorithm, String description)
Metadata
add_task_group.
add_task_group
in interface Metadata
parentIDs
- an array of int.childIDs
- an array of int.algorithm
- a String
object.description
- a String
object.ReturnValue
object.public ReturnValue processing_event_to_task_group(int processingID, int[] parentIDs, int[] childIDs, String algorithm, String description)
Metadata
processing_event_to_task_group.
processing_event_to_task_group
in interface Metadata
processingID
- 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)
Metadata
update_processing_event.
update_processing_event
in interface Metadata
processingID
- a int.retval
- a ReturnValue
object.ReturnValue
object.public ReturnValue update_processing_status(int processingID, ProcessingStatus status)
Metadata
update_processing_status.
update_processing_status
in interface Metadata
processingID
- a int.status
- a String
object.ReturnValue
object.public ReturnValue associate_processing_event_with_parents_and_child(int processingID, int[] parentIDs, int[] childIDs)
Metadata
associate_processing_event_with_parents_and_child.
associate_processing_event_with_parents_and_child
in interface Metadata
processingID
- a int.parentIDs
- an array of int.childIDs
- an array of int.ReturnValue
object.public int add_workflow_run(int workflowAccession)
Metadata
add_workflow_run.
add_workflow_run
in interface Metadata
workflowAccession
- a int.public ReturnValue update_processing_workflow_run(int processingID, int workflowRunID)
Metadata
update_processing_workflow_run.
update_processing_workflow_run
in interface Metadata
processingID
- a int.workflowRunID
- a int.ReturnValue
object.public void add_workflow_run_ancestor(int workflowRunAccession, int processingId)
Metadata
add_workflow_run_ancestor.
add_workflow_run_ancestor
in interface Metadata
workflowRunAccession
- a int.processingId
- a int.public int get_workflow_run_accession(int workflowRunId)
Metadata
get_workflow_run_accession.
get_workflow_run_accession
in interface Metadata
workflowRunId
- a int.public int get_workflow_run_id(int workflowRunAccession)
Metadata
get_workflow_run_id.
get_workflow_run_id
in interface Metadata
workflowRunAccession
- a int.public WorkflowRun getWorkflowRun(int workflowRunAccession)
Metadata
getWorkflowRun.
getWorkflowRun
in interface Metadata
workflowRunAccession
- a int.WorkflowRun
object.public List<WorkflowRun> getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions)
Metadata
getWorkflowRunsAssociatedWithInputFiles
in interface Metadata
public List<WorkflowRun> getWorkflowRunsAssociatedWithInputFiles(List<Integer> fileAccessions, List<Integer> workflowAccessions)
Metadata
getWorkflowRunsAssociatedWithInputFiles
in interface Metadata
public List<WorkflowRun> getWorkflowRunsAssociatedWithFiles(List<Integer> fileAccessions, String search_type)
Metadata
getWorkflowRunsAssociatedWithFiles
in interface Metadata
public Map<String,String> get_workflow_info(int workflowAccession)
Metadata
get_workflow_info.
get_workflow_info
in interface Metadata
workflowAccession
- a int.Map
object.public boolean linkWorkflowRunAndParent(int workflowRunId, int parentAccession) throws SQLException
Metadata
linkWorkflowRunAndParent.
linkWorkflowRunAndParent
in interface Metadata
workflowRunId
- a int.parentAccession
- a int.SQLException
- if any.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)
Metadata
update_workflow_run.
update_workflow_run
in interface Metadata
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 Metadata
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)
Metadata
addWorkflow.
addWorkflow
in interface Metadata
name
- 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 void loadEntity(FirstTierModel model)
public ReturnValue updateWorkflow(int workflowId, String permanentBundleLocation)
Metadata
updateWorkflow.
updateWorkflow
in interface Metadata
workflowId
- a int.permanentBundleLocation
- a String
object.ReturnValue
object.public String listInstalledWorkflows()
Metadata
listInstalledWorkflows.
listInstalledWorkflows
in interface Metadata
String
object.public String listInstalledWorkflowParams(String workflowAccession)
Metadata
listInstalledWorkflowParams.
listInstalledWorkflowParams
in interface Metadata
workflowAccession
- a String
object.String
object.public int getWorkflowAccession(String name, String version)
Metadata
getWorkflowAccession.
getWorkflowAccession
in interface Metadata
name
- a String
object.version
- a String
object.public void fileProvenanceReportTrigger()
Metadata
fileProvenanceReportTrigger
in interface Metadata
public void fileProvenanceReport(Map<FileProvenanceParam,List<String>> params, Writer out)
Metadata
fileProvenanceReport
in interface Metadata
params
- the parameters to filter the resultsout
- where the TSV content will be writtenpublic List<Map<String,String>> fileProvenanceReport(Map<FileProvenanceParam,List<String>> params)
Metadata
fileProvenanceReport
in interface Metadata
params
- the parameters to filter the resultspublic Boolean isDuplicateFile(String filepath)
Metadata
isDuplicateFile.
isDuplicateFile
in interface Metadata
filepath
- a String
object.Boolean
object.public List<WorkflowRun> getWorkflowRunsByStatus(WorkflowRunStatus status)
Metadata
getWorkflowRunsByStatus.
getWorkflowRunsByStatus
in interface Metadata
status
- a String
object.List
object.public WorkflowRun getWorkflowRunWithWorkflow(String workflowRunAccession)
Metadata
getWorkflowRunWithWorkflow.
getWorkflowRunWithWorkflow
in interface Metadata
workflowRunAccession
- a String
object.WorkflowRun
object.public List<Study> getAllStudies()
Metadata
getAllStudies.
getAllStudies
in interface Metadata
List
object.public String getSequencerRunReport()
Metadata
getSequencerRunReport.
getSequencerRunReport
in interface Metadata
String
object.public void annotateFile(int laneSWID, FileAttribute iusAtt, Boolean skip)
Metadata
annotateFile.
annotateFile
in interface Metadata
skip
- a Boolean
object.public void annotateFile(int fileSWID, Set<FileAttribute> iusAtts)
Metadata
annotateFile.
annotateFile
in interface Metadata
fileSWID
- a int.public void annotateIUS(int laneSWID, IUSAttribute iusAtt, Boolean skip)
Metadata
annotateIUS.
annotateIUS
in interface Metadata
laneSWID
- a int.iusAtt
- a IUSAttribute
object.skip
- a Boolean
object.public void annotateIUS(int laneSWID, Set<IUSAttribute> iusAtts)
Metadata
annotateIUS.
annotateIUS
in interface Metadata
laneSWID
- a int.iusAtts
- a Set
object.public void annotateLane(int laneSWID, LaneAttribute laneAtt, Boolean skip)
Metadata
annotateLane.
annotateLane
in interface Metadata
laneSWID
- a int.laneAtt
- a LaneAttribute
object.skip
- a Boolean
object.public void annotateLane(int laneSWID, Set<LaneAttribute> laneAtts)
Metadata
annotateLane.
annotateLane
in interface Metadata
laneSWID
- a int.laneAtts
- a Set
object.public void annotateSequencerRun(int sequencerRunSWID, SequencerRunAttribute sequencerRunAtt, Boolean skip)
Metadata
annotateSequencerRun.
annotateSequencerRun
in interface Metadata
sequencerRunSWID
- a int.sequencerRunAtt
- a SequencerRunAttribute
object.skip
- a Boolean
object.public void annotateSequencerRun(int sequencerRunSWID, Set<SequencerRunAttribute> sequencerRunAtts)
Metadata
annotateSequencerRun.
annotateSequencerRun
in interface Metadata
sequencerRunSWID
- a int.sequencerRunAtts
- a Set
object.public void annotateExperiment(int experimentSWID, ExperimentAttribute att, Boolean skip)
Metadata
annotateExperiment.
annotateExperiment
in interface Metadata
experimentSWID
- a int.att
- a ExperimentAttribute
object.skip
- a Boolean
object.public void annotateExperiment(int experimentSWID, Set<ExperimentAttribute> atts)
Metadata
annotateExperiment.
annotateExperiment
in interface Metadata
experimentSWID
- a int.atts
- a Set
object.public void annotateProcessing(int processingSWID, ProcessingAttribute att, Boolean skip)
Metadata
annotateProcessing.
annotateProcessing
in interface Metadata
processingSWID
- a int.att
- a ProcessingAttribute
object.skip
- a Boolean
object.public void annotateProcessing(int processingSWID, Set<ProcessingAttribute> atts)
Metadata
annotateProcessing.
annotateProcessing
in interface Metadata
processingSWID
- a int.atts
- a Set
object.public void annotateSample(int sampleSWID, SampleAttribute att, Boolean skip)
Metadata
annotateSample.
annotateSample
in interface Metadata
sampleSWID
- a int.att
- a SampleAttribute
object.skip
- a Boolean
object.public void annotateSample(int sampleSWID, Set<SampleAttribute> atts)
Metadata
annotateSample.
annotateSample
in interface Metadata
sampleSWID
- a int.atts
- a Set
object.public void annotateStudy(int studySWID, StudyAttribute att, Boolean skip)
Metadata
annotateStudy.
annotateStudy
in interface Metadata
studySWID
- a int.att
- a StudyAttribute
object.skip
- a Boolean
object.public void annotateStudy(int studySWID, Set<StudyAttribute> atts)
Metadata
annotateStudy.
annotateStudy
in interface Metadata
studySWID
- a int.atts
- a Set
object.public void annotateWorkflow(int workflowSWID, WorkflowAttribute att, Boolean skip)
Metadata
annotateWorkflow.
annotateWorkflow
in interface Metadata
workflowSWID
- a int.att
- a WorkflowAttribute
object.skip
- a Boolean
object.public void annotateWorkflow(int workflowSWID, Set<WorkflowAttribute> atts)
Metadata
annotateWorkflow.
annotateWorkflow
in interface Metadata
workflowSWID
- a int.atts
- a Set
object.public void annotateWorkflowRun(int workflowrunSWID, WorkflowRunAttribute att, Boolean skip)
Metadata
annotateWorkflowRun.
annotateWorkflowRun
in interface Metadata
workflowrunSWID
- a int.att
- a WorkflowRunAttribute
object.skip
- a Boolean
object.public void annotateWorkflowRun(int workflowSWID, Set<WorkflowRunAttribute> atts)
Metadata
annotateWorkflowRun.
annotateWorkflowRun
in interface Metadata
workflowSWID
- a int.atts
- a Set
object.public String getWorkflowRunReport(int workflowRunSWID)
Metadata
getWorkflowRunReport.
getWorkflowRunReport
in interface Metadata
workflowRunSWID
- a int.String
object.public String getWorkflowRunReportStdErr(int workflowRunSWID)
Metadata
getWorkflowRunReportStdErr.
getWorkflowRunReportStdErr
in interface Metadata
workflowRunSWID
- a int.String
object.public String getWorkflowRunReportStdOut(int workflowRunSWID)
Metadata
getWorkflowRunReportStdOut.
getWorkflowRunReportStdOut
in interface Metadata
workflowRunSWID
- a int.String
object.public String getWorkflowRunReport(int workflowSWID, Date earliestDate, Date latestDate)
Metadata
getWorkflowRunReport.
getWorkflowRunReport
in interface Metadata
workflowSWID
- a int.earliestDate
- a Date
object.latestDate
- a Date
object.String
object.public String getWorkflowRunReport(Date earliestDate, Date latestDate)
Metadata
getWorkflowRunReport.
getWorkflowRunReport
in interface Metadata
earliestDate
- a Date
object.latestDate
- a Date
object.String
object.public SortedSet<WorkflowParam> getWorkflowParams(String swAccession)
Metadata
getWorkflowParams.
getWorkflowParams
in interface Metadata
swAccession
- a String
object.SortedSet
object.public String getProcessingRelations(String swAccession)
Metadata
getProcessingRelations.
getProcessingRelations
in interface Metadata
public Workflow getWorkflow(int workflowAccession)
Metadata
getWorkflow
in interface Metadata
public List<SequencerRun> getAllSequencerRuns()
Metadata
getAllSequencerRuns
in interface Metadata
public Processing getProcessing(int processingAccession)
Metadata
getProcessing.
getProcessing
in interface Metadata
processingAccession
- a int.Processing
object.public SequencerRun getSequencerRun(int sequencerRunAccession)
Metadata
getSequencerRun.
getSequencerRun
in interface Metadata
sequencerRunAccession
- a int.SequencerRun
object.public List<Lane> getLanesFrom(int sequencerRunAccession)
Metadata
getLanesFrom
in interface Metadata
sequencerRunAccession
- the sw_accession of the sequencer runpublic List<IUS> getIUSFrom(int laneOrSampleAccession)
Metadata
getIUSFrom
in interface Metadata
laneOrSampleAccession
- the sw_accession of the lane or samplepublic List<Experiment> getExperimentsFrom(int studyAccession)
Metadata
getExperimentsFrom
in interface Metadata
studyAccession
- the sw_accession of the studypublic List<Sample> getSamplesFrom(int experimentAccession)
Metadata
getSamplesFrom
in interface Metadata
experimentAccession
- the sw_accession of the experimentpublic List<Sample> getChildSamplesFrom(int parentSampleAccession)
Metadata
getChildSamplesFrom
in interface Metadata
parentSampleAccession
- the sw_accession of the parent sample / donorpublic List<Sample> getParentSamplesFrom(int childSampleAccession)
Metadata
getParentSamplesFrom
in interface Metadata
childSampleAccession
- the sw_accession of the child samplepublic List<ParentAccessionModel> getViaParentAccessions(int[] potentialParentAccessions)
Metadata
getViaParentAccessions
in interface Metadata
public List<Object> getViaAccessions(int[] potentialAccessions)
Metadata
getViaAccessions
in interface Metadata
public List<Study> getStudyByName(String name)
getStudyByName
in interface Metadata
public List<Sample> getSampleByName(String name)
getSampleByName
in interface Metadata
public SequencerRun getSequencerRunByName(String name)
getSequencerRunByName
in interface Metadata
public String getWorkflowRunReport(WorkflowRunStatus status, Date earliestDate, Date latestDate)
Metadata
getWorkflowRunReport.
getWorkflowRunReport
in interface Metadata
status
- , 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 Metadata
public List<WorkflowRun> getWorkflowRunsByStatusCmd(String statusCmd)
Metadata
getWorkflowRunsByStatusCmd
in interface Metadata
public Map<String,String> getEnvironmentReport()
Metadata
getEnvironmentReport
in interface Metadata
public boolean checkClientServerMatchingVersion()
Metadata
checkClientServerMatchingVersion
in interface Metadata
public IUS getIUS(int swAccession)
Metadata
public Sample getSample(int swAccession)
Metadata
Copyright © 2015 SeqWare. All rights reserved.