-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Construct cellarr TileDB in HPC environments (#61)
Tested on local HPC environments, update documentation, changelog and README.
- Loading branch information
Showing
14 changed files
with
802 additions
and
4 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
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,65 @@ | ||
|
||
# manifest json | ||
|
||
```json | ||
{ | ||
"files": [ | ||
"/path/to/dataset1.h5ad", | ||
"/path/to/dataset2.h5ad" | ||
], | ||
"matrix_options": [ | ||
{ | ||
"matrix_name": "counts", | ||
"dtype": "uint32" | ||
}, | ||
{ | ||
"matrix_name": "normalized", | ||
"dtype": "float32" | ||
} | ||
], | ||
"gene_options": { | ||
"feature_column": "index" | ||
}, | ||
"sample_options": { | ||
"metadata": { | ||
"sample_1": { | ||
"condition": "control", | ||
"batch": "1" | ||
}, | ||
"sample_2": { | ||
"condition": "treatment", | ||
"batch": "1" | ||
} | ||
} | ||
}, | ||
"cell_options": { | ||
"column_types": { | ||
"cell_type": "ascii", | ||
"quality_score": "float32" | ||
}, | ||
}, | ||
"python_env": """ | ||
. /system/gredit/clientos/etc/profile | ||
|
||
ml Miniforge3 | ||
conda activate biocpy_miniforge | ||
|
||
~/.conda/envs/biocpy_miniforge/bin/python --version | ||
which python | ||
python --version | ||
""", | ||
} | ||
``` | ||
|
||
|
||
Run | ||
|
||
```sh | ||
|
||
python build_cellarr_steps.py \ | ||
--input-manifest manifest.json \ | ||
--output-dir /path/to/output \ | ||
--memory-per-job 64 \ | ||
--cpus-per-task 4 | ||
|
||
``` |
Empty file.
Oops, something went wrong.