DNA Tools
A lightweight Sublime Text plugin for manipulating DNA sequences directly in the editor.
Details
Installs
- Total 6
- Win 4
- Mac 1
- Linux 1
Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
Mac | 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 | 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 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
DNA Tools for Sublime Text
A lightweight Sublime Text ¾ plugin for manipulating DNA sequences directly in the editor. Includes support for IUPAC ambiguity codes.
Somehow it seems this doesn't yet exist, and I frequently wish it did. So here we are. If there are more tools I need, I'll add them.
Features
- Reverse Complement: Reverses and complements selected DNA sequences
- Complement Only: Applies IUPAC complement rules without reversing
- Reverse Only: Simply reverses the selected text
Supports both uppercase and lowercase bases, including ambiguous bases like R
, Y
, W
, S
, N
, etc.
IUPAC Complement Rules
Base | Complement |
---|---|
A | T |
T | A |
C | G |
G | C |
R | Y |
Y | R |
S | S |
W | W |
K | M |
M | K |
B | V |
D | H |
H | D |
V | B |
N | N |
Installation
Manual Install
- Open
Preferences → Browse Packages…
- Clone this repo into the
User/
directory:
git clone https://github.com/donutbrew/sublime-dna-tools.git "DNA Tools"
---
## Usage
Highlight any DNA sequence in your Sublime editor, then:
### Command Palette
Press `Ctrl+Shift+P` / `Cmd+Shift+P` and type:
- `DNA Tools: Reverse Complement`
- `DNA Tools: Complement Only`
- `DNA Tools: Reverse Only`
### Optional Keybindings
To bind to hotkeys, open `Preferences > Key Bindings` and add:
```json
[
{ "keys": ["ctrl+alt+r"], "command": "reverse_complement" },
{ "keys": ["ctrl+alt+c"], "command": "complement_only" },
{ "keys": ["ctrl+alt+e"], "command": "reverse_only" }
]