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

Output in Kallisto-quant not working #156

Open
Brilator opened this issue Jun 19, 2024 · 3 comments
Open

Output in Kallisto-quant not working #156

Brilator opened this issue Jun 19, 2024 · 3 comments

Comments

@Brilator
Copy link

Brilator commented Jun 19, 2024

Hi, I've tested the Kallisto-Quant.cwl with

InputReads:
    - class: File
      path: ../../rnaseq/sample1-1.fastq.gz
    - class: File
      path: ../../rnaseq/sample1-2.fastq.gz
Index:
  class: File
  path: ../../kallisto-index-biocwl/output/Fbid
isSingle: true  
FragmentLength: 200
StandardDeviation: 20  
BootstrapSamples: 0
PseudoBam: false

Unfortunately the output is not wired properly.

("Error collecting output for parameter 'quantification_h5': Kallisto-Quant.cwl:129:7: Did not find output file with glob pattern: ['out/abundances.h5'].", {})

I am new to CWL, so not sure how to fix and PR.

@Brilator
Copy link
Author

Also, for the fusions output (l 146), it should probably say glob: "out/fusion.txt" instead of glob: "fusion.txt"

@Brilator Brilator changed the title out in Kallisto-quant Output in Kallisto-quant not working Jun 19, 2024
@mr-c
Copy link
Member

mr-c commented Jun 19, 2024

Thank you @Brilator for reporting this!

If you are running with cwltool, try cwtool --cachedir cache Kallisto-Quant.cwl my_inputs.yml or similar, then check the directory cache and there will be all the files; maybe that will help you suggest a better glob line for quantification_h5

@Brilator
Copy link
Author

Thanks, I did that.

For me, adding another input string for the output folder and completely yielding that as output worked.

  QuantOutfolder: 
    type: string

outputs:

#   quantification_h5:
#     type: File
#     outputBinding:
#       glob: out/abundances.h5

# # Long form method for defining optional outputs

#   quantification_tsv:
#     type: File
#     outputBinding:
#       glob: out/abundances.tsv

#   bam:
#     type: ["null", File]
#     outputBinding:
#       glob: "out/*.bam"

#   fusions:
#     type: ["null", File]
#     outputBinding:
#       glob: "fusion.txt"

  outFolder:
    type: Directory
    outputBinding:
      glob: $(runtime.outdir)/$(inputs.QuantOutfolder)

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

2 participants