Skip to content

Commit 355b90a

Browse files
authored
Merge pull request #609 from MG-RAST/wilke/seqUtil
Wilke/seq util
2 parents 55c9da7 + 786ea5a commit 355b90a

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

CWL/README.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,40 @@
22

33
This directory contains tool and workflow definitions in CWL. Tests scripts and data go into the Tests and Data directory.
44

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:
726
```bash
8-
bash CWL/Inputs/DBs/getpredata.sh
27+
CWL/Inputs/DBs/getpredata.sh
928
```
1029

11-
Working commands
30+
31+
## Working commands
1232
```bash
1333
cwltool --cachedir .cache2 --no-match-user amplicon-fasta.workflow.cwl amplicon-fasta.job.yaml
1434
cwltool --cachedir .cache2 --no-match-user amplicon-fastq.workflow.cwl amplicon-fastq.job.yaml
1535

1636
```
1737

1838

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
3039

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
3740

3841

0 commit comments

Comments
 (0)