Debian Codegraph @

sublime/flagstat.sublime-syntax

raw
1 %YAML 1.2
2 ---
3 # Flagstat syntax highlighting file
4 # Maintainer: bioSyntax.org
5 # Version: v0.1
6 name: flagstat
7 file_extensions: [flagstat]
8 scope: text.flagstat
9
10 contexts:
11 main:
12 # QC-passed Reads
13 - match: 'QC-passed reads'
14 scope: numeric
15 - match: '^\d+'
16 scope: numeric
17 - match: '[\d\.]+%(?=:)'
18 scope: numeric
19 - match: '-?nan%(?=:)'
20 scope: numeric
21
22 # QC-failed Reads
23 - match: 'QC-failed reads'
24 scope: numeric2
25 - match: '(?<=\+) \d+'
26 scope: numeric2
27 - match: '(?<=:)[\d\.]+%'
28 scope: numeric2
29 - match: '(?<=:)-?nan%'
30 scope: numeric2
31
32 # Match Keywords
33 - match: 'mapQ>=\d+'
34 scope: string
35