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 48
  • Win 27
  • Mac 17
  • Linux 4
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Mac 0 0 1 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 0 1 0
Linux 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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