-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfasta.sublime-syntax
68 lines (57 loc) · 1.15 KB
/
fasta.sublime-syntax
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%YAML 1.2
---
# Fasta-Nucleotides syntax highlighting file
# Maintainer: bioSyntax.org
# Version: v0.1
name: fasta
# See http://www.sublimetext.com/docs/3/syntax.html
file_extensions: [.fasta,.fa,.fas,.mfa]
scope: text.fasta
contexts:
main:
# Fasta Header
- match: "^>.*"
scope: header
# Match Nucleotides
# match Adenosine
- match: "[Aa]++"
scope: ntA
# match Cytidine
- match: "[Cc]++"
scope: ntC
# match Guanine
- match: "[Gg]++"
scope: ntG
# match Thymidine
- match: "[Tt]++"
scope: ntT
# match Uridine
- match: "[Uu]++"
scope: ntU
# match aNy or unknown (X)
- match: "[NnXx]++"
scope: ntN
# indel
- match: "[-]"
scope: ntGap
# Match Extended Nucleotides
- match: "[Rr]++"
scope: ntR
- match: "[Yy]++"
scope: ntY
- match: "[Ss]++"
scope: ntS
- match: "[Ww]++"
scope: ntW
- match: "[Mm]++"
scope: ntM
- match: "[Kk]++"
scope: ntK
- match: "[Dd]++"
scope: ntD
- match: "[Bb]++"
scope: ntB
- match: "[Vv]++"
scope: ntV
- match: "[Hh]++"
scope: ntH