Class ArrayDesignServiceImpl
- java.lang.Object
-
- ubic.gemma.persistence.service.AbstractService<O>
-
- ubic.gemma.persistence.service.AbstractFilteringVoEnabledService<ArrayDesign,ArrayDesignValueObject>
-
- ubic.gemma.persistence.service.expression.arrayDesign.ArrayDesignServiceImpl
-
- All Implemented Interfaces:
BaseImmutableService<ArrayDesign>,BaseReadOnlyService<ArrayDesign>,BaseService<ArrayDesign>,BaseVoEnabledService<ArrayDesign,ArrayDesignValueObject>,SecurableBaseImmutableService<ArrayDesign>,SecurableBaseReadOnlyService<ArrayDesign>,SecurableBaseService<ArrayDesign>,SecurableBaseVoEnabledService<ArrayDesign,ArrayDesignValueObject>,SecurableFilteringVoEnabledService<ArrayDesign,ArrayDesignValueObject>,ArrayDesignService,FilteringService<ArrayDesign>,FilteringVoEnabledService<ArrayDesign,ArrayDesignValueObject>
@Service public class ArrayDesignServiceImpl extends AbstractFilteringVoEnabledService<ArrayDesign,ArrayDesignValueObject> implements ArrayDesignService
- Author:
- klc
- See Also:
ArrayDesignService
-
-
Field Summary
-
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log
-
-
Constructor Summary
Constructors Constructor Description ArrayDesignServiceImpl(ArrayDesignDao arrayDesignDao, AuditEventDao auditEventDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProbes(ArrayDesign arrayDesign, Collection<CompositeSequence> newProbes)longcountWithCache(Filters filters)voiddeleteAlignmentData(ArrayDesign arrayDesign)remove sequence alignment results associated with the bioSequences for this array design.voiddeleteGeneProductAlignmentAssociations(ArrayDesign arrayDesign)voiddeleteGeneProductAnnotationAssociations(ArrayDesign arrayDesign)voiddeleteGeneProductAssociations(ArrayDesign arrayDesign)deletes the gene product associations on the specified array design.Collection<ArrayDesign>findByAlternateName(String queryString)Collection<ArrayDesign>findByManufacturer(String searchString)Collection<ArrayDesign>findByName(String name)ArrayDesignfindByShortName(String shortName)Collection<ArrayDesign>findByTaxon(Taxon taxon)Find by the primary taxon.Map<CompositeSequence,Collection<BlatResult>>getAlignments(ArrayDesign arrayDesign)Retrieves alignments for the platform elements, limited to those which map to a gene product (so not all blat results)Collection<BioAssay>getAllAssociatedBioAssays(ArrayDesign arrayDesign)Map<CompositeSequence,BioSequence>getBioSequences(ArrayDesign arrayDesign)Return all the (unique) biosequences associated with the array design.LonggetCompositeSequenceCount(ArrayDesign arrayDesign)Collection<CompositeSequence>getCompositeSequences(ArrayDesign arrayDesign)Collection<CompositeSequence>getCompositeSequences(ArrayDesign arrayDesign, int limit, int offset)Collection<ExpressionExperiment>getExpressionExperiments(ArrayDesign arrayDesign)longgetExpressionExperimentsCount(ArrayDesign arrayDesign)Map<Long,AuditEvent>getLastGeneMapping(Collection<Long> ids)Gets the AuditEvents of the latest gene mapping for the specified array design ids.Map<Long,AuditEvent>getLastRepeatAnalysis(Collection<Long> ids)Map<Long,AuditEvent>getLastSequenceAnalysis(Collection<Long> ids)Gets the AuditEvents of the latest sequence analyses for the specified array design ids.Map<Long,AuditEvent>getLastSequenceUpdate(Collection<Long> ids)Gets the AuditEvents of the latest sequence update for the specified array design ids.Map<Taxon,Long>getPerTaxonCount()Collection<ExpressionExperiment>getSwitchedExperiments(ArrayDesign arrayDesign)Get the ids of experiments that "originally" used this platform, but which don't any more due to a platform switch.longgetSwitchedExpressionExperimentCount(ArrayDesign id)Collection<Taxon>getTaxa(ArrayDesign arrayDesign)Return the taxa for the array design.TaxongetTaxon(Long id)booleanisBlackListed(String geoAccession)Map<Long,Boolean>isMerged(Collection<Long> ids)Map<Long,Boolean>isMergee(Collection<Long> ids)Map<Long,Boolean>isSubsumed(Collection<Long> ids)Map<Long,Boolean>isSubsumer(Collection<Long> ids)<T extends Exception>
ArrayDesignloadAndThawLiteOrFail(Long id, Function<String,T> exceptionSupplier, String message)Load a platform by ID and thaw it withArrayDesignService.thawLite(ArrayDesign)Slice<ArrayDesignValueObject>loadBlacklistedValueObjects(Filters filters, Sort sort, int offset, int limit)No need for ACL_VALUE_OBJECT_COLLECTION_READ because the filtering is done in the query.List<ArrayDesignValueObject>loadValueObjectsForEE(Long eeId)Loads the Value Objects for array designs used by expression experiment with the given IDCollection<ArrayDesignValueObject>loadValueObjectsWithCache(Filters filters, Sort sort)longnumAllCompositeSequenceWithBioSequences()Function to return a count of all compositeSequences with bioSequence associationslongnumAllCompositeSequenceWithBioSequences(Collection<Long> ids)Function to return the count of all composite sequences with biosequences, given a list of array design IdslongnumAllCompositeSequenceWithBlatResults()Function to return all composite sequences with blat resultslongnumAllCompositeSequenceWithBlatResults(Collection<Long> ids)Function to return the count of all composite sequences with blat results, given a list of array design IdslongnumAllCompositeSequenceWithGenes()Function to return a count of all composite sequences with associated genes.longnumAllCompositeSequenceWithGenes(Collection<Long> ids)Function to return the count of all composite sequences with genes, given a list of array design IdslongnumAllGenes()Returns a count of the number of genes associated with all arrayDesignslongnumAllGenes(Collection<Long> ids)Returns the number of unique Genes associated with the collection of ArrayDesign ids.longnumBioSequences(ArrayDesign arrayDesign)returns the number of bioSequences associated with this ArrayDesign idlongnumBlatResults(ArrayDesign arrayDesign)returns the number of BlatResults (BioSequence2GeneProduct) entries associated with this ArrayDesign id.longnumCompositeSequenceWithBioSequences(ArrayDesign arrayDesign)longnumCompositeSequenceWithBlatResults(ArrayDesign arrayDesign)longnumCompositeSequenceWithGenes(ArrayDesign arrayDesign)longnumExperiments(ArrayDesign arrayDesign)longnumGenes(ArrayDesign arrayDesign)Returns the number of unique Genes associated with this ArrayDesign idvoidremoveBiologicalCharacteristics(ArrayDesign arrayDesign)Remove all associations that this array design has with BioSequences.Collection<ArrayDesign>thaw(Collection<ArrayDesign> aas)Thaw a collection of platforms.ArrayDesignthaw(ArrayDesign arrayDesign)Thaw a given platform.Collection<ArrayDesign>thawLite(Collection<ArrayDesign> arrayDesigns)ArrayDesignthawLite(ArrayDesign arrayDesign)Perform a less intensive thaw of an array design: not the composite sequences.BooleanupdateSubsumingStatus(ArrayDesign candidateSubsumer, ArrayDesign candidateSubsumee)Test whether the candidateSubsumer subsumes the candidateSubsumee.-
Methods inherited from class ubic.gemma.persistence.service.AbstractFilteringVoEnabledService
count, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort, load, load, loadAllValueObjects, loadIds, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjects, loadValueObjects, loadValueObjectsByIds
-
Methods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, remove, save, save, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, getElementClass
-
Methods inherited from interface ubic.gemma.persistence.service.FilteringService
count, getFilter, getFilter, getFilter, getFilter, getFilterableProperties, getFilterablePropertyAllowedValues, getFilterablePropertyConfigAttributes, getFilterablePropertyDescription, getFilterablePropertyIsUsingSubquery, getFilterablePropertyResolvableAllowedValuesLabels, getFilterablePropertyType, getIdentifierPropertyName, getSort
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseImmutableService
create, create, findOrCreate, remove, remove, remove
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseReadOnlyService
find, findOrFail, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseService
save, save, update, update
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableFilteringVoEnabledService
load, load, loadIds, loadValueObjects, loadValueObjects
-
-
-
-
Constructor Detail
-
ArrayDesignServiceImpl
@Autowired public ArrayDesignServiceImpl(ArrayDesignDao arrayDesignDao, AuditEventDao auditEventDao)
-
-
Method Detail
-
loadAndThawLiteOrFail
@Transactional(readOnly=true) public <T extends Exception> ArrayDesign loadAndThawLiteOrFail(Long id, Function<String,T> exceptionSupplier, String message) throws T extends Exception
Description copied from interface:ArrayDesignServiceLoad a platform by ID and thaw it withArrayDesignService.thawLite(ArrayDesign)- Specified by:
loadAndThawLiteOrFailin interfaceArrayDesignService- Throws:
T extends Exception
-
addProbes
@Transactional public void addProbes(ArrayDesign arrayDesign, Collection<CompositeSequence> newProbes)
- Specified by:
addProbesin interfaceArrayDesignService
-
deleteAlignmentData
@Transactional public void deleteAlignmentData(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceremove sequence alignment results associated with the bioSequences for this array design. This can indirectly * affect other platforms that use the same sequences.- Specified by:
deleteAlignmentDatain interfaceArrayDesignService- Parameters:
arrayDesign- AD
-
deleteGeneProductAssociations
@Transactional public void deleteGeneProductAssociations(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServicedeletes the gene product associations on the specified array design. If you only want to delete alignment-based or annotation-based associations, use deleteGeneProductAlignmentAssociation deleteGeneProductAnnotationAssociations.- Specified by:
deleteGeneProductAssociationsin interfaceArrayDesignService- Parameters:
arrayDesign- AD
-
findByAlternateName
@Transactional(readOnly=true) public Collection<ArrayDesign> findByAlternateName(String queryString)
- Specified by:
findByAlternateNamein interfaceArrayDesignService
-
findByManufacturer
@Transactional(readOnly=true) public Collection<ArrayDesign> findByManufacturer(String searchString)
- Specified by:
findByManufacturerin interfaceArrayDesignService
-
findByName
@Transactional(readOnly=true) public Collection<ArrayDesign> findByName(String name)
- Specified by:
findByNamein interfaceArrayDesignService- See Also:
ArrayDesignService.findByName(java.lang.String)
-
findByShortName
@Transactional(readOnly=true) public ArrayDesign findByShortName(String shortName)
- Specified by:
findByShortNamein interfaceArrayDesignService
-
findByTaxon
@Transactional(readOnly=true) public Collection<ArrayDesign> findByTaxon(Taxon taxon)
Description copied from interface:ArrayDesignServiceFind by the primary taxon.- Specified by:
findByTaxonin interfaceArrayDesignService- Parameters:
taxon- taxon- Returns:
- ADs
-
getAlignments
@Transactional(readOnly=true) public Map<CompositeSequence,Collection<BlatResult>> getAlignments(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceRetrieves alignments for the platform elements, limited to those which map to a gene product (so not all blat results)- Specified by:
getAlignmentsin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- map of composite sequences to alignments, if available.
-
getAllAssociatedBioAssays
@Transactional(readOnly=true) public Collection<BioAssay> getAllAssociatedBioAssays(ArrayDesign arrayDesign)
- Specified by:
getAllAssociatedBioAssaysin interfaceArrayDesignService
-
getBioSequences
@Transactional(readOnly=true) public Map<CompositeSequence,BioSequence> getBioSequences(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceReturn all the (unique) biosequences associated with the array design. Composite sequences that don't have sequences are also returned, so this can be used to do a thawRawAndProcessed, in effect.- Specified by:
getBioSequencesin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- map of composite seqs. to bio seqs.
-
getCompositeSequenceCount
@Transactional(readOnly=true) public Long getCompositeSequenceCount(ArrayDesign arrayDesign)
- Specified by:
getCompositeSequenceCountin interfaceArrayDesignService
-
getCompositeSequences
@Transactional(readOnly=true) public Collection<CompositeSequence> getCompositeSequences(ArrayDesign arrayDesign)
- Specified by:
getCompositeSequencesin interfaceArrayDesignService
-
getCompositeSequences
@Transactional(readOnly=true) public Collection<CompositeSequence> getCompositeSequences(ArrayDesign arrayDesign, int limit, int offset)
- Specified by:
getCompositeSequencesin interfaceArrayDesignService
-
getExpressionExperiments
@Transactional(readOnly=true) public Collection<ExpressionExperiment> getExpressionExperiments(ArrayDesign arrayDesign)
- Specified by:
getExpressionExperimentsin interfaceArrayDesignService
-
getExpressionExperimentsCount
@Transactional(readOnly=true) public long getExpressionExperimentsCount(ArrayDesign arrayDesign)
- Specified by:
getExpressionExperimentsCountin interfaceArrayDesignService
-
getLastGeneMapping
@Transactional(readOnly=true) public Map<Long,AuditEvent> getLastGeneMapping(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceGets the AuditEvents of the latest gene mapping for the specified array design ids. This returns a map of id -> AuditEvent. If the events do not exist, the map entry will point to null.- Specified by:
getLastGeneMappingin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- map of IDs to events
-
getLastRepeatAnalysis
@Transactional(readOnly=true) public Map<Long,AuditEvent> getLastRepeatAnalysis(Collection<Long> ids)
- Specified by:
getLastRepeatAnalysisin interfaceArrayDesignService
-
getLastSequenceAnalysis
@Transactional(readOnly=true) public Map<Long,AuditEvent> getLastSequenceAnalysis(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceGets the AuditEvents of the latest sequence analyses for the specified array design ids. This returns a map of id -> AuditEvent. If the events do not exist, the map entry will point to null.- Specified by:
getLastSequenceAnalysisin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- map of IDs to events
-
getLastSequenceUpdate
@Transactional(readOnly=true) public Map<Long,AuditEvent> getLastSequenceUpdate(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceGets the AuditEvents of the latest sequence update for the specified array design ids. This returns a map of id -> AuditEvent. If the events do not exist, the map entry will point to null.- Specified by:
getLastSequenceUpdatein interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- map of IDs to events
-
getPerTaxonCount
@Transactional(readOnly=true) public Map<Taxon,Long> getPerTaxonCount()
- Specified by:
getPerTaxonCountin interfaceArrayDesignService- Returns:
- a map of taxon -> count of how many array designs there are for that taxon. Taxa with no arrays are excluded.
-
getSwitchedExperiments
@Transactional(readOnly=true) public Collection<ExpressionExperiment> getSwitchedExperiments(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceGet the ids of experiments that "originally" used this platform, but which don't any more due to a platform switch. Note that for some old platforms we may not have recorded this information.- Specified by:
getSwitchedExperimentsin interfaceArrayDesignService- Parameters:
arrayDesign- id of the platform- Returns:
- collection of EE ids
-
getSwitchedExpressionExperimentCount
@Transactional(readOnly=true) public long getSwitchedExpressionExperimentCount(ArrayDesign id)
- Specified by:
getSwitchedExpressionExperimentCountin interfaceArrayDesignService
-
getTaxa
@Transactional(readOnly=true) public Collection<Taxon> getTaxa(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceReturn the taxa for the array design. This can be multiple, or zero if the array is not processed.- Specified by:
getTaxain interfaceArrayDesignService- Parameters:
arrayDesign- The id of the array design- Returns:
- The Set of Taxons for array design.
-
getTaxon
@Transactional(readOnly=true) public Taxon getTaxon(Long id)
- Specified by:
getTaxonin interfaceArrayDesignService
-
isBlackListed
@Transactional(readOnly=true) public boolean isBlackListed(String geoAccession)
- Specified by:
isBlackListedin interfaceArrayDesignService- Parameters:
geoAccession- for a GEO series or platform
-
deleteGeneProductAnnotationAssociations
@Transactional public void deleteGeneProductAnnotationAssociations(ArrayDesign arrayDesign)
- Specified by:
deleteGeneProductAnnotationAssociationsin interfaceArrayDesignService
-
deleteGeneProductAlignmentAssociations
@Transactional public void deleteGeneProductAlignmentAssociations(ArrayDesign arrayDesign)
- Specified by:
deleteGeneProductAlignmentAssociationsin interfaceArrayDesignService
-
loadBlacklistedValueObjects
@Transactional(readOnly=true) public Slice<ArrayDesignValueObject> loadBlacklistedValueObjects(@Nullable Filters filters, @Nullable Sort sort, int offset, int limit)
Description copied from interface:ArrayDesignServiceNo need for ACL_VALUE_OBJECT_COLLECTION_READ because the filtering is done in the query.- Specified by:
loadBlacklistedValueObjectsin interfaceArrayDesignService- See Also:
ArrayDesignDao.loadBlacklistedValueObjects(Filters, Sort, int, int)
-
loadValueObjectsWithCache
@Transactional(readOnly=true) public Collection<ArrayDesignValueObject> loadValueObjectsWithCache(@Nullable Filters filters, @Nullable Sort sort)
- Specified by:
loadValueObjectsWithCachein interfaceArrayDesignService
-
countWithCache
@Transactional(readOnly=true) public long countWithCache(@Nullable Filters filters)
- Specified by:
countWithCachein interfaceArrayDesignService
-
isMerged
@Transactional(readOnly=true) public Map<Long,Boolean> isMerged(Collection<Long> ids)
- Specified by:
isMergedin interfaceArrayDesignService
-
isMergee
@Transactional(readOnly=true) public Map<Long,Boolean> isMergee(Collection<Long> ids)
- Specified by:
isMergeein interfaceArrayDesignService
-
isSubsumed
@Transactional(readOnly=true) public Map<Long,Boolean> isSubsumed(Collection<Long> ids)
- Specified by:
isSubsumedin interfaceArrayDesignService
-
isSubsumer
@Transactional(readOnly=true) public Map<Long,Boolean> isSubsumer(Collection<Long> ids)
- Specified by:
isSubsumerin interfaceArrayDesignService
-
loadValueObjectsForEE
@Transactional(readOnly=true) public List<ArrayDesignValueObject> loadValueObjectsForEE(Long eeId)
Description copied from interface:ArrayDesignServiceLoads the Value Objects for array designs used by expression experiment with the given ID- Specified by:
loadValueObjectsForEEin interfaceArrayDesignService- Parameters:
eeId- the id of an expression experiment- Returns:
- AD VOs
-
numAllCompositeSequenceWithBioSequences
@Transactional(readOnly=true) public long numAllCompositeSequenceWithBioSequences()
Description copied from interface:ArrayDesignServiceFunction to return a count of all compositeSequences with bioSequence associations- Specified by:
numAllCompositeSequenceWithBioSequencesin interfaceArrayDesignService- Returns:
- count
-
numAllCompositeSequenceWithBioSequences
@Transactional(readOnly=true) public long numAllCompositeSequenceWithBioSequences(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceFunction to return the count of all composite sequences with biosequences, given a list of array design Ids- Specified by:
numAllCompositeSequenceWithBioSequencesin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- count
-
numAllCompositeSequenceWithBlatResults
@Transactional(readOnly=true) public long numAllCompositeSequenceWithBlatResults()
Description copied from interface:ArrayDesignServiceFunction to return all composite sequences with blat results- Specified by:
numAllCompositeSequenceWithBlatResultsin interfaceArrayDesignService- Returns:
- count
-
numAllCompositeSequenceWithBlatResults
@Transactional(readOnly=true) public long numAllCompositeSequenceWithBlatResults(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceFunction to return the count of all composite sequences with blat results, given a list of array design Ids- Specified by:
numAllCompositeSequenceWithBlatResultsin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- count
-
numAllCompositeSequenceWithGenes
@Transactional(readOnly=true) public long numAllCompositeSequenceWithGenes()
Description copied from interface:ArrayDesignServiceFunction to return a count of all composite sequences with associated genes.- Specified by:
numAllCompositeSequenceWithGenesin interfaceArrayDesignService- Returns:
- count
-
numAllCompositeSequenceWithGenes
@Transactional(readOnly=true) public long numAllCompositeSequenceWithGenes(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceFunction to return the count of all composite sequences with genes, given a list of array design Ids- Specified by:
numAllCompositeSequenceWithGenesin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- count
-
numAllGenes
@Transactional(readOnly=true) public long numAllGenes()
Description copied from interface:ArrayDesignServiceReturns a count of the number of genes associated with all arrayDesigns- Specified by:
numAllGenesin interfaceArrayDesignService- Returns:
- count
-
numAllGenes
@Transactional(readOnly=true) public long numAllGenes(Collection<Long> ids)
Description copied from interface:ArrayDesignServiceReturns the number of unique Genes associated with the collection of ArrayDesign ids.- Specified by:
numAllGenesin interfaceArrayDesignService- Parameters:
ids- ids- Returns:
- count
-
numBioSequences
@Transactional(readOnly=true) public long numBioSequences(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServicereturns the number of bioSequences associated with this ArrayDesign id- Specified by:
numBioSequencesin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- count
-
numBlatResults
@Transactional(readOnly=true) public long numBlatResults(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServicereturns the number of BlatResults (BioSequence2GeneProduct) entries associated with this ArrayDesign id.- Specified by:
numBlatResultsin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- count
-
numCompositeSequenceWithBioSequences
@Transactional(readOnly=true) public long numCompositeSequenceWithBioSequences(ArrayDesign arrayDesign)
- Specified by:
numCompositeSequenceWithBioSequencesin interfaceArrayDesignService
-
numCompositeSequenceWithBlatResults
@Transactional(readOnly=true) public long numCompositeSequenceWithBlatResults(ArrayDesign arrayDesign)
- Specified by:
numCompositeSequenceWithBlatResultsin interfaceArrayDesignService
-
numCompositeSequenceWithGenes
@Transactional(readOnly=true) public long numCompositeSequenceWithGenes(ArrayDesign arrayDesign)
- Specified by:
numCompositeSequenceWithGenesin interfaceArrayDesignService
-
numExperiments
@Transactional(readOnly=true) public long numExperiments(ArrayDesign arrayDesign)
- Specified by:
numExperimentsin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- how many experiments use this platform (not including experiment subsets) security filtered
-
numGenes
@Transactional(readOnly=true) public long numGenes(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceReturns the number of unique Genes associated with this ArrayDesign id- Specified by:
numGenesin interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- count
-
removeBiologicalCharacteristics
@Transactional public void removeBiologicalCharacteristics(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceRemove all associations that this array design has with BioSequences. This is needed for cases where the original import has associated the probes with the wrong sequences. A common case is for GEO data sets where the actual oligonucleotide is not given. Instead the submitter provides Genbank accessions, which are misleading. This method can be used to clear those until the "right" sequences can be identified and filled in. Note that this does not remove the BioSequences, it just nulls the BiologicalCharacteristics of the CompositeSequences.- Specified by:
removeBiologicalCharacteristicsin interfaceArrayDesignService- Parameters:
arrayDesign- AD
-
thaw
@Transactional(readOnly=true) public ArrayDesign thaw(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServiceThaw a given platform.- Specified by:
thawin interfaceArrayDesignService- See Also:
ArrayDesignDao.thaw(ArrayDesign)
-
thaw
@Transactional(readOnly=true) public Collection<ArrayDesign> thaw(Collection<ArrayDesign> aas)
Description copied from interface:ArrayDesignServiceThaw a collection of platforms.- Specified by:
thawin interfaceArrayDesignService- See Also:
ArrayDesignDao.thaw(ArrayDesign)
-
thawLite
@Transactional(readOnly=true) public ArrayDesign thawLite(ArrayDesign arrayDesign)
Description copied from interface:ArrayDesignServicePerform a less intensive thaw of an array design: not the composite sequences.- Specified by:
thawLitein interfaceArrayDesignService- Parameters:
arrayDesign- AD- Returns:
- AD
-
thawLite
@Transactional(readOnly=true) public Collection<ArrayDesign> thawLite(Collection<ArrayDesign> arrayDesigns)
- Specified by:
thawLitein interfaceArrayDesignService
-
updateSubsumingStatus
@Transactional public Boolean updateSubsumingStatus(ArrayDesign candidateSubsumer, ArrayDesign candidateSubsumee)
Description copied from interface:ArrayDesignServiceTest whether the candidateSubsumer subsumes the candidateSubsumee. If so, the array designs are updated to reflect this fact. The boolean value returned indicates whether there was indeed a subsuming relationship found.- Specified by:
updateSubsumingStatusin interfaceArrayDesignService- Parameters:
candidateSubsumer- candidate subsumercandidateSubsumee- candidate subsumee- Returns:
- success
-
-