dna.vim : Helps parse DNA sequences and common sequencing files (BAM, PAF, FA, etc.)
| script karma |
Rating 0/2,
Downloaded by 156 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Megan Le |
| |
| script type |
| syntax |
| |
| description |
Repository/screenshots: 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.
- ACGTUN are colored (consistent with IGV colors)
- using :SAM, :BAM, :GAF, or :PAF in their respective files will print the description of the field your cursor is hovering over (with flag decoding for SAM/BAM flags)
- operation blocks within CIGAR strings are colored separately from each other
- using :Phred will decode the Phred score of the hovered character (e.g., using it on a D will print "D is score 35, 0.0003 probability of error")
- sequence names in FASTA/FASTQ files are colored
- tags in alignment files are colored |
| |
| install details |
| Add the script to ~/.vim/plugin/ |
| |
script versions (upload new version)
Click on the package to download.
| dna.vim |
1.1 |
2025-06-13 |
7.0 |
Megan Le |
add field helptext, flag/Phred decoding, and file-specific highlighting |
ip used for rating: 216.73.216.4
|