Class AnnDataDetector
java.lang.Object
ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleCellDetector
ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleFileInSeriesSingleCellDetector
ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleH5FileInSeriesSingleCellDetector
ubic.gemma.core.loader.expression.geo.singleCell.AnnDataDetector
- All Implemented Interfaces:
SingleCellDetector
public class AnnDataDetector
extends AbstractSingleH5FileInSeriesSingleCellDetector
implements SingleCellDetector
Detects AnnData in GEO series.
This detector has additional heuristics for detecting sample names.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanIndicate if the given supplementary file is accepted.getSingleCellDataLoader(GeoSeries series, SingleCellDataLoaderConfig config) Obtain a single cell data loader for the given GEO series based on previously downloading data.protected booleanisTruncated(Path dest) voidsetSingleCellDataTransformationFactory(SingleCellDataTransformationFactory singleCellDataTransformationFactory) Methods inherited from class AbstractSingleH5FileInSeriesSingleCellDetector
existsAndHasExpectedSizeMethods inherited from class AbstractSingleFileInSeriesSingleCellDetector
downloadSingleCellData, downloadSingleCellData, downloadSingleCellData, getAdditionalSupplementaryFiles, getAdditionalSupplementaryFiles, getDest, hasSingleCellData, hasSingleCellDataMethods inherited from class AbstractSingleCellDetector
getDownloadDirectory, getProgressReporterFactory, getSizeInBytes, openSupplementaryFileAsStream, retry, setDownloadDirectory, setFTPClientFactory, setProgressReporterFactory, setRetryPolicy
-
Constructor Details
-
AnnDataDetector
public AnnDataDetector()
-
-
Method Details
-
accepts
Description copied from class:AbstractSingleFileInSeriesSingleCellDetectorIndicate if the given supplementary file is accepted.The default implementation checks if the file ends with the extension (or the extension +
.gz).- Overrides:
acceptsin classAbstractSingleFileInSeriesSingleCellDetector
-
isTruncated
- Overrides:
isTruncatedin classAbstractSingleH5FileInSeriesSingleCellDetector- Throws:
IOException
-
setSingleCellDataTransformationFactory
public void setSingleCellDataTransformationFactory(@Nullable SingleCellDataTransformationFactory singleCellDataTransformationFactory) -
getSingleCellDataLoader
public SingleCellDataLoader getSingleCellDataLoader(GeoSeries series, SingleCellDataLoaderConfig config) throws NoSingleCellDataFoundException Description copied from interface:SingleCellDetectorObtain a single cell data loader for the given GEO series based on previously downloading data.- Specified by:
getSingleCellDataLoaderin interfaceSingleCellDetector- Throws:
NoSingleCellDataFoundException- if there is no single-cell data for the given series
-