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) Methods inherited from class ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleH5FileInSeriesSingleCellDetector
existsAndHasExpectedSizeMethods inherited from class ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleFileInSeriesSingleCellDetector
downloadSingleCellData, downloadSingleCellData, downloadSingleCellData, getAdditionalSupplementaryFiles, getAdditionalSupplementaryFiles, getDest, hasSingleCellData, hasSingleCellDataMethods inherited from class ubic.gemma.core.loader.expression.geo.singleCell.AbstractSingleCellDetector
getDownloadDirectory, getSizeInBytes, openSupplementaryFileAsStream, retry, setDownloadDirectory, setFTPClientFactory, setRetryPolicyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.core.loader.expression.geo.singleCell.SingleCellDetector
downloadSingleCellData, downloadSingleCellData, getAdditionalSupplementaryFiles, getAdditionalSupplementaryFiles, hasSingleCellData, hasSingleCellData, setDownloadDirectory, 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
-
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
-