forked from bioSyntax/bioSyntax-sublime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfasta-nt.sublime-syntax
More file actions
47 lines (37 loc) · 831 Bytes
/
fasta-nt.sublime-syntax
File metadata and controls
47 lines (37 loc) · 831 Bytes
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
%YAML 1.2
---
# Fasta-Nucleotides syntax highlighting file
# Maintainer: bioSyntax.org
# Version: v0.1
name: fasta-nt
# See http://www.sublimetext.com/docs/3/syntax.html
file_extensions: []
scope: text.fasta-nt
contexts:
main:
#positive lookbehind to match a + and a new line to any characters right after it
#pushes it to quality
- match: "^>.*"
scope: string
# Match basic 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