diff --git a/docs/404.html b/docs/404.html index 437c027..795ffe5 100644 --- a/docs/404.html +++ b/docs/404.html @@ -12,7 +12,7 @@ - + @@ -1601,7 +1601,7 @@
=p?A=!0:(D=f.charCodeAt(m++))===Aa?S=!0:D===Uh&&(S=!0,f.charCodeAt(m)===Aa&&++m),f.slice(I+1,B-1).replace(/""/g,'"')}for(;m
9999?"+"+Nt(e,6):Nt(e,4)}function FC(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":DC(e.getUTCFullYear())+"-"+Nt(e.getUTCMonth()+1,2)+"-"+Nt(e.getUTCDate(),2)+(i?"T"+Nt(t,2)+":"+Nt(n,2)+":"+Nt(r,2)+"."+Nt(i,3)+"Z":r?"T"+Nt(t,2)+":"+Nt(n,2)+":"+Nt(r,2)+"Z":n||t?"T"+Nt(t,2)+":"+Nt(n,2)+"Z":"")}function b1(e){var t=new RegExp('["'+e+` +\r]`),n=e.charCodeAt(0);function r(f,h){var d,p,m=i(f,function(y,w){if(d)return d(y,w-1);p=y,d=h?BC(y,h):g1(y)});return m.columns=p||[],m}function i(f,h){var d=[],p=f.length,m=0,y=0,w,A=p<=0,S=!1;f.charCodeAt(p-1)===Aa&&--p,f.charCodeAt(p-1)===Gh&&--p;function _(){if(A)return zh;if(S)return S=!1,p1;var B,I=m,D;if(f.charCodeAt(I)===Uh){for(;m++
=p?A=!0:(D=f.charCodeAt(m++))===Aa?S=!0:D===Gh&&(S=!0,f.charCodeAt(m)===Aa&&++m),f.slice(I+1,B-1).replace(/""/g,'"')}for(;m
1)r=OC(e,t,n);else for(i=0,r=new Array(o=e.arcs.length);i0))return u;let l;do u.push(l=new Date(+o)),t(o,a),e(o);while(l(e[t]=1+n,e),{});const E8={[Ba]:Un,[Da]:ka.every(3),[Fa]:ka,[Ra]:Ca,[Ma]:zr,[cc]:zr,[Qh]:zr,[Pa]:sc,[Oa]:ic,[La]:pr,[fc]:jo},_8={[Ba]:Gn,[Da]:Ia.every(3),[Fa]:Ia,[Ra]:Ta,[Ma]:Ni,[cc]:Ni,[Qh]:Ni,[Pa]:ac,[Oa]:oc,[La]:pr,[fc]:jo};function S8(e){return E8[e]}function C8(e){return _8[e]}function Xh(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Kh(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Na(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function M1(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,u=e.shortMonths,l=za(i),c=Ua(i),f=za(o),h=Ua(o),d=za(s),p=Ua(s),m=za(a),y=Ua(a),w=za(u),A=Ua(u),S={a:_e,A:Ne,b:Ue,B:nt,c:null,d:U1,e:U1,f:Y8,g:o4,G:a4,H:q8,I:W8,j:Z8,L:G1,m:Q8,M:X8,p:ke,q:Ie,Q:W1,s:Z1,S:K8,u:J8,U:e4,V:t4,w:n4,W:r4,x:null,X:null,y:i4,Y:s4,Z:l4,"%":q1},_={a:bt,A:Wt,b:je,B:O,c:null,d:V1,e:V1,f:h4,g:A4,G:_4,H:u4,I:c4,j:f4,L:$1,m:d4,M:p4,p:P,q,Q:W1,s:Z1,S:g4,u:m4,U:b4,V:y4,w:w4,W:v4,x:null,X:null,y:x4,Y:E4,Z:S4,"%":q1},T={a:G,A:L,b:ne,B:ie,c:de,d:N1,e:N1,f:H8,g:L1,G:O1,H:z1,I:z1,j:N8,L:G8,m:L8,M:z8,p:M,q:O8,Q:$8,s:j8,S:U8,u:D8,U:F8,V:R8,w:B8,W:M8,x:me,X:Pe,y:L1,Y:O1,Z:P8,"%":V8};S.x=B(n,S),S.X=B(r,S),S.c=B(t,S),_.x=B(n,_),_.X=B(r,_),_.c=B(t,_);function B($,Z){return function(C){var x=[],V=-1,W=0,ce=$.length,te,fe,Zt;for(C instanceof Date||(C=new Date(+C));++V0))return u;let l;do u.push(l=new Date(+o)),t(o,a),e(o);while(l(e[t]=1+n,e),{});const I8={[Ba]:Gn,[Da]:ka.every(3),[Fa]:ka,[Ra]:Ca,[Ma]:Ur,[cc]:Ur,[Xh]:Ur,[Pa]:sc,[Oa]:ic,[La]:gr,[fc]:qo},B8={[Ba]:Hn,[Da]:Ia.every(3),[Fa]:Ia,[Ra]:Ta,[Ma]:Ni,[cc]:Ni,[Xh]:Ni,[Pa]:ac,[Oa]:oc,[La]:gr,[fc]:qo};function D8(e){return I8[e]}function F8(e){return B8[e]}function Kh(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Jh(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Na(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function L1(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,u=e.shortMonths,l=za(i),c=Ua(i),f=za(o),h=Ua(o),d=za(s),p=Ua(s),m=za(a),y=Ua(a),w=za(u),A=Ua(u),S={a:Se,A:Le,b:Ue,B:nt,c:null,d:V1,e:V1,f:t4,g:f4,G:d4,H:K8,I:J8,j:e4,L:$1,m:n4,M:r4,p:Ie,q:Be,Q:Q1,s:X1,S:i4,u:o4,U:s4,V:a4,w:l4,W:u4,x:null,X:null,y:c4,Y:h4,Z:p4,"%":Y1},_={a:bt,A:Wt,b:je,B:L,c:null,d:q1,e:q1,f:y4,g:k4,G:B4,H:g4,I:m4,j:b4,L:W1,m:w4,M:v4,p:P,q,Q:Q1,s:X1,S:x4,u:A4,U:E4,V:_4,w:S4,W:C4,x:null,X:null,y:T4,Y:I4,Z:D4,"%":Y1},T={a:U,A:O,b:te,B:re,c:ce,d:G1,e:G1,f:Z8,g:U1,G:z1,H:H1,I:H1,j:$8,L:W8,m:V8,M:j8,p:M,q:H8,Q:Q8,s:X8,S:q8,u:L8,U:N8,V:z8,w:O8,W:U8,x:pe,X:_e,y:U1,Y:z1,Z:G8,"%":Y8};S.x=B(n,S),S.X=B(r,S),S.c=B(t,S),_.x=B(n,_),_.X=B(r,_),_.c=B(t,_);function B($,Z){return function(C){var x=[],V=-1,W=0,fe=$.length,ne,he,Zt;for(C instanceof Date||(C=new Date(+C));++V((e+(t-1))/t|0)*t;function aI(e,t,n,r){if(t||n){r=r||1;const o=e.length/4;return function(s){let a=0,u=0;for(let l=0;l((e+(t-1))/t|0)*t;function dI(e,t,n,r){if(t||n){r=r||1;const o=e.length/4;return function(s){let a=0,u=0;for(let l=0;l0;){if(l=Hh(s,a,n),l===u)return r[i]=s,r[o]=a,t(r);if(l>0)s=Math.floor(s/l)*l,a=Math.ceil(a/l)*l;else if(l<0)s=Math.ceil(s*l)/l,a=Math.floor(a*l)/l;else break;u=l}return e},e}function sw(){var e=iw();return e.copy=function(){return el(e,sw())},Vn.apply(e,arguments),Xi(e)}function aw(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,a0),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return aw(e).unknown(t)},e=arguments.length?Array.from(e,a0):[0,1],Xi(n)}function lw(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return oMath.pow(e,t)}function FB(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function fw(e){return(t,n)=>-e(-t,n)}function u0(e){const t=e(uw,cw),n=t.domain;let r=10,i,o;function s(){return i=FB(r),o=DB(r),n()[0]<0?(i=fw(i),o=fw(o),e(kB,IB)):e(uw,cw),t}return t.base=function(a){return arguments.length?(r=+a,s()):r},t.domain=function(a){return arguments.length?(n(a),s()):n()},t.ticks=a=>{const u=n();let l=u[0],c=u[u.length-1];const f=c0;){if(l=Vh(s,a,n),l===u)return r[i]=s,r[o]=a,t(r);if(l>0)s=Math.floor(s/l)*l,a=Math.ceil(a/l)*l;else if(l<0)s=Math.ceil(s*l)/l,a=Math.floor(a*l)/l;else break;u=l}return e},e}function uw(){var e=aw();return e.copy=function(){return el(e,uw())},$n.apply(e,arguments),Ki(e)}function cw(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,l0),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return cw(e).unknown(t)},e=arguments.length?Array.from(e,l0):[0,1],Ki(n)}function fw(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return oMath.pow(e,t)}function NB(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function pw(e){return(t,n)=>-e(-t,n)}function c0(e){const t=e(hw,dw),n=t.domain;let r=10,i,o;function s(){return i=NB(r),o=LB(r),n()[0]<0?(i=pw(i),o=pw(o),e(MB,PB)):e(hw,dw),t}return t.base=function(a){return arguments.length?(r=+a,s()):r},t.domain=function(a){return arguments.length?(n(a),s()):n()},t.ticks=a=>{const u=n();let l=u[0],c=u[u.length-1];const f=cA&&(i[T]=A),u[T]o)o=A;else{a=!0,console.debug("Items (vertices) are not ordered properly. Disabling binned index.");return}const _=n(w),T=r(w);if(_A&&(i[D]=A),u[D]{const _=h(w,!1),T=h(A,!0),B=i[_],I=Math.max(u[T],B);return S[0]=B,S[1]=I,S},y=()=>{if(a)return;for(let A=1;AA&&(i[T]=A),u[T]o)o=A;else{a=!0,console.debug("Items (vertices) are not ordered properly. Disabling binned index.");return}const _=n(w),T=r(w);if(_A&&(i[D]=A),u[D]{const _=h(w,!1),T=h(A,!0),B=i[_],I=Math.max(u[T],B);return S[0]=B,S[1]=I,S},y=()=>{if(a)return;for(let A=1;Aa===void 0)){const a=this.getChromosome(r);return a?[a.continuousStart,a.continuousEnd]:void 0}const i=n[3]||r,o=parseInt(n[2].replace(/,/g,"")),s=n[4]!==void 0?parseInt(n[4].replace(/,/g,"")):o;return[this.toContinuous(r,o-1),this.toContinuous(i,s)]}}}function xR(e){return kC(e).map(([t,n])=>({name:t,size:parseInt(n)}))}function Wv(e){return Et(e)&&"chrom"in e}function AR(e){return e.every(Wv)}function W0(e){return Et(e)&&("name"in e||Z0(e)||Zv(e))}function Z0(e){return W0(e)&&"url"in e}function Zv(e){return W0(e)&&"contigs"in e}class _l extends Array{constructor(){super(),this.type=void 0}extend(t){return this}extendAll(t){if(t instanceof _l&&t.type!=this.type)throw new Error(`Cannot combine different types of domains: ${this.type} and ${t.type}`);for(const n of t)this.extend(n);return this}extendAllWithAccessor(t,n){for(const r of t)this.extend(n(r));return this}}class Y0 extends _l{constructor(){super(),this.type="quantitative"}extend(t){return t==null||Number.isNaN(t)?this:(t=+t,this.length?ta===void 0)){const a=this.getChromosome(r);return a?[a.continuousStart,a.continuousEnd]:void 0}const i=n[3]||r,o=parseInt(n[2].replace(/,/g,"")),s=n[4]!==void 0?parseInt(n[4].replace(/,/g,"")):o;return[this.toContinuous(r,o-1),this.toContinuous(i,s)]}}}function T5(e){return MC(e).map(([t,n])=>({name:t,size:parseInt(n)}))}function Jv(e){return Et(e)&&"chrom"in e}function k5(e){return e.every(Jv)}function Q0(e){return Et(e)&&("name"in e||X0(e)||ex(e))}function X0(e){return Q0(e)&&"url"in e}function ex(e){return Q0(e)&&"contigs"in e}class _l extends Array{constructor(){super(),this.type=void 0}extend(t){return this}extendAll(t){if(t instanceof _l&&t.type!=this.type)throw new Error(`Cannot combine different types of domains: ${this.type} and ${t.type}`);for(const n of t)this.extend(n);return this}extendAllWithAccessor(t,n){for(const r of t)this.extend(n(r));return this}}class K0 extends _l{constructor(){super(),this.type="quantitative"}extend(t){return t==null||Number.isNaN(t)?this:(t=+t,this.length?ts[1])&&(le(this,ta,o),le(this,Fu,r),i(o))}}ea=new WeakMap,ta=new WeakMap,na=new WeakMap,Fu=new WeakMap;class SM extends kl{constructor(t,n){const r={channel:"x",windowSize:7e3,debounce:200,debounceMode:"window",...t};if(super(n,r.channel),this.params=r,!this.params.url)throw new Error("No URL provided for IndexedFastaSource");this.setupDebouncing(this.params),this.initializedPromise=new Promise(i=>{Promise.all([Promise.resolve().then(()=>Wx),Promise.resolve().then(()=>SO),Promise.resolve().then(()=>Fl)]).then(([{Buffer:o},{IndexedFasta:s},{RemoteFile:a}])=>{typeof window<"u"&&(window.Buffer??(window.Buffer=o));const u=l=>new a(Cl(l,this.view.getBaseUrl()));this.fasta=new s({fasta:u(this.params.url),fai:u(this.params.indexUrl??this.params.url+".fai")}),i()})})}get label(){return"bigWigSource"}async loadInterval(t){const n=await this.discretizeAndLoad(t,async(r,i)=>this.fasta.getSequence(r.chrom,r.startPos,r.endPos,{signal:i}).then(o=>({chrom:r.chrom,start:r.startPos,sequence:o})));n&&this.publishData([n])}}class CM extends kl{constructor(n,r){const i={pixelsPerBin:2,channel:"x",debounce:200,debounceMode:"window",...n},o=rf(r.paramMediator,i,s=>{s.includes("url")?Q(this,Ru,Om).call(this).then(()=>this.reloadLastDomain()):s.includes("pixelsPerBin")&&this.reloadLastDomain()});super(r,o.channel);J(this,Ru);J(this,ra,[]);J(this,ia);if(this.params=o,!this.params.url)throw new Error("No URL provided for BigWigSource");this.setupDebouncing(this.params),Q(this,Ru,Om).call(this)}get label(){return"bigWigSource"}async onDomainChanged(n){await this.initializedPromise;const r=this.scaleResolution.getAxisLength()||700,i=TM(n,r,z(this,ra)),o=Math.max(i*r,5e3);this.callIfWindowsChanged(n,o,s=>this.loadInterval(s,i))}async loadInterval(n,r){const i=.5/r/Qt(this.params.pixelsPerBin),o=await this.discretizeAndLoad(n,(s,a)=>z(this,ia).getFeatures(s.chrom,s.startPos,s.endPos,{scale:i,signal:a}).then(u=>u.map(l=>({chrom:s.chrom,start:l.start,end:l.end,score:l.score}))));o&&this.publishData(o)}}ra=new WeakMap,ia=new WeakMap,Ru=new WeakSet,Om=function(){return this.initializedPromise=new Promise((n,r)=>{Promise.all([Promise.resolve().then(()=>$3),Promise.resolve().then(()=>Fl)]).then(([{BigWig:i},{RemoteFile:o}])=>{le(this,ia,new i({filehandle:new o(Cl(Qt(this.params.url),this.view.getBaseUrl()))})),this.setLoadingStatus("loading"),z(this,ia).getHeader().then(s=>{le(this,ra,s.zoomLevels.map(a=>a.reductionLevel).reverse()),z(this,ra).push(1),this.setLoadingStatus("complete"),n()}).catch(s=>{this.load(),this.setLoadingStatus("error",`${Qt(this.params.url)}: ${s.message}`),r(s)})})}),this.initializedPromise};function TM(e,t,n){const r=(e[1]-e[0])/t;return n.find(i=>is[1])&&(le(this,ta,o),le(this,Fu,r),i(o))}}ea=new WeakMap,ta=new WeakMap,na=new WeakMap,Fu=new WeakMap;class DM extends kl{constructor(t,n){const r={channel:"x",windowSize:7e3,debounce:200,debounceMode:"window",...t};if(super(n,r.channel),this.params=r,!this.params.url)throw new Error("No URL provided for IndexedFastaSource");this.setupDebouncing(this.params),this.initializedPromise=new Promise(i=>{Promise.all([Promise.resolve().then(()=>Jx),Promise.resolve().then(()=>DO),Promise.resolve().then(()=>Fl)]).then(([{Buffer:o},{IndexedFasta:s},{RemoteFile:a}])=>{typeof window<"u"&&(window.Buffer??(window.Buffer=o));const u=l=>new a(Cl(l,this.view.getBaseUrl()));this.fasta=new s({fasta:u(this.params.url),fai:u(this.params.indexUrl??this.params.url+".fai")}),i()})})}get label(){return"bigWigSource"}async loadInterval(t){const n=await this.discretizeAndLoad(t,async(r,i)=>this.fasta.getSequence(r.chrom,r.startPos,r.endPos,{signal:i}).then(o=>({chrom:r.chrom,start:r.startPos,sequence:o})));n&&this.publishData([n])}}class FM extends kl{constructor(n,r){const i={pixelsPerBin:2,channel:"x",debounce:200,debounceMode:"window",...n},o=rf(r.paramMediator,i,s=>{s.includes("url")?Q(this,Ru,zm).call(this).then(()=>this.reloadLastDomain()):s.includes("pixelsPerBin")&&this.reloadLastDomain()});super(r,o.channel);J(this,Ru);J(this,ra,[]);J(this,ia);if(this.params=o,!this.params.url)throw new Error("No URL provided for BigWigSource");this.setupDebouncing(this.params),Q(this,Ru,zm).call(this)}get label(){return"bigWigSource"}async onDomainChanged(n){await this.initializedPromise;const r=this.scaleResolution.getAxisLength()||700,i=RM(n,r,z(this,ra)),o=Math.max(i*r,5e3);this.callIfWindowsChanged(n,o,s=>this.loadInterval(s,i))}async loadInterval(n,r){const i=.5/r/Qt(this.params.pixelsPerBin),o=await this.discretizeAndLoad(n,(s,a)=>z(this,ia).getFeatures(s.chrom,s.startPos,s.endPos,{scale:i,signal:a}).then(u=>u.map(l=>({chrom:s.chrom,start:l.start,end:l.end,score:l.score}))));o&&this.publishData(o)}}ra=new WeakMap,ia=new WeakMap,Ru=new WeakSet,zm=function(){return this.initializedPromise=new Promise((n,r)=>{Promise.all([Promise.resolve().then(()=>Q3),Promise.resolve().then(()=>Fl)]).then(([{BigWig:i},{RemoteFile:o}])=>{le(this,ia,new i({filehandle:new o(Cl(Qt(this.params.url),this.view.getBaseUrl()))})),this.setLoadingStatus("loading"),z(this,ia).getHeader().then(s=>{le(this,ra,s.zoomLevels.map(a=>a.reductionLevel).reverse()),z(this,ra).push(1),this.setLoadingStatus("complete"),n()}).catch(s=>{this.load(),this.setLoadingStatus("error",`${Qt(this.params.url)}: ${s.message}`),r(s)})})}),this.initializedPromise};function RM(e,t,n){const r=(e[1]-e[0])/t;return n.find(i=>i