Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit ddd49d1

Browse files
committed
MaskPrimers.py.cwl in progress
1 parent 1ddeb38 commit ddd49d1

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

tools/pRESTO/MaskPrimers.py.cwl

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
class: CommandLineTool
2+
id: MaskPrimers.py
3+
label: pRESTO MaskPrimers.py
4+
5+
description: |
6+
usage: MaskPrimers.py [-h] [-v] ...
7+
8+
Removes primers and annotates sequences with primer and barcode identifiers
9+
10+
optional arguments:
11+
-h, --help show this help message and exit
12+
-v, --version show program's version number and exit
13+
14+
subcommands:
15+
Alignment method
16+
align Find primer matches using pairwise local alignment
17+
score Find primer matches by scoring primers at a fixed position
18+
19+
output files:
20+
mask-pass processed reads with successful primer matches.
21+
mask-fail raw reads failing primer identification.
22+
23+
output annotation fields:
24+
SEQORIENT the orientation of the output sequence. Either F (input)
25+
or RC (reverse complement of input).
26+
PRIMER name of the best primer match.
27+
BARCODE the sequence preceding the primer match. Only output when
28+
the --barcode flag is specified.
29+
30+
requirements:
31+
32+
inputs:
33+
- id: "#subcommand"
34+
type: enum
35+
symbols: ["score", "align"]
36+
inputBinding:
37+
position: 0
38+
39+
- id: "#input_files"
40+
type: File
41+
inputBinding:
42+
prefix: "-s"
43+
44+
- id: "#primer_file"
45+
type: File
46+
inputBinding:
47+
prefix: "-p"
48+
49+
- id: "#mode"
50+
type: enum
51+
symbols: ["cut","mask","trim","tag"]
52+
inputBinding:
53+
prefix: "--mode"
54+
55+
- id: "#barcode"
56+
type: boolean
57+
inputBinding:
58+
prefix: "--barcode"
59+
60+
- id: "#start"
61+
type: int
62+
inputBinding:
63+
prefix: "--start"
64+
65+
- id: "#maxerror"
66+
type: float
67+
inputBinding:
68+
prefix: "--maxerror"
69+
70+
- id: "#nproc"
71+
type: int
72+
inputBinding:
73+
prefix: "--nproc"
74+
75+
- id: "#outname"
76+
type: string
77+
inputBinding:
78+
prefix: "--outname"
79+
80+
- id: "#outdir"
81+
type: string
82+
inputBinding:
83+
prefix: "--outdir"
84+
85+
- id: "#pipeline_log"
86+
type: string
87+
inputBinding:
88+
prefix: "--outdir"
89+
90+
- id: "#error_log"
91+
type: string
92+
inputBinding:
93+
prefix: "--outdir"
94+
95+
96+
outputs:
97+
- id: "#outputs"
98+
type:
99+
100+
# _primers-pass.fastq

0 commit comments

Comments
 (0)