From f763df05e1f3870d15c15dd0e6d16397991c0141 Mon Sep 17 00:00:00 2001 From: Kai Waldrant Date: Wed, 10 Jul 2024 17:15:14 +0200 Subject: [PATCH] Create working components [WIP]: Update file test api --- src/api/file_test_h5ad.yaml | 53 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/src/api/file_test_h5ad.yaml b/src/api/file_test_h5ad.yaml index d373b84..908add2 100644 --- a/src/api/file_test_h5ad.yaml +++ b/src/api/file_test_h5ad.yaml @@ -1,6 +1,6 @@ #TODO: Change to the required and/or optional fields of the anndata type: file -example: "resources_test/denoising/pancreas/test.h5ad" +example: "resources_test/task_template/cxg_mouse_pancreas_atlas/test.h5ad" info: label: "Test data" summary: The subset of molecules used for the test dataset @@ -10,36 +10,35 @@ info: name: counts description: Raw counts required: true + - type: double + name: normalized + description: Normalized counts + required: true + obs: + - type: string + name: batch + description: Batch information + required: true + var: + - type: boolean + name: hvg + description: Whether or not the feature is considered to be a 'highly variable gene' + required: true + - type: double + name: hvg_score + description: A ranking of the features by hvg. + required: true + obsm: + - type: double + name: X_pca + description: The resulting PCA embedding. + required: true uns: - type: string name: dataset_id description: "A unique identifier for the dataset" required: true - - name: dataset_name - type: string - description: Nicely formatted name. - required: true - type: string - name: dataset_url - description: Link to the original source of the dataset. - required: false - - name: dataset_reference - type: string - description: Bibtex reference of the paper in which the dataset was published. - required: false - - name: dataset_summary - type: string - description: Short description of the dataset. - required: true - - name: dataset_description - type: string - description: Long description of the dataset. - required: true - - name: dataset_organism - type: string - description: The organism of the sample in the dataset. - required: false - - name: train_sum - type: integer - description: The total number of counts in the training dataset. + name: normalization_id + description: "Which normalization was used" required: true \ No newline at end of file