-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_roary
executable file
·43 lines (38 loc) · 1.18 KB
/
_roary
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#compdef roary
_roary(){
local ret=1
local -a args
if (( words[(I)-e] )); then
args+=('-n[fast core gene alignment with MAFFT]')
fi
if (( words[(I)-qc] )); then
args+=('-k[path to Kraken database for QC]:file:_files')
fi
args+=(
'(- *)-a[check dependencies and exit]'
'-b[blastp executable]:file:_files'
'-c[mcl executable]:file:_files'
'-cd[percentage of isolates a gene must be in to be core]:float:'
'-d[mcxdeblast executable]:file:_files'
'-g[maximum number of clusters]:int:'
'(- *)-h[help message]'
'-i[minimum percentage identity for blastp]:number:'
'(-y)-e[create a multiFASTA alignment of core genes using PRANK]'
'-f[output directory]:dir:_files -/'
'-m[makeblastdb executable]:file:_files'
'-o[clusters output filename]:file:_files'
'-p[number of threads]:int:'
'-qc[generate QC report with Kraken]'
'-r[create R plots, requires R and ggplot2]'
'-s[dont split paralogs]'
'-t[translation table]:int:'
'-z[dont delete intermediate files]'
'-v[verbose output to STDOUT]'
'(- *)-w[print version and exit]'
'-y[add gene inference information to spreadsheet]'
'*::file:_files -g \*.gff'
)
_arguments $args[@] && ret=0
return ret
}
_roary