sponsor Vim development Vim logo Vim Book Ad

dna.vim : Helps visually parse DNA sequences and common sequencing files (BAM, PAF, FA)

 script karma  Rating 0/0, Downloaded by 14  Comments, bugs, improvements  Vim wiki

created by
Megan Le
 
script type
syntax
 
description
Most up-to-date version: https://github.com/mktle/dna.vim

This script helps parse commonly used sequencing files (SAM/BAM/PAF/GAF/GFA/FA/FQ... or anything with a DNA sequence) through syntax highlighting and helptext.

1) The characters A/C/G/T are colored (consistent with IGV colors)
2) Using the commands :SAM, :BAM, :GAF, or :PAF in their respective files will tell you the description of the field your cursor is hovering over (with flag decoding for SAM/BAM flags)
3) Operation blocks within CIGAR strings are colored separately from each other
4) Sequence names in FASTA/FASTQ files are colored
 
install details
Add the script to ~/.vim/plugin/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
dna.vim 1.0 2025-05-30 7.0 Megan Le Initial upload
ip used for rating: 216.73.216.199

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github