File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464
6565* Added Seurat rPCA (PR #95 ).
6666
67+ * Added processing scripts for CLL dataset (PR #106 ).
6768
6869## MAJOR CHANGES
6970
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # get the root of the directory
4+ REPO_ROOT=$( git rev-parse --show-toplevel)
5+
6+ # ensure that the command below is run from the root of the repository
7+ cd " $REPO_ROOT "
8+
9+ set -e
10+
11+ RAW_DIR=resources_raw/human_cll_mass_cytometry/
12+ DATASET_ID=human_cll_mass_cytometry
13+ OUTPUT_DIR=resources/datasets_raw/$DATASET_ID /
14+
15+ mkdir -p $OUTPUT_DIR
16+
17+ # create raw dataset files
18+ python << HERE
19+ import anndata as ad
20+
21+ adata = ad.read_h5ad("$RAW_DIR /human_cll_mass_cytometry.h5ad")
22+
23+ # make sure the output is compressed
24+ adata.write_h5ad("$OUTPUT_DIR /common_dataset.h5ad", compression='gzip')
25+ HERE
26+
27+ cat > $OUTPUT_DIR /state.yaml << HERE
28+ id: $DATASET_ID
29+ output_dataset: !file common_dataset.h5ad
30+ HERE
31+
32+ # only run this if you have access to the openproblems-data bucket
33+ aws s3 sync --profile op \
34+ resources/datasets_raw/human_cll_mass_cytometry \
35+ s3://openproblems-data/resources/task_cyto_batch_integration/datasets_raw/human_cll_mass_cytometry/ \
36+ --delete --dryrun
You can’t perform that action at this time.
0 commit comments