Usage#

patterncounter#

PatternCounter. This tool counts patterns from lists of sequences.

patterncounter [OPTIONS] COMMAND [ARGS]...

Options

--version#

Show the version and exit.

convert#

Convert spmf dictionary to sequence list.

patterncounter convert [OPTIONS]

Options

-l, --line-sep <line_sep>#

line separator

-i, --interval-sep <interval_sep>#

interval separator

-e, --element-sep <element_sep>#

element separator

-r, --remove <remove>#

remove elements that start with prefix

-f, --file <file>#

load input from file

-s, --stop-on-failures#

stop on failures

count#

Count patterns in file.

patterncounter count [OPTIONS] [PATTERN_DEFINITIONS]...

Options

-l, --line-sep <line_sep>#

line separator

-i, --interval-sep <interval_sep>#

interval separator

-e, --element-sep <element_sep>#

element separator

--in-prefix <in_prefix>#

prefix that is added to elements when they enter a slice

--out-prefix <out_prefix>#

prefix that is added to elements when they exit a slice

-z, --show-support-zero#

show rule when support is zero

-b, --hide-bindings#

hide bindings

-n, --line-number#

show line numbers

-t, --line-text#

show line text

-f, --file <file>#

load input from file

-c, --csv#

display result as csv

Arguments

PATTERN_DEFINITIONS#

Optional argument(s)

select#

Select lines from file.

patterncounter select [OPTIONS] [LINES]...

Options

-l, --line-sep <line_sep>#

line separator

-f, --file <file>#

load input from file

-n, --line-number#

show line numbers

Arguments

LINES#

Optional argument(s)

show#

Show sequence list with In and Out.

patterncounter show [OPTIONS]

Options

-l, --line-sep <line_sep>#

line separator

-i, --interval-sep <interval_sep>#

interval separator

-e, --element-sep <element_sep>#

element separator

--in-prefix <in_prefix>#

prefix that is added to elements when they enter a slice

--out-prefix <out_prefix>#

prefix that is added to elements when they exit a slice

-n, --line-number#

show line numbers

-f, --file <file>#

load input from file