File size: 3,040 Bytes
086f82d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "schema": "paper-execution-v1",
  "task_id": "exec-step_choice_0077",
  "task_version": 1,
  "source_case_id": "step_choice_0077",
  "module": "step_choice",
  "original_context": {
    "workflow_id": "StergachisLab-IsoSeq_smk-7cd44f3",
    "completed_step_ids": [
      "step_01_merge_prepare"
    ],
    "allowed_step_ids": [
      "step_01_merge_prepare",
      "step_02_haplotagging",
      "step_03_per_individual_isoseq"
    ],
    "ready_steps": [
      {
        "id": "step_01_merge_prepare",
        "name": "Step 01 Merge Prepare",
        "description": "Merges per-condition FLNC BAM inputs, applies optional downsampling, and labels reads before haplotagging.",
        "depends_on": [],
        "inputs": [
          "Configured FLNC BAM inputs from config[\"individuals\"]."
        ],
        "outputs": [
          "expand(\"merged/{individual}_{condition}_{label}_labeled.bam\", zip, **combinations_dict),"
        ],
        "orchestration_reason": "Design-generated challenge candidate from workflow step metadata."
      },
      {
        "id": "step_02_haplotagging",
        "name": "Step 02 Haplotagging",
        "description": "Aligns labeled BAMs, normalizes phased VCF inputs, haplotags reads, and extracts haplotype tables.",
        "depends_on": [
          "step_01_merge_prepare"
        ],
        "inputs": [
          "expand(\"merged/{individual}_{condition}_{label}_labeled.bam\", zip, **combinations_dict),"
        ],
        "outputs": [
          "expand(\"whatshap/{individual}_{condition}_{label}.haplotagged.bam\", zip, **combinations_dict),",
          "expand(\"whatshap/{individual}_{condition}_{label}.haplotagged.txt\", zip, **combinations_dict),"
        ],
        "orchestration_reason": "Design-generated challenge candidate from workflow step metadata."
      },
      {
        "id": "step_03_per_individual_isoseq",
        "name": "Step 03 Per Individual Isoseq",
        "description": "Combines haplotagged condition BAMs per individual, clusters transcripts, realigns them, and adds transcript labels.",
        "depends_on": [
          "step_02_haplotagging"
        ],
        "inputs": [
          "expand(\"merged/{individual}_{condition}_{label}_labeled.bam\", zip, **combinations_dict),"
        ],
        "outputs": [
          "expand(\"aligned/{individual}_aligned_labeled.bam\", individual=individuals),"
        ],
        "orchestration_reason": "Design-generated challenge candidate from workflow step metadata."
      }
    ]
  },
  "execution_request": "Inspect the supplied completed state and candidates. Select and execute the next justified analysis stage, preserving the requested objective and dependencies.",
  "output_contract": {
    "artifacts": [],
    "scope_description": null
  },
  "action_permissions": {
    "may_install": false,
    "network": "none",
    "inputs_readonly": true,
    "preserve_scientific_thresholds": true,
    "workspace_writable": true
  }
}