-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Metadata can be attached at both ExpressionExperiment and BioAssay levels.
- Loading branch information
Showing
17 changed files
with
278 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
gemma-core/src/main/java/ubic/gemma/model/expression/AdditionalMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package ubic.gemma.model.expression; | ||
|
||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import ubic.gemma.model.common.Describable; | ||
import ubic.gemma.model.expression.bioAssay.BioAssay; | ||
import ubic.gemma.model.expression.experiment.ExpressionExperiment; | ||
import ubic.gemma.model.expression.experiment.MetadataType; | ||
|
||
import java.sql.Blob; | ||
|
||
/** | ||
* Metadata associated to an {@link ExpressionExperiment} or {@link BioAssay}. | ||
* @author poirigui | ||
*/ | ||
@Data | ||
@EqualsAndHashCode(of = { "id" }) | ||
public class AdditionalMetadata implements Describable { | ||
|
||
private Long id; | ||
private String name; | ||
private String description; | ||
private MetadataType type; | ||
private Blob contents; | ||
private String mediaType; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
gemma-core/src/main/java/ubic/gemma/model/expression/experiment/MetadataType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package ubic.gemma.model.expression.experiment; | ||
|
||
import ubic.gemma.model.expression.bioAssay.BioAssay; | ||
|
||
public enum MetadataType { | ||
/** | ||
* A sequencing QC report. | ||
* <p> | ||
* Example: a FastQC report attached to a specific {@link BioAssay}. | ||
*/ | ||
SEQUENCING_QC_REPORT, | ||
/** | ||
* A sequencing alignment report. | ||
* <p> | ||
* Example: STAR's Log.final.out file on a {@link BioAssay} | ||
*/ | ||
SEQUENCING_ALIGNMENT_REPORT, | ||
/** | ||
* An overall sequencing report. | ||
* <p> | ||
* Example: a MultiQC report on a {@link ExpressionExperiment} | ||
*/ | ||
SEQUENCING_OVERALL_REPORT, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.