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