       d3.svg.line()
           .x((d) -> botLxScale[j](d))
           .y((d,i) -> yScale(data.lod[j].lod[i]))
-          
+
   detailedLod = {}
   for i in data.chr
     detailedLod[i] = botsvg.append("g").append("path")

     .attr("width", (d) -> chrPixelEnd[d] - chrPixelStart[d]+chrGap)
     .attr("height", (d) -> hInner)
     .attr("fill", (d) -> chrColor[d])
     .attr("stroke", "none")  

  # lod curves by chr
  lodcurve = (j) ->

     .attr("y", pad.top)
     .attr("height", hInner)
     .attr("width", wInner)
     .attr("class", "innerBox")

  botsvg.append("rect")
     .attr("x", pad.left)
     .attr("y", pad.top)
     .attr("height", hInner)
     .attr("width", botLwInner)
     .attr("class", "innerBox")

  botsvg.append("rect")
     .attr("x", botLw+pad.left)
     .attr("y", pad.top)
     .attr("height", hInner)
     .attr("width", botRwInner)
     .attr("class", "innerBox")


  # maximum LOD score
