| 1 |
%YAML 1.2 |
| 2 |
--- |
| 3 |
# Fasta-Nucleotides syntax highlighting file |
| 4 |
# Maintainer: bioSyntax.org |
| 5 |
# Version: v0.1 |
| 6 |
name: fasta |
| 7 |
# See http://www.sublimetext.com/docs/3/syntax.html |
| 8 |
file_extensions: [.fasta,.fa,.fas,.mfa] |
| 9 |
scope: text.fasta |
| 10 |
|
| 11 |
|
| 12 |
contexts: |
| 13 |
main: |
| 14 |
# Fasta Header |
| 15 |
- match: "^>.*" |
| 16 |
scope: header |
| 17 |
|
| 18 |
# Match Nucleotides |
| 19 |
# match Adenosine |
| 20 |
- match: "[Aa]++" |
| 21 |
scope: ntA |
| 22 |
|
| 23 |
# match Cytidine |
| 24 |
- match: "[Cc]++" |
| 25 |
scope: ntC |
| 26 |
|
| 27 |
# match Guanine |
| 28 |
- match: "[Gg]++" |
| 29 |
scope: ntG |
| 30 |
|
| 31 |
# match Thymidine |
| 32 |
- match: "[Tt]++" |
| 33 |
scope: ntT |
| 34 |
|
| 35 |
# match Uridine |
| 36 |
- match: "[Uu]++" |
| 37 |
scope: ntU |
| 38 |
|
| 39 |
# match aNy or unknown (X) |
| 40 |
- match: "[NnXx]++" |
| 41 |
scope: ntN |
| 42 |
|
| 43 |
# indel |
| 44 |
- match: "[-]" |
| 45 |
scope: ntGap |
| 46 |
|
| 47 |
# Match Extended Nucleotides |
| 48 |
- match: "[Rr]++" |
| 49 |
scope: ntR |
| 50 |
- match: "[Yy]++" |
| 51 |
scope: ntY |
| 52 |
- match: "[Ss]++" |
| 53 |
scope: ntS |
| 54 |
- match: "[Ww]++" |
| 55 |
scope: ntW |
| 56 |
- match: "[Mm]++" |
| 57 |
scope: ntM |
| 58 |
- match: "[Kk]++" |
| 59 |
scope: ntK |
| 60 |
- match: "[Dd]++" |
| 61 |
scope: ntD |
| 62 |
- match: "[Bb]++" |
| 63 |
scope: ntB |
| 64 |
- match: "[Vv]++" |
| 65 |
scope: ntV |
| 66 |
- match: "[Hh]++" |
| 67 |
scope: ntH |
| 68 |
|