I like the idea of using an environment variable better than a --with. Sorry, I'm somewhat new to homebrew: if we use ENV['MAXKMERLENGTH'] in the formula, does that mean that either of the following commands would build with 63mers?

export MAXKMERLENGTH=63
brew install velvet

or

brew install velvet MAXKMERLENGTH=63


On Jan 24, 2013, at 9:51 AM, Samuel John <notifications@github.com> wrote:

> In velvet.rb:
> 
> > @@ -7,12 +7,27 @@ class Velvet < Formula
> >  
> >    head 'https://github.com/dzerbino/velvet.git'
> >  
> > +  option 'with-63mer', "Build with maximum kmer length of 63 instead of 31"
> Thanks. I find it strange that this is a build-time parameter and not run-time.
> For best flexibility, I could think of additionally using the env var ENV['MAXKMERLENGTH'] if it is set.
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>