ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

FASTA

by Heyu Lin ALL

Sublime Text syntax package for FASTA format

Details

Installs

  • Total 75
  • Win 39
  • Mac 31
  • Linux 5
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-fasta-syntax

Let Sublime Text know better of FastA format.

FastA format is a commonly used text-based format for representing biological sequence data, such as DNA or protein sequences. It consists of a single-line sequence header, which begins with a > character, followed by one or more lines of sequence data. The header typically contains information about the sequence, such as its name or source organism. FastA format is widely supported by bioinformatics software and databases and is often used for tasks such as sequence alignment and database searching.

🤩Install the package using Package Control

If you haven't installed Package Control, install it first…

  1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (OS X) to open the Command Palette
  2. Type Install Package Control and press Enter to select it.
  3. Wait for a while for the installation to finish

Then install the FastA package

  1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (OS X) to open the Command Palette
  2. Type Install Package and select Package Control: Install Package from the palette
  3. Type fasta to find this package and click it to install

🦾Manual Installation

Tested on Sublime Text 4

Download the syntax file

Download the fasta.sublime-syntax and put it in the Sublime Text user folder: - Windows: %APPDATA%\Sublime Text\Packages\User - Mac: ~/Library/Application Support/Sublime Text/Packages/User - Linux: ~/.config/sublime-text/Packages/User

Applying syntax

The application should automatically recognize files in extensions fa, fasta, faa, fna, ffn, or fas.

If the syntax is not applied automatically accidentally, you can specify the syntax by either: - click menu -> View -> Syntax -> FastA - click 'plain text' at the bottom right -> FastA

change syntax

Note

This is a Syntax which helps Sublime Text understand the composition of the FastA format, not a Theme or a Color Scheme. The color of the keywords is specified according to the Color Scheme which you can select by menu -> Preferences -> Select Color Scheme...

change color scheme

Samples

A few examples of this syntax working with several built-in color schemes: 1. Monokai Monokai 2. Sixteen Sixteen 3. Mariana Mariana 4. Celeste Celeste