Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UNLOCK
cwl
Commits
934bf3f2
Commit
934bf3f2
authored
May 17, 2022
by
Nijsse, Bart
Browse files
new combined and more complete table of bins
parent
22425219
Changes
1
Hide whitespace changes
Inline
Side-by-side
cwl/metagenomics/bin_assembly_stats.cwl
View file @
934bf3f2
...
...
@@ -10,35 +10,60 @@ doc: |
+ table of the bins and their respective assembly contigs names.
requirements:
- class: InlineJavascriptRequirement
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- entry: "$({class: 'Directory', listing: []})"
entryname: "Bins summary table"
writable: true
- entryname: script.sh
entry: |-
#!/bin/bash
source /unlock/infrastructure/venv/bin/activate
python3 /unlock/infrastructure/binaries/scripts/metagenomics/bins_summary.py $@
baseCommand: ["bash", "script.sh"] # see requirements
inputs:
identifier:
type: string
doc: Identifier for this dataset used in this workflow
label: identifier used
label: identifier used
bin_dir:
type: Directory
doc: folder containing bins in fasta format from metagenomic binning
label: bins folder
doc: Directory containing bins in fasta format from metagenomic binning
label: Bins directory
inputBinding:
prefix: "--bin_dir"
bin_depths:
type: File
doc: MetaBAT2 aggregateDepths file
label: bin depths
inputBinding:
prefix: "--bin_depths"
busco_dir:
type: Directory
doc: Directory containing BUSCO reports
label: BUSCO folder
inputBinding:
prefix: "--busco_dir"
checkm:
type: File
doc: CheckM report file
label: CheckM report
inputBinding:
prefix: "--checkm"
arguments:
- "$(inputs.bin_dir)"
baseCommand: [bash, "/unlock/infrastructure/binaries/scripts/metagenomics/bin_assembly_stats.sh"]
stdout: $(inputs.identifier)_binAssemblyStats.tsv
- prefix: "--output_file"
valueFrom: $(inputs.identifier)_bin_summary.tsv
outputs:
binStats:
type: File
outputBinding:
glob: $(inputs.identifier)_binAssemblyStats.tsv
binContigs:
bin_summary:
type: File
outputBinding:
glob:
binContigs
.tsv
glob:
$(inputs.identifier)_bin_summary
.tsv
s:author:
- class: s:Person
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment