Mercurial > repos > fubar > jbrowse2
view x/static/js/3384.e146a796.chunk.js @ 129:d08080933718 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 6d8a6a308c219c112dbfc09fe48ad462746d6fb0
author | fubar |
---|---|
date | Mon, 07 Oct 2024 08:55:19 +0000 |
parents | 49f3d3878413 |
children |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3384],{93384:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var a=n(7552),l=n(68446),i=n(29499),o=n(36715),s=n(1343),r=n(58507),d=n(5401),c=n(49823);const w=(0,l.observer)((function({model:e,handleClose:t}){const[n,l]=(0,a.useState)(`${e.windowSizeSetting}`),[w,m]=(0,a.useState)(`${e.windowDeltaSetting}`);return a.createElement(c.Dialog,{open:!0,onClose:t,title:"Edit GC content params"},a.createElement(i.A,null,a.createElement(o.A,null,"GC content is calculated in a particular sliding window of size N, and then the sliding window moves (steps) some number of bases M forward. Note that small step sizes can result in high CPU over large areas, and it is not recommended to make the step size larger than the window size as then the sliding window will miss contents."),w>n?a.createElement(c.ErrorMessage,{error:"It is not recommended to make the step size larger than the window size"}):null,a.createElement(s.A,{label:"Size of sliding window (bp)",value:n,onChange:e=>{l(e.target.value)}}),a.createElement(s.A,{label:"Step size of sliding window (bp)",value:w,onChange:e=>{m(e.target.value)}}),a.createElement(r.A,null,a.createElement(d.A,{variant:"contained",onClick:()=>{e.setGCContentParams({windowSize:+n,windowDelta:+w}),t()}},"Submit"),a.createElement(d.A,{variant:"contained",color:"secondary",onClick:()=>{t()}},"Cancel"))))}))}}]); //# sourceMappingURL=3384.e146a796.chunk.js.map