Skip to content

Commit

Permalink
mostly working new summary and dynamic Krona install
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ondov committed Oct 19, 2012
1 parent b8b4e7f commit 3ba5173
Show file tree
Hide file tree
Showing 22 changed files with 635 additions and 9,623 deletions.
24 changes: 24 additions & 0 deletions INSTALL.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
OSTYPE="Linux"
OSVERSION="1"
MACHINETYPE="x86_64"
kronaTools = "KronaTools-2.2"

#identify machine type
p = subprocess.Popen("echo `uname`", shell=True, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Expand Down Expand Up @@ -230,6 +231,29 @@
os.system("cd wgs-7.0/src && gmake")
os.system("mv wgs-7.0 CA")

if not os.path.exists("KronaTools") or 0:
print "KronaTools not found, needed for Postprocess, download now?"
if silentInstall:
dl = 'y'
else:
dl = raw_input("Enter Y/N: ")
if dl == 'y' or dl == 'Y':
# TODO: KronaTools should be on the FTP site for robustness to URL changes
os.system("wget http://downloads.sourceforge.net/project/krona/KronaTools%20%28Mac%2C%20Linux%29/" + kronaTools + ".tar?r=&ts=1350316432&use_mirror=superb-dca3")
os.system("tar -xvf %s.tar"%(kronaTools))
os.system("rm -rf %s.tar"%(kronaTools))
os.system("cd %s && ./install.pl --prefix=."%(kronaTools))
os.system("mv %s KronaTools"%(kronaTools))

if not os.path.exists("KronaTools/taxonomy/taxonomy.tab") or 0:
print "KronaTools taxonomy data not found, needed for Postprocess, download now (will take around 20 minutes)?"
if silentInstall:
dl = 'y'
else:
dl = raw_input("Enter Y/N: ")
if dl == 'y' or dl == 'Y':
os.system("cd KronaTools && ./updateTaxonomy.sh")

# make sure we have setuptools available
sys.path.append(sys.path[0] + os.sep + "Utilities" + os.sep + "python")
from get_setuptools import use_setuptools
Expand Down
19 changes: 19 additions & 0 deletions Utilities/javascript/Assemble.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<style>

#bigPicture
{
width:100%;
height:100%;
background:url(ContigSizes.png);
background-size:contain;
background-repeat:no-repeat;
background-position:center;
}
</style>
</head>

<body style="margin:0px">
<div id="bigPicture">
</div>
</body>
19 changes: 19 additions & 0 deletions Utilities/javascript/FindORFs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<style>

#bigPicture
{
width:100%;
height:100%;
background:url(ORFSizes.png);
background-size:contain;
background-repeat:no-repeat;
background-position:center;
}
</style>
</head>

<body style="margin:0px">
<div id="bigPicture">
</div>
</body>
19 changes: 19 additions & 0 deletions Utilities/javascript/FindScaffoldORFs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<style>

#bigPicture
{
width:100%;
height:100%;
background:url(SCFORFSizes.png);
background-size:contain;
background-repeat:no-repeat;
background-position:center;
}
</style>
</head>

<body style="margin:0px">
<div id="bigPicture">
</div>
</body>
19 changes: 19 additions & 0 deletions Utilities/javascript/Scaffold.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<style>

#bigPicture
{
width:100%;
height:100%;
background:url(ScaffoldSizes.png);
background-size:contain;
background-repeat:no-repeat;
background-position:center;
}
</style>
</head>

<body style="margin:0px">
<div id="bigPicture">
</div>
</body>
4 changes: 0 additions & 4 deletions Utilities/javascript/abundance.js

This file was deleted.

4 changes: 0 additions & 4 deletions Utilities/javascript/annotate.js

This file was deleted.

1 change: 0 additions & 1 deletion Utilities/javascript/assemble.js

This file was deleted.

1 change: 0 additions & 1 deletion Utilities/javascript/findorfs.js

This file was deleted.

1 change: 0 additions & 1 deletion Utilities/javascript/findscaffoldorfs.js

This file was deleted.

Loading

0 comments on commit 3ba5173

Please sign in to comment.