Class GeoSingleCellDetectorTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseTest
ubic.gemma.core.loader.expression.geo.GeoSingleCellDetectorTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@ContextConfiguration
@NetworkAvailable(url="ftp://ftp.ncbi.nlm.nih.gov/geo/series/")
public class GeoSingleCellDetectorTest
extends BaseTest
TODO: move SOFT files in test resources and mock FTP downloads
-
Field Summary
FieldsFields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidThis series has numerous TAR archives with numerous small files within.voidThis series has samples lacking data.voidThis is an AnnData dataset that uses the.h5ad.h5extension.voidThis is a case of a MEX dataset where files are located in the series.voidvoidThis example has some additional supplementary materials that are inside a TAR archive that contains MEX data.voidThis dataset has technical replicates, this is not supported.voidThis is a curious example of a SOFT file that has NONE indicators in its supplementary materials.voidThis is a Loom dataset with a single file in the series.voidThis is a pathologic case with nested zip and gzipped files.voidThis is a custom H5 attachment that is unsupported.voidThe SRA metadata does not use the "TRANSCRIPTOMIC SINGLE CELL" library source, but keywords in the protocol indicate it is single-cell.voidvoidInteresting case because it uses genes.tsv instead of features.tsv.voidMEX dataset stored in ZIP archives.voidThis is a Loom dataset with files in individual samplesvoidThis series has complete MEX files at the sample-level, but also provide MEX files in the series.voidThis dataset as a mix of scRNA-Seq and ATAC-SeqvoidvoidThis file has a large TAR attachment in its ATAC-seq samples that should be ignored.voidThis one uses non-standard file names.voidThis files produces "java.util.zip.ZipException: invalid block type" apparently...voidThis dataset does not use 'single-cell transcriptomic' as a library source, so we have to rely on keywords.voidvoidSimilar case here with large TAR attachments, but in this case it has a lot of samples to skip.voidThis is a case of a MEX dataset where files are bundled in a per-sample TAR archive.voidvoidThis dataset has multiple.h5adsupplementary files.voidThis dataset has MEX data at both series and sample-levels.voidThis is a MEX dataset with a barcode_metadata.tsv.gz file.voidvoidThis AnnData file has invalid columns and numerical categorical arrays and uses a dense matrix.voidTypical MEX format: 3 supplementary files per samplevoidAnnData (and also Seurat Disk, but the former is preferred)voidvoidThis series contains large TAR attachment that should be skipped when inspecting for MEX.voidThis dataset has a mixture of Loom and MEX, the latter should take precedence because Loom is not supported yet.voidThis is a case of a MEX dataset that has matrix and barcodes at the sample-level (as we support it!), but genes at the series level.voidThis dataset as an array of ENUM, a raw.X and needs to be transposed.voidvoidvoidvoidvoidvoidThis sample has duplicated cell IDs.voidvoidvoidMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Field Details
-
networkAvailableRule
-
-
Constructor Details
-
GeoSingleCellDetectorTest
public GeoSingleCellDetectorTest()
-
-
Method Details
-
setUp
- Throws:
IOException
-
testGSE225158
AnnData (and also Seurat Disk, but the former is preferred) -
testGSE221593
This AnnData file has invalid columns and numerical categorical arrays and uses a dense matrix. -
testGSE221522
-
testGSE254569
-
testGSE224438
Typical MEX format: 3 supplementary files per sample -
testGSE201814
This is a case of a MEX dataset where files are bundled in a per-sample TAR archive. -
testGSE201814DownloadAll
-
testGSE228370
-
testGSE174574
Interesting case because it uses genes.tsv instead of features.tsv.We need to download it to make sure that the file is properly stored.
-
testGSE202051
This dataset has multiple.h5adsupplementary files. The solution is to manually pick one of them.- Throws:
IOException
-
testGSE200218
This dataset does not use 'single-cell transcriptomic' as a library source, so we have to rely on keywords.It als has a bunch of additional supplementary files.
-
testGSE162631
This is a pathologic case with nested zip and gzipped files.- Throws:
IOException
-
testGSE148611
- Throws:
IOException
-
testGSE193884
-
testGSE147495
This is a case of a MEX dataset where files are located in the series. We don't support downloading those, but we want to make sure we're producing a useful error message. -
testGSE242423
This is a case of a MEX dataset that has matrix and barcodes at the sample-level (as we support it!), but genes at the series level. -
testGSE132188
This is an AnnData dataset that uses the.h5ad.h5extension. -
testGSE162807
This is a custom H5 attachment that is unsupported.- Throws:
IOException
-
testGSE158184
This is a curious example of a SOFT file that has NONE indicators in its supplementary materials.- Throws:
IOException
-
testGSE185737
This dataset as a mix of scRNA-Seq and ATAC-Seq -
testGSE196516
This file has a large TAR attachment in its ATAC-seq samples that should be ignored. -
testGSE235314
This series contains large TAR attachment that should be skipped when inspecting for MEX.- Throws:
IOException
-
testGSE201263
Similar case here with large TAR attachments, but in this case it has a lot of samples to skip. -
testGSE200202
This files produces "java.util.zip.ZipException: invalid block type" apparently... -
testGSE155499
This example has some additional supplementary materials that are inside a TAR archive that contains MEX data. -
testGSE201032
- Throws:
IOException
-
testGSE218621
This is a MEX dataset with a barcode_metadata.tsv.gz file. -
testGSE237862
This dataset has a mixture of Loom and MEX, the latter should take precedence because Loom is not supported yet. -
testGSE179516
This is a Loom dataset with files in individual samples -
testGSE159416
This is a Loom dataset with a single file in the series. We support detection and download, but not loading. -
testGSE178226
MEX dataset stored in ZIP archives. -
testGSE199762
This one uses non-standard file names. -
testGSE155695
This dataset has technical replicates, this is not supported. -
testGSM4282408
This sample has duplicated cell IDs. -
testGSE109774
This series has numerous TAR archives with numerous small files within. We have a policy of skipping these if we skip enough entries within the archive.- Throws:
IOException
-
testGSE208742
This dataset has MEX data at both series and sample-levels. TODO: add support for this, see #1232 -
testGSE244451
This dataset as an array of ENUM, a raw.X and needs to be transposed. -
testGSE184506
This series has complete MEX files at the sample-level, but also provide MEX files in the series. -
testGSE125708
This series has samples lacking data.Example: GSM3580744
-
testGSE274772
- Throws:
IOException
-
testGSE165635
The SRA metadata does not use the "TRANSCRIPTOMIC SINGLE CELL" library source, but keywords in the protocol indicate it is single-cell.- Throws:
IOException
-
testGSE169285
- Throws:
IOException
-
testGSE256105
- Throws:
IOException
-
testGSE251724
- Throws:
IOException
-
testHasSingleCellDataInSra
- Throws:
IOException
-
testHasSingleCellDataInCellXGene
-
testDownloadSingleCellDataInCellXGene
public void testDownloadSingleCellDataInCellXGene() throws IOException, NoSingleCellDataFoundException -
testDownloadSingleCellDataInCellXGeneWithoutACollectionId
public void testDownloadSingleCellDataInCellXGeneWithoutACollectionId() throws IOException, NoSingleCellDataFoundException -
testGSE71585
- Throws:
IOException
-
testIsSingleNuclei
- Throws:
IOException
-