Off topic:cwl for a Phyloseq command
0
0
Entering edit mode
7.5 years ago

Hi Michael! I have an R script that takes as input 3 files namely an OTU file, a map and a tree and generates a set of reports in the folder output and test.Rdata in current folder. At command line I call it as follows:

Rscript PhyloseqReport.R otus.tax.biom dog_stool_samples_metadata.tsv otus.tre output test.Rdata

I have started the following cwl script:

#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
inputs:
otuFile:
  type: File
  inputBinding:
    position: 1
mapFile:
  type: File
  inputBinding:
    position: 2
tre:
  type: File
  inputBinding:
    position: 3

baseCommand: [ Rscript, PhyloSeqReport.R, "results.Rdata" ]

outputs:
  results:
    type: File
    outputBinding:
      glob: results.Rdata

How do I capture the fact that the set of reports generated should go in folder output?

Thank you.

Shakun

cwl Phyloseq R • 1.7k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2874 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6