Commit 25820077 by Eric Coissac

Last fixes for new version 0.1.1b1

parent b9f21456
0.1.0b3
\ No newline at end of file
0.1.1b1
\ No newline at end of file
......@@ -8,7 +8,7 @@ import orgasm.samples
from orgasm import getIndex, getSeeds
from orgasm.tango import cutLowCoverage, cutSNPs,\
estimateDeadBrancheLength, coverageEstimate, estimateFragmentLength,\
estimateDeadBrancheLength, estimateFragmentLength,\
genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph
import sys
......
......@@ -8,7 +8,7 @@ import orgasm.samples
from orgasm import getIndex, getSeeds, getAdapters
from orgasm.tango import matchtoseed, cutLowCoverage, cutSNPs,\
estimateDeadBrancheLength, coverageEstimate, estimateFragmentLength,\
estimateDeadBrancheLength, estimateFragmentLength,\
genesincontig, scaffold, fillGaps, dumpGraph, restoreGraph
from orgasm.assembler import Assembler,tango
......
......@@ -400,7 +400,8 @@ def genesincontig(cg,index,matches):
eg = [vread(i) for i in path]
g = sum(i for i in eg if i > 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:
color="#0000FF"
graphics = ea.get('graphics',{})
......
major = 0
minor = '1'
serial= '0b3'
serial= '1b1'
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