Commit 6103a4ef authored by Thonier Florian's avatar Thonier Florian; add some field for distribution computing

link to #3944 and #3902
parent 2a351ae7
......@@ -208,6 +208,16 @@ class Window:
if axe == "GCContent":
return self.getGCcontent()
# FIXME: need to get the rigth position value
# If the clone have multiple sample, need to select the current.
# Should not apply if executed from the vidjil server
if axe == "lenSeqConsensus":
return self.d["_average_read_length"][0]/ self.get_values("lenSeq")
if axe == "lenSeqAverage":
return self.d["_average_read_length"][0]
if axe == "coverage":
return round(self.d["_coverage"][0]*100, 2)
### Positions
if axe == "seg5_stop":
return self.d["seg"]["5"]["stop"]
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