If you get this error when trying to use the —home option when installing a custom Python module:
error: must supply either home or prefix/exec-prefix -- not both
then this might be because of default setting for prefix. This will work:
python setup.py install --home=~ --prefix=''
[The HMMER3 tblout format is] a whitespace delimited file for the first 18 fields on each line; everything after field 18 is free text target description. We parse this with awk, perl, sort, cut, join, and other tools.
—
Sean Eddy Therefore: don’t rely on the format of the table, it will break in some cases. Rather, split the lines with a regex or something.
So often people are working hard at the wrong thing. Working on the right thing is probably more important than working hard.
—
Caterina Fake, also pointing to Watson & Crick who discovered the structure of the DNA not working 24/7.
use Encode;
decode("utf8", $line, Encode::FB_HTMLCREF);
Genes do not respect disciplinary boundaries.
— Lawrence Hunter in his talk at
ISMB/ECCB 2009. Some genes that have been studied in certain clinical areas might be relevant in other areas as well, e.g. relaxin I.
You can predict the neural activity in your brain when you think about a word based on how that word is used on the web.
Doesn’t cover everything, but works for me:
find -name '*py' | xargs sed -i -e 's/maxlength/max_length/' -e 's/FloatField/DecimalField/'
(January|February|March|April|May|June|July|August|September|October|November|December) *([1-9]|[1-3][0-9]), *[12][0-9][0-9][0-9]|([1-9]|[1-3][0-9]) *(January|February|March|April|May|June|July|August|September|October|November|December) *[12][0-9][0-9][0-9]
This matches dates like:
12 October 1993
29 June 1982
31 March 2008
4 July 1980
April 21, 2008
February 12, 2007
March 31, 2008
May 27, 2002
November 16, 2006