Commit 25820077 by Eric Coissac

Last fixes for new version 0.1.1b1

parent b9f21456
0.1.0b3 0.1.1b1
\ No newline at end of file \ No newline at end of file
...@@ -8,7 +8,7 @@ import orgasm.samples ...@@ -8,7 +8,7 @@ import orgasm.samples
from orgasm import getIndex, getSeeds from orgasm import getIndex, getSeeds
from orgasm.tango import cutLowCoverage, cutSNPs,\ from orgasm.tango import cutLowCoverage, cutSNPs,\
estimateDeadBrancheLength, coverageEstimate, estimateFragmentLength,\ estimateDeadBrancheLength, estimateFragmentLength,\
genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph
import sys import sys
......
...@@ -8,7 +8,7 @@ import orgasm.samples ...@@ -8,7 +8,7 @@ import orgasm.samples
from orgasm import getIndex, getSeeds, getAdapters from orgasm import getIndex, getSeeds, getAdapters
from orgasm.tango import matchtoseed, cutLowCoverage, cutSNPs,\ from orgasm.tango import matchtoseed, cutLowCoverage, cutSNPs,\
estimateDeadBrancheLength, coverageEstimate, estimateFragmentLength,\ estimateDeadBrancheLength, estimateFragmentLength,\
genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph
from orgasm.assembler import Assembler,tango from orgasm.assembler import Assembler,tango
......
...@@ -400,7 +400,8 @@ def genesincontig(cg,index,matches): ...@@ -400,7 +400,8 @@ def genesincontig(cg,index,matches):
eg = [vread(i) for i in path] eg = [vread(i) for i in path]
g = sum(i for i in eg if i > 0) g = sum(i for i in eg if i > 0)
if g > 0: if g > 0:
color="#00FF00" g=max(min(math.ceil(math.log10(g)),4)*64-1,0)
color="#00%02X%02X" % (g,255-g)
else: else:
color="#0000FF" color="#0000FF"
graphics = ea.get('graphics',{}) graphics = ea.get('graphics',{})
......
major = 0 major = 0
minor = '1' minor = '1'
serial= '0b3' serial= '1b1'
version = "%2d.%s.%s" % (major,minor,serial) version = "%2d.%s.%s" % (major,minor,serial)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment