Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cwl-graph-split causes some odd errors for a packed pipeline #286

Open
alexiswl opened this issue Feb 13, 2024 · 0 comments
Open

cwl-graph-split causes some odd errors for a packed pipeline #286

alexiswl opened this issue Feb 13, 2024 · 0 comments

Comments

@alexiswl
Copy link
Contributor

Steps to reproduce:

mkdir workflow

cwl-graph-split --outdir workflow --output-format yaml --pretty pipeline.cwl.json

Outputs

.
├── fastq-list-row__1.0.0.yaml
├── pipeline.cwl.json
└── workflow
    ├── custom-touch-file__1.0.0.cwl.cwl
    ├── dragen-germline__4.2.4.cwl.cwl
    ├── dragen-somatic__4.2.4.cwl.cwl
    ├── get-first-non-null-bam-file__1.0.0.cwl.cwl
    ├── multiqc__1.14.0.cwl.cwl
    └── unpacked_pipeline.cwl.json.cwl

I am unsure why the schema fastq-list-row__1.0.0.yaml is placed outside of the workflow directory

I also note that at line 110 of unpacked_pipeline.cwl.json.cwl it seems that the $import truncates the first character of the file to import

- class: "SchemaDefRequirement"
  "types":
  - "$import": "astq-list-row__1.0.0.yaml"

Should instead be

- class: "SchemaDefRequirement"
  "types":
  - "$import": "fastq-list-row__1.0.0.yaml"

Inputs Zip

pipeline.zip

Outputs zip

graph_split.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant