galaxyproject / galaxyproject/iwc
Connection Validation Failures
- Dominant language
- Vue
- Stars
- 57
- Forks
- 97
- Avg merge
- 5d 7h
- Merged PRs (30d)
- 17
Description
2 workflows out of 120 have invalid connections. I - the human for a change - have validated these automated findings manually by importing the workflows into usegalaxy.org and inspecting them in the workflow editor. In both cases inputs in the outer workflow annotated as `list` inputs are connected to a subworkflow called "Test if collection has only one item or is empty" that has a ``list:paired`` input.
Seems like a Galaxy bug that the editor doesn't flag this - I'll track that down separately but the data issue is here.
The AI Summary:
## 1. VGP hi-c-contact-map: `list` fed to `list:paired` subworkflow input
**Path:** `workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation.ga`
```
step 14 (data_collection_input) step 24 (subworkflow)
label: "PacBio reads" inner step 0 (data_collection_input)
collection_type: list collection_type: list:paired
| ^
+--- output -----> 0:Input dataset collection
list ≠ list:paired ← INVALID
```
**Diagnosis:** The workflow input declares `collection_type: "list"` but the subworkflow's inner input expects `list:paired`. A flat list cannot satisfy a paired requirement — the inner paired structure is missing.
## 2. VGP kmer-profiling: `list` fed to `list:paired` subworkflow input
**Path:** `workflows/VGP-assembly-v2/kmer-profiling-hifi-VGP1/kmer-profiling-hifi-VGP1.ga`
```
step 2 (data_collection_input) step 7 (subworkflow)
label: "Collection of Pacbio Data" inner step 0 (data_collection_input)
collection_type: list collection_type: list:paired
| ^
+--- output -----> 0:Input dataset collection
list ≠ list:paired ← INVALID
```
**Diagnosis:** Same issue as #1. Outer input is `list`, inner subworkflow expects `list:paired`. Should be `list:paired` on the outer input.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with workflows/VGP-assembly-v2/hi-c-contact-map-for-assembly-manual-curation/hi-c-map-for-assembly-manual-curation.ga and workflows/VGP-assembly-v2/kmer-profiling-hifi-VGP1/kmer-profiling-hifi-VGP1.ga. Inspect the named outer inputs and subworkflow connections, then import both workflows into usegalaxy.org for validation. Done means the outer collection types satisfy the subworkflow inputs and both workflows validate successfully.
Written by the indexing model from the issue text.
Assessment
- Domain
- bioinformatics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100