-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from KevinMenden/development
Release v1.1.0 PR
- Loading branch information
Showing
21 changed files
with
483 additions
and
550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Scaden Blog | ||
Apart from the changelog, this is a more informal section where I will inform about new features | ||
that have been (or will be) implemented in Scaden. | ||
|
||
# Scaden v1.1.0 - Performance Improvements and `scaden merge` tool (21.03.2021) | ||
|
||
Scaden v1.1.0 brings significantly improved memory consumption for the data simulation step, which was a frequently asked for feature. | ||
Now, instead of using about 4 GB of memory to simulate a small dataset, Scaden only uses 1 GB. Memory usage does not increase | ||
with the number of datasets anymore. This will allow to create datasets from large collections of scRNA-seq datasets without | ||
needing excessive memory. Furthermore, Scaden now stores the simulated data in `.h5ad` format with the full list of genes. | ||
This way you can simulate from a scRNA-seq dataset once and combine it with other datasets in the future. To help with this, | ||
I've added the `scaden merge` command, which takes a list of datasets or a directory with `.h5ad` datasets and creates | ||
a new training dataset from it. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from scaden.simulation import BulkSimulator | ||
|
||
""" | ||
Merge simulate datasets | ||
""" | ||
|
||
|
||
def merge_datasets(data_dir, prefix, files=None): | ||
|
||
bulk_simulator = BulkSimulator() | ||
|
||
if files: | ||
files = files.split(",") | ||
|
||
# Merge the resulting datasets | ||
bulk_simulator.merge_datasets(data_dir=data_dir, | ||
files=files, | ||
out_name=prefix + ".h5ad") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.