Skip to content

Commit e474399

Browse files
committed
remove file_validation
1 parent df3cfd3 commit e474399

5 files changed

Lines changed: 19 additions & 202 deletions

File tree

README.md

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ flowchart TB
5353
comp_metric[/"<a href='https://github.com/openproblems-bio/task_cyto_batch_integration#component-type-metric'>Metric</a>"/]
5454
file_integrated("<a href='https://github.com/openproblems-bio/task_cyto_batch_integration#file-format-integrated'>Integrated</a>")
5555
file_score("<a href='https://github.com/openproblems-bio/task_cyto_batch_integration#file-format-score'>Score</a>")
56-
file_validation("<a href='https://github.com/openproblems-bio/task_cyto_batch_integration#file-format-validation'>Validation</a>")
5756
file_common_dataset---comp_data_processor
5857
comp_data_processor-->file_censored
5958
comp_data_processor-->file_censored
@@ -63,10 +62,10 @@ flowchart TB
6362
file_unintegrated---comp_metric
6463
comp_method-->file_integrated
6564
comp_control_method-->file_integrated
65+
comp_control_method-->file_integrated
6666
comp_metric-->file_score
6767
file_integrated---comp_metric
6868
file_integrated---comp_metric
69-
file_validation---comp_control_method
7069
```
7170

7271
## File format: Common Dataset
@@ -275,8 +274,8 @@ Arguments:
275274
| Name | Type | Description |
276275
|:---|:---|:---|
277276
| `--input_unintegrated` | `file` | The complete unintegrated dataset, including all cells’ metadata (columns) from the unintegrated_censored dataset. |
278-
| `--input_validation` | `file` | Hold-out dataset for validation. |
279-
| `--output` | `file` | (*Output*) Integrated dataset which batch effect was corrected by an algorithm. |
277+
| `--output_integrated_left` | `file` | (*Output*) Integrated dataset which batch effect was corrected by an algorithm. |
278+
| `--output_integrated_right` | `file` | (*Output*) Integrated dataset which batch effect was corrected by an algorithm. |
280279

281280
</div>
282281

@@ -356,68 +355,3 @@ Data structure:
356355

357356
</div>
358357

359-
## File format: Validation
360-
361-
Hold-out dataset for validation.
362-
363-
Example file:
364-
`resources_test/task_cyto_batch_integration/mouse_spleen_flow_cytometry_subset/validation.h5ad`
365-
366-
Description:
367-
368-
Dataset containing cells from samples that were held out for evaluating
369-
batch integration output. The cells that are in this dataset belong to
370-
samples which are not included in the unintegrated or
371-
unintegrated_censored datasets. For example, if samples from donor A are
372-
present in batch 1 and 2, the sample from batch 1 may be used as input
373-
for the batch correction algorithm (and thus present in unintegrated and
374-
unintegrated_censored datasets). The sample from batch 2, may not be
375-
included as an input for the batch correction algorithm, but is needed
376-
to validate whether whether the algorithm managed to correct the batch
377-
effect in batch 2 towards batch 1. This sample will then be included in
378-
this dataset (but not in unintegrated and unintegrated_censored
379-
datasets).
380-
381-
Format:
382-
383-
<div class="small">
384-
385-
AnnData object
386-
obs: 'cell_type', 'batch', 'sample', 'donor', 'group', 'is_control'
387-
var: 'numeric_id', 'channel', 'marker', 'marker_type', 'to_correct'
388-
layers: 'preprocessed'
389-
uns: 'dataset_id', 'dataset_name', 'dataset_url', 'dataset_reference', 'dataset_summary', 'dataset_description', 'dataset_organism', 'parameter_som_xdim', 'parameter_som_ydim', 'parameter_num_clusters'
390-
391-
</div>
392-
393-
Data structure:
394-
395-
<div class="small">
396-
397-
| Slot | Type | Description |
398-
|:---|:---|:---|
399-
| `obs["cell_type"]` | `string` | Cell type information. |
400-
| `obs["batch"]` | `string` | Batch information. |
401-
| `obs["sample"]` | `string` | Sample ID. |
402-
| `obs["donor"]` | `string` | Donor ID. |
403-
| `obs["group"]` | `string` | Biological group of the donor. |
404-
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. 0: cannot be used as a control. \>= 1: can be used as a control. For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
405-
| `var["numeric_id"]` | `integer` | Numeric ID associated with each marker. |
406-
| `var["channel"]` | `string` | The channel / detector of the instrument. |
407-
| `var["marker"]` | `string` | (*Optional*) The marker name associated with the channel. |
408-
| `var["marker_type"]` | `string` | Whether the marker is a functional or lineage marker. |
409-
| `var["to_correct"]` | `boolean` | Whether the marker will be batch corrected. |
410-
| `layers["preprocessed"]` | `double` | preprocessed data, e.g. already compensated, transformed and debris/doublets removed. |
411-
| `uns["dataset_id"]` | `string` | A unique identifier for the dataset. |
412-
| `uns["dataset_name"]` | `string` | Nicely formatted name. |
413-
| `uns["dataset_url"]` | `string` | (*Optional*) Link to the original source of the dataset. |
414-
| `uns["dataset_reference"]` | `string` | (*Optional*) Bibtex reference of the paper in which the dataset was published. |
415-
| `uns["dataset_summary"]` | `string` | Short description of the dataset. |
416-
| `uns["dataset_description"]` | `string` | Long description of the dataset. |
417-
| `uns["dataset_organism"]` | `string` | (*Optional*) The organism of the sample in the dataset. |
418-
| `uns["parameter_som_xdim"]` | `integer` | Parameter used to define the width of the self-organizing map (SOM) grid. Usually between 10 and 20. |
419-
| `uns["parameter_som_ydim"]` | `integer` | Parameter used to define the height of the self-organizing map (SOM) grid. Usually between 10 and 20. |
420-
| `uns["parameter_num_clusters"]` | `integer` | Parameter used to define the number of clusters. Set this number to be slightly higher than the number of cell types expected in the dataset. |
421-
422-
</div>
423-

src/api/comp_control_method.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ arguments:
1616
__merge__: file_unintegrated.yaml
1717
required: true
1818
direction: input
19-
- name: --input_validation
20-
__merge__: file_validation.yaml
19+
- name: --output_integrated_left
20+
__merge__: file_integrated.yaml
2121
required: true
22-
direction: input
23-
- name: --output
22+
direction: output
23+
- name: --output_integrated_right
2424
__merge__: file_integrated.yaml
2525
required: true
2626
direction: output

src/api/file_validation.yaml

Lines changed: 0 additions & 117 deletions
This file was deleted.

src/workflows/process_datasets/config.vsh.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ argument_groups:
1010
required: true
1111
- name: Outputs
1212
arguments:
13-
- name: "--output_unintegrated_censored"
14-
__merge__: /src/api/file_unintegrated_censored.yaml
13+
- name: "--output_censored_left"
14+
__merge__: /src/api/file_censored.yaml
1515
direction: output
1616
required: true
17-
- name: "--output_unintegrated"
18-
__merge__: /src/api/file_unintegrated.yaml
17+
- name: "--output_censored_right"
18+
__merge__: /src/api/file_censored.yaml
1919
direction: output
2020
required: true
21-
- name: "--output_validation"
22-
__merge__: /src/api/file_validation.yaml
21+
- name: "--output_unintegrated"
22+
__merge__: /src/api/file_unintegrated.yaml
2323
direction: output
2424
required: true
2525

src/workflows/run_benchmark/config.vsh.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ namespace: workflows
33
argument_groups:
44
- name: Inputs
55
arguments:
6-
- name: "--input_unintegrated_censored"
7-
__merge__: /src/api/file_unintegrated_censored.yaml
6+
- name: "--input_censored_left"
7+
__merge__: /src/api/file_censored.yaml
88
type: file
99
direction: input
1010
required: true
11-
- name: "--input_unintegrated"
12-
__merge__: /src/api/file_unintegrated.yaml
11+
- name: "--input_censored_right"
12+
__merge__: /src/api/file_censored.yaml
1313
type: file
1414
direction: input
1515
required: true
16-
- name: "--input_validation"
17-
__merge__: /src/api/file_validation.yaml
16+
- name: "--input_unintegrated"
17+
__merge__: /src/api/file_unintegrated.yaml
1818
type: file
1919
direction: input
2020
required: true

0 commit comments

Comments
 (0)