File tree 1 file changed +46
-9
lines changed
1 file changed +46
-9
lines changed Original file line number Diff line number Diff line change 5
5
# Version: v0.1
6
6
name : clustal
7
7
# See http://www.sublimetext.com/docs/3/syntax.html
8
- file_extensions : [clustal]
8
+ file_extensions : [clustal,aln ]
9
9
scope : text.clustal
10
10
11
11
contexts :
@@ -18,24 +18,61 @@ contexts:
18
18
- match : " /[0-9]*-[0-9]*" # Optional sequence range
19
19
scope : chrStart
20
20
21
- - match : " ^[\\ w\\ .\\ -\\ _ ]*(?=[/ ])"
21
+ - match : " ^[\\ w\\ .\\ -\\ _]*(?=[/ ])" # Spaces not allowed in seqname
22
22
scope : string
23
23
24
- # match Adenosine
24
+ # Optional trailing numeric
25
+ - match : " [0-9]+$"
26
+ scope : chrStart
27
+
28
+ # Optional: Conservation
29
+ - match : " \\ *++"
30
+ scope : null
31
+
32
+ - match : " \\ :++"
33
+ scope : gradbw5
34
+
35
+ - match : " \\ .++"
36
+ scope : gradbw5
37
+
38
+
39
+ # match Adenosine
25
40
- match : " [Aa]++"
26
41
scope : ntA
27
- # match Cytidine
42
+ # match Cytidine
28
43
- match : " [Cc]++"
29
44
scope : ntC
30
- # match Guanine
45
+ # match Guanine
31
46
- match : " [Gg]++"
32
47
scope : ntG
33
- # match Thymidine/Uridine
48
+ # match Thymidine/Uridine
34
49
- match : " [TtUu]++"
35
50
scope : ntT
36
- # aNy or unknown (X)
51
+ # aNy or unknown (X)
37
52
- match : " [NnXx]++"
38
53
scope : ntN
39
- # indel
40
- - match : " - "
54
+ # indel
55
+ - match : " [-]++ "
41
56
scope : ntGap
57
+
58
+ # Match Extended Nucleotides
59
+ - match : " [Rr]++"
60
+ scope : ntR
61
+ - match : " [Yy]++"
62
+ scope : ntY
63
+ - match : " [Ss]++"
64
+ scope : ntS
65
+ - match : " [Ww]++"
66
+ scope : ntW
67
+ - match : " [Mm]++"
68
+ scope : ntM
69
+ - match : " [Kk]++"
70
+ scope : ntK
71
+ - match : " [Dd]++"
72
+ scope : ntD
73
+ - match : " [Bb]++"
74
+ scope : ntB
75
+ - match : " [Vv]++"
76
+ scope : ntV
77
+ - match : " [Hh]++"
78
+ scope : ntH
You can’t perform that action at this time.
0 commit comments