|
2 | 2 |
|
3 | 3 | This directory contains tool and workflow definitions in CWL. Tests scripts and data go into the Tests and Data directory. |
4 | 4 |
|
5 | | -Running tests: |
6 | | -Download large reference files |
| 5 | + |
| 6 | + |
| 7 | +## Main workflows |
| 8 | + |
| 9 | +- amplicon |
| 10 | + - amplicon-fasta.workflow.yaml |
| 11 | + - amplicon-fastq.workflow.yaml |
| 12 | +- assembled |
| 13 | + - assembled.workflow.cwl |
| 14 | +- metabarcode |
| 15 | + - metabarcode-fasta.workflow.cwl |
| 16 | + - metabarcode-fastq.workflow.cwl |
| 17 | +- wgs |
| 18 | + - wgs-fasta.workflow.cwl |
| 19 | + - wgs-fastq.job.yaml |
| 20 | + - wgs-noscreen-fasta.workflow.cwl |
| 21 | + - wgs-noscreen-fastq.job.yaml |
| 22 | + |
| 23 | +## Running tests |
| 24 | + |
| 25 | +1. Download large reference files for tests and pipeline: |
7 | 26 | ```bash |
8 | | -bash CWL/Inputs/DBs/getpredata.sh |
| 27 | +CWL/Inputs/DBs/getpredata.sh |
9 | 28 | ``` |
10 | 29 |
|
11 | | -Working commands |
| 30 | + |
| 31 | +## Working commands |
12 | 32 | ```bash |
13 | 33 | cwltool --cachedir .cache2 --no-match-user amplicon-fasta.workflow.cwl amplicon-fasta.job.yaml |
14 | 34 | cwltool --cachedir .cache2 --no-match-user amplicon-fastq.workflow.cwl amplicon-fastq.job.yaml |
15 | 35 |
|
16 | 36 | ``` |
17 | 37 |
|
18 | 38 |
|
19 | | -To check: |
20 | | -assembled.workflow.cwl assembled.job.yaml |
21 | | -metabarcode-fasta.workflow.cwl metabarcode-fasta.job.yaml |
22 | | -metabarcode-fastq.workflow.cwl metabarcode-fastq.job.yaml |
23 | | -wgs-fasta.workflow.cwl wgs-fasta.job.yaml |
24 | | - |
25 | | - |
26 | | -Errors: |
27 | | -wgs-fastq.workflow.cwl wgs-fastq.job.yaml |
28 | | -and |
29 | | -wgs-fasta.workflow.cwl wgs-fasta.job.yaml |
30 | 39 |
|
31 | | -Traceback (most recent call last): |
32 | | - File "/usr/local/bin/seqUtil", line 372, in <module> |
33 | | - subset_seqs(opts.input, opts.list, opts.out, opts.check, opts.minimum) |
34 | | - File "/usr/local/bin/seqUtil", line 224, in subset_seqs |
35 | | - if len(record.seq) < minimum: |
36 | | -NameError: global name 'record' is not defined |
37 | 40 |
|
38 | 41 |
|
0 commit comments