layout | date | title | comments | tags |
---|---|---|---|---|
post |
2014-04-28 10:21 |
Recap of my talk on 4/25/14 at CCTL |
true |
talks, nsf, science, math, evolution |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 99%] Building CXX object ui/CMakeFiles/rb-ui.dir/Users/chris/src/revbayes/src/ui/RbClient.cpp.o | |
In file included from /Users/chris/src/revbayes/src/ui/RbClient.cpp:1: | |
In file included from /Users/chris/src/revbayes/projects/cmake/../../src/ui/RbClient.h:8: | |
In file included from /Users/chris/src/revbayes/projects/cmake/../../src/libs/lineedit/EditorMachineObserver.h:11: | |
In file included from /Users/chris/src/revbayes/projects/cmake/../../src/libs/lineedit/EditorState.h:8: | |
/Users/chris/src/revbayes/projects/cmake/../../src/libs/lineedit/lineeditUtils.h:35:20: warning: implicit conversion | |
from 'const size_type' (aka 'const unsigned long') to 'int' changes value from 18446744073709551615 to -1 | |
[-Wconstant-conversion] | |
int rPos = std::string::npos, _rPos, tmpInt; | |
~~~~ ^~~~~~~~~~~~~~~~~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ids = ["148908191", "297793721", "48525513", "507118461"] | |
search_results = Entrez.read(Entrez.epost("protein", id=','.join(ids))) | |
webenv = search_results["WebEnv"] | |
query_key = search_results["QueryKey"] | |
print Entrez.read(Entrez.elink(webenv=webenv, | |
query_key=query_key, | |
dbfrom="protein", | |
db="taxonomy")) | |
print "-------" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir bash-fix | |
cd bash-fix | |
curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz --insecure | tar zxf - | |
cd bash-92/bash-3.2 | |
curl https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patches/bash32-052 --insecure | patch -p0 | |
cd .. | |
xcodebuild | |
sudo cp /bin/bash /bin/bash.old | |
sudo cp /bin/sh /bin/sh.old | |
build/Release/bash --version # GNU bash, version 3.2.52(1)-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:29933bf423b0f63d5ae9b0a7597a52fbd50ec1ac016b537876b45d0a0cf0dacc" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1000 19845 0.2 0.0 66732 3944 pts/26 Ss+ 17:12 0:00 /bin/sh -c /home/cfriedline/data7/src/ms/msdir/ms 1100 1 -t 5 -s 1 -F 55 -I 94 4 18 4 4 72 16 14 6 22 16 6 6 4 4 4 10 26 6 12 6 10 12 4 46 6 4 16 4 4 4 4 6 8 6 6 20 34 6 8 12 8 4 4 20 4 6 12 6 8 8 8 4 22 6 12 4 26 4 12 14 16 4 8 4 6 22 4 26 4 34 4 4 8 4 18 8 4 8 10 16 14 4 126 4 6 4 4 14 4 6 14 6 6 4 -ema 0.0 94 X 596.3 269.6 16.9 391.6 1000 406 1000 161.5 996.7 1000 32.1 244.6 449.6 1000 384.3 278.3 265.1 539.2 536.3 43.8 373 453.4 395.2 1000 106.3 135.7 1000 1000 216.1 79.7 187.3 1000 1000 481.3 1000 194.8 280.3 775 1000 510.7 1000 33 225.4 1000 69.7 95.7 46.5 877 43.1 107.9 1000 184.9 1000 459.9 1000 389.1 242.3 251.1 40 592.5 588.5 430.5 56.7 39.9 1000 637.6 283.2 239.1 249.3 399.3 43.9 30.3 322.3 479.6 315.8 93.4 1000 1000 182.5 125 148 527.7 71.6 177.1 54.4 201.5 1000 1000 1000 1000 17.9 73 1000 596.3 X 230.1 28.5 895.6 1000 1000 371 446.6 1000 910.8 49.8 258.6 325 1000 504.4 179.2 1000 254.7 831.2 53.9 880.7 1000 973.9 1000 419.2 349.6 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run this look, manually filling in exclude when it hangs | |
exclude = set([636, 640, 648, 741]) | |
for x in xrange(len(rc)): | |
if not x in exclude: | |
print x, rc[x].apply(os.getpid).r | |
#given the manual exclude from above, redefine dview and lview based on active targets | |
exclude = set([636, 640, 648, 741]) | |
active = [] | |
for i in xrange(len(rc)): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = np.zeros((rows, cols), dtype=np.int16) | |
index = 0 | |
for line in open("ms.txt"): | |
print "at %d/%d" % (index, rows) | |
if index > 0: | |
data[index] = line.split("\t") | |
index += 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.