Mercurial > repos > fubar > jbrowse2
comparison x/static/js/6833.c77c5928.chunk.js @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
124:137e08517410 | 125:49f3d3878413 |
---|---|
1 "use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6833],{86833:(e,t,s)=>{s.r(t),s.d(t,{default:()=>c,makeFeatures:()=>u});var a=s(46377),r=s(6434),n=s(66885),o=s(68584);function u(e){const t=new Map;for(const s of e){const e=new r.A(s),a=e.get("refName");let n=t.get(a);n||(n=[],t.set(a,n)),n.push(e)}for(const e of t.values())e.sort(((e,t)=>e.get("start")-t.get("start")));return t}class c extends a.BaseFeatureDataAdapter{constructor(e,t,s){super(e,t,s);const a=(0,o.readConfObject)(e,"features");this.features=u(a)}async getRefNames(){return[...this.features.keys()]}async getRefNameAliases(){return[...this.features.values()].map((e=>({refName:e[0].get("refName"),aliases:e[0].get("aliases")})))}getFeatures(e){const{refName:t,start:s,end:a}=e;return(0,n.ObservableCreate)((async e=>{const r=this.features.get(t)||[];for(const t of r)t.get("end")>s&&t.get("start")<a&&e.next(t);e.complete()}))}freeResources(){}}}}]); | |
2 //# sourceMappingURL=6833.c77c5928.chunk.js.map |