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

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