generated from openproblems-bio/task_template
-
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.
- Loading branch information
Showing
6 changed files
with
165 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace: transformers | ||
info: | ||
type: transformer | ||
type_info: | ||
label: Transform | ||
summary: Transform batch integration outputs where necessary | ||
description: | | ||
Transform corrected feature output to an embedding, and an embedding to a graph output. | ||
arguments: | ||
- name: --input | ||
__merge__: file_integrated.yaml | ||
direction: input | ||
required: true | ||
- name: --output | ||
__merge__: file_integrated_full.yaml | ||
direction: output | ||
required: true | ||
test_resources: | ||
- type: python_script | ||
path: /common/component_tests/run_and_check_output.py | ||
- path: /resources_test/task_batch_integration/cxg_mouse_pancreas_atlas | ||
dest: resources_test/task_batch_integration/cxg_mouse_pancreas_atlas |
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,55 @@ | ||
type: file | ||
example: "resources_test/task_batch_integration/cxg_mouse_pancreas_atlas/integrated_full.h5ad" | ||
label: Transformed integration | ||
summary: An integrated AnnData dataset with additional outputs. | ||
description: | | ||
Must contain at least one of: | ||
- Feature: the corrected_counts layer | ||
- Embedding: the X_emb obsm | ||
- Graph: the connectivities and distances obsp | ||
The Graph should always be present, but the Feature and Embedding are optional. | ||
info: | ||
format: | ||
type: h5ad | ||
layers: | ||
- type: double | ||
name: corrected_counts | ||
description: Feature output - corrected counts | ||
required: false | ||
obsm: | ||
- type: double | ||
name: X_emb | ||
description: Embedding output - 2D coordinate matrix | ||
required: false | ||
obsp: | ||
- type: double | ||
name: connectivities | ||
description: "Graph output - neighbor connectivities matrix" | ||
required: true | ||
- type: double | ||
name: distances | ||
description: "Graph output - neighbor distances matrix" | ||
required: true | ||
uns: | ||
- type: string | ||
name: dataset_id | ||
description: "A unique identifier for the dataset" | ||
required: true | ||
- type: string | ||
name: normalization_id | ||
description: "Which normalization was used" | ||
required: true | ||
- name: dataset_organism | ||
type: string | ||
description: The organism of the sample in the dataset. | ||
required: false | ||
- type: string | ||
name: method_id | ||
description: "A unique identifier for the method" | ||
required: true | ||
- type: object | ||
name: neighbors | ||
description: Supplementary K nearest neighbors data. | ||
required: true |