Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.6 #365

Merged
merged 19 commits into from
Sep 9, 2021
Merged

v0.3.6 #365

merged 19 commits into from
Sep 9, 2021

Conversation

davidsebfischer
Copy link
Contributor

No description provided.

davidsebfischer and others added 19 commits June 9, 2021 14:20
* updated count rounding warning in streamlining
* improved meta data streamlining
* updated DOIs to distinguish preprint and journal
* add new adding datasets figure

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add sample_source

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add sample_source to validator

Signed-off-by: zethson <lukas.heumos@posteo.net>

* renamed assay to assay_sc

Signed-off-by: zethson <lukas.heumos@posteo.net>

* fix assay_sc template

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add remaining fields

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add some more documentation

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add cell_types_original_obs_key

Signed-off-by: zethson <lukas.heumos@posteo.net>

* add sfaira annotate-dataloader hints

Signed-off-by: zethson <lukas.heumos@posteo.net>

* fix flake8

Signed-off-by: zethson <lukas.heumos@posteo.net>

* remove unnecessary flake8 ignore

Signed-off-by: zethson <lukas.heumos@posteo.net>
* added lazy ontology loading
* updated ontology unit tests to new EFO
)

- affects d10_1016_j_cmet_2016_08_020, d10_1016_j_cels_2016_08_011
* improved error reporting in annotate
* improved file not found reporting in annotate
* update template creation workflow
* fix doi promting
* update download urls
* fix data path handling in CLI
* fix disease default in cli
* fix test-dataloader [skip ci]
* fix CI (#339)

Co-authored-by: david.seb.fischer <david.seb.fischer@gmail.com>
Co-authored-by: le-ander <20015434+le-ander@users.noreply.github.com>
Co-authored-by: Lukas Heumos <lukas.heumos@posteo.net>
* updated rounding in cellxgene format export warning
* updated DOIs to distinguish preprint and journal
* fixed issue with ethnicity handling in cellxgene export
* reordered obs in cellxgene streamlining
* added store benchmark script
* added multi-organism store
* update doi setting in datasetinteractive
* added mock data for unit test
* added msle metric
* enabled in memory handling of h5ad backed store
* added infrastructure for ontology re-caching
* fixed all unit tests and optimised run time a bit

Co-authored-by: Abdul Moeed <abdulmoeed444@gmail.com>
Co-authored-by: le-ander <20015434+le-ander@users.noreply.github.com>
* improvments to store API
* added retrieval index sort to dask store
* fixed bug in single store generator if index input was None
* added sliced X and adata object emission to single store
* moved memory footprint into store base class
* fixed h5ad store indexing
* restructured meta data streamlining code (#347)
- includes bug fix that lead to missing meta data import from cellxgene structured data sets
- simplified meta data streamlining code and enhanced code readability
- depreceated distinction between cell type and cell type original in data set definition in favor of single attribute
- allowed all ontology constrained meta data items to be supplied in any format (original + mapl, symbol, or id) via the `*_obs_col` attribute of the loader
- removed resetting of _obs_col attributes in streamlining in favor of adataids controlled obs col names that extend to IDs and original labels
- updated cell type entry in all data loaders
* added attribute check for dictionary formatted attributes from YAML
* added processing of obs columns in cellxgene import
* extended error reporting in data loader discovery
* fixed value protection in meta data streamlining
* fixed cellxgene obs adapter
* added additional mock data set with little meta data annotation
* refactored cellxgene streamlining and added HANCESTRO support via EBI
* fixed handling of missing ethnicity ontology for mouse
* fixed EBI EFO backend
* ontology unit tests now check that ontologies can be downloaded
* added new generator interface, restructured batch index design interface and fixed adata uns merge in DatasetGroup (#351)
- Iterators for tf dataset and similar are now emitted as an instance of a class that has an property that emit the iterator. This class keeps a pointer to the data set that is iterated over in its attributes. Thus, if this instance stays in the namespace in which tensorflow uses the iterator, it can be restarted without creating a new pointer. This had previously delayed training because tensorflow restarted the validation data set for each epoch, thus creating a new dask data set in each epoch at relatively high cost.
- There is now only one iterator end point for stores (before there was base and balanced). The different index shuffling / sampling schedules are now refactored into functions and can be chosen based on string names. This makes creation and addition of new index schedules ("batch designs") easier.
- Direct conversion of adata objects in memory to a store is now supported via a new multi store class.
- Estimators do not have any more adata processing code but still acceppt adata, next to store instances. The adata are directly converted to a adata store instance though. All previous code related to adata processing is depreceated in the estimators.
- The interface of store to estimators in the estimator is heavily simplified through the new generator interface of the store. The generator instances are placed in the train name space for efficiency but not in testing and evaluation namespaces, in which only a data set single pass is required.
* Added new batch index design code
- Batch schedules are now classes rather than functions.
- Introduced epoch-wise reshuffling of indices in batch schedule: The reshuffling is achieved by transferring the schedule from a one-time function evaluation in the generator constructor to a evaluation of a schedule instance property that shuffles at the beginning of the iterator
* Fixed balanced batch schedule.
* Added merging of shared uns fields in DatasetGroup so that uns streamlining is maintained across merge of adatas.
* passed empty store index validation
* passed zero length index processing in batch schedule
* allowed re-indexing of generator and batch schedule
* added uberon versioning
* added more verbose error to empty file handle
* depreceated copy in project_free_to_ontology and fixed bug that arose centred on copy
* added obs surveying script
* fixed access to ontology in dataset group
* enabled map_fn vectorisation in generators
* sped up store access
@davidsebfischer davidsebfischer merged commit e9fbd5b into release Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants