Class BioAssay
- java.lang.Object
-
- ubic.gemma.model.common.AbstractDescribable
-
- ubic.gemma.model.expression.bioAssay.BioAssay
-
- All Implemented Interfaces:
gemma.gsec.model.Securable
,gemma.gsec.model.SecuredChild
,Serializable
,Describable
,Identifiable
@Indexed public class BioAssay extends AbstractDescribable implements gemma.gsec.model.SecuredChild, Serializable
Represents the bringing together of a biomaterial with an assay of some sort (typically an expression assay). We don't distinguish between "physical" and "computational" BioAssays, so this is a concrete class. This has several slots that are used specifically to support sequence-based data, but is intended to be generic.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BioAssay.Factory
-
Constructor Summary
Constructors Constructor Description BioAssay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity.DatabaseEntry
getAccession()
ArrayDesign
getArrayDesignUsed()
String
getDescription()
Obtain a human-readable description of the objectString
getFastqHeaders()
Long
getId()
Boolean
getIsOutlier()
String
getMetadata()
String
getName()
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.ArrayDesign
getOriginalPlatform()
Date
getProcessingDate()
BioMaterial
getSampleUsed()
gemma.gsec.model.Securable
getSecurityOwner()
Boolean
getSequencePairedReads()
Long
getSequenceReadCount()
Integer
getSequenceReadLength()
int
hashCode()
Returns a hash code based on this entity's identifiers.void
setAccession(DatabaseEntry accession)
void
setArrayDesignUsed(ArrayDesign arrayDesignUsed)
void
setFastqHeaders(String fastqHeaders)
void
setIsOutlier(Boolean isOutlier)
void
setMetadata(String metadata)
void
setOriginalPlatform(ArrayDesign originalPlatform)
void
setProcessingDate(Date processingDate)
void
setSampleUsed(BioMaterial sampleUsed)
void
setSequencePairedReads(Boolean sequencePairedReads)
void
setSequenceReadCount(Long sequenceReadCount)
void
setSequenceReadLength(Integer sequenceReadLength)
-
Methods inherited from class ubic.gemma.model.common.AbstractDescribable
setDescription, setId, setName, toString
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:AbstractDescribable
Returns a hash code based on this entity's identifiers.- Overrides:
hashCode
in classAbstractDescribable
-
equals
public boolean equals(Object object)
Description copied from class:AbstractDescribable
Returnstrue
if the argument is an Describable instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.- Overrides:
equals
in classAbstractDescribable
-
getId
@DocumentId public Long getId()
- Specified by:
getId
in interfaceIdentifiable
- Specified by:
getId
in interfacegemma.gsec.model.Securable
- Overrides:
getId
in classAbstractDescribable
-
getName
@Field public String getName()
Description copied from interface:Describable
Obtain the name of an object is a possibly ambiguous human-readable identifier that need not be an external database reference.- Specified by:
getName
in interfaceDescribable
- Overrides:
getName
in classAbstractDescribable
-
getDescription
@Field(store=YES) public String getDescription()
Description copied from interface:Describable
Obtain a human-readable description of the object- Specified by:
getDescription
in interfaceDescribable
- Overrides:
getDescription
in classAbstractDescribable
-
getAccession
@IndexedEmbedded public DatabaseEntry getAccession()
-
setAccession
public void setAccession(DatabaseEntry accession)
-
getArrayDesignUsed
public ArrayDesign getArrayDesignUsed()
-
setArrayDesignUsed
public void setArrayDesignUsed(ArrayDesign arrayDesignUsed)
-
getIsOutlier
public Boolean getIsOutlier()
- Returns:
- Used to indicate if the sample should be considered an outlier based on QC. The audit trail for the entity tracks when this was done.
-
setIsOutlier
public void setIsOutlier(Boolean isOutlier)
-
getProcessingDate
public Date getProcessingDate()
- Returns:
- Indicates the date that the assay was processed in the original study. This would correspond to "batch" information and will often be a "scan date" or similar information extracted from the raw data files.
-
setProcessingDate
public void setProcessingDate(Date processingDate)
-
getSampleUsed
@IndexedEmbedded public BioMaterial getSampleUsed()
-
setSampleUsed
public void setSampleUsed(BioMaterial sampleUsed)
-
getSecurityOwner
public gemma.gsec.model.Securable getSecurityOwner()
- Specified by:
getSecurityOwner
in interfacegemma.gsec.model.SecuredChild
-
getSequencePairedReads
@Nullable public Boolean getSequencePairedReads()
- Returns:
- For sequence-based data, this should be set to true if the sequencing was paired-end reads and false otherwise. It should be left as null if it isn't known.
-
getSequenceReadCount
@Nullable public Long getSequenceReadCount()
- Returns:
- For sequence-read based data, the total number of reads in the sample, computed from the data as the total of the values for the elements assayed.
-
getSequenceReadLength
@Nullable public Integer getSequenceReadLength()
- Returns:
- For sequencing-based data, the length of the reads. If it was paired reads, this is understood to be the length for each "end". If the read length was variable (due to quality trimming, etc.) this will be treated as representing the mean read length.
-
getMetadata
public String getMetadata()
-
setMetadata
public void setMetadata(String metadata)
-
getOriginalPlatform
public ArrayDesign getOriginalPlatform()
-
setOriginalPlatform
public void setOriginalPlatform(ArrayDesign originalPlatform)
-
getFastqHeaders
public String getFastqHeaders()
-
setFastqHeaders
public void setFastqHeaders(String fastqHeaders)
-
-