Giter Site home page Giter Site logo

vim-paml's Introduction

Syntax highlighting for PAML control files

The programs from the PAML package by Ziheng Yang (1997, 2004) use a common input file format, containing parameters:

It's basically a list of key = value, and comments starts with an asterisk *:

Here is an short exerpt suited for the codeml program:

seqfile = myalignment.phy
treefile = mytree.nwk
model = 0  * possible values: 0: one omega for the tree; 1: one omega per branch (free-ratio model)

Parameter names described in PAML's manual are highlighted, and comments recognized as such.

Warning

The autodetection of the filetype works for all files with .ctl extension. I don't use this extension for another purpose but if you do, modify accordingly the ftdetect/PAML.vim commands.

Installing

I personally use Tim Pope's Pathogen as my plugin manager (and recommend it).

With Pathogen, simply clone this repository inside ~/.vim/bundle/.

Disclaimer

Likely buggy, but it fits my needs so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.