1"use strict";(self.webpackChunkcov_spectrum_website=self.webpackChunkcov_spectrum_website||[]).push([[1797],{1797:(e,t,n)=>{n.r(t),n.d(t,{A:()=>j,n:()=>g});var r=n(579),o=n(5043),a=n(2961),i=n(9062),s=n(8228),l=n(5817),c=n(1908),d=n(4018),u=n(4791),p=(0,i.bQ)();const m=(0,l.g)(p),h=(0,i.m)()({compact:{paddingRight:0,paddingTop:0,paddingBottom:0}}),f=["read paired","read mapped in proper pair","read unmapped","mate unmapped","read reverse strand","mate reverse strand","first in pair","second in pair","not primary alignment","read fails platform/vendor quality checks","read is PCR or optical duplicate","supplementary alignment"];function b(e){const{classes:t}=h(),{flags:n}=e;return(0,r.jsxs)(s.B,{...e,title:"Flags",children:[(0,r.jsx)(m,{name:"Flag",value:n}),(0,r.jsx)(i.F,{children:f.map(((e,o)=>{const a=n&1<<o,i=`${e}_${a}`;return(0,r.jsx)(c.F,{control:(0,r.jsx)(d.C,{className:t.compact,checked:!!a,name:e,readOnly:!0}),label:e},i)}))})]})}function y(e){let{value:t}=e;const[n,a]=(0,o.useState)(!1),[s,l]=(0,o.useState)(!1),c=String(t);return c.length>100?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>{(0,i.b0)(c),l(!0),setTimeout((()=>{l(!1)}),700)},children:s?"Copied to clipboard":"Copy"}),(0,r.jsx)("button",{type:"button",onClick:()=>{a((e=>!e))},children:n?"Show less":"Show more"}),(0,r.jsx)("div",{children:n?c:`${c.slice(0,100)}...`})]}):(0,r.jsx)("div",{children:c})}async function g(e,t){const n=i.u.getSession(t),{view:r}=t;try{if(!r)throw new Error("No view associated with this view anymore");await r.navToLocString(e)}catch(o){console.error(o),n.notify(`${o}`)}}function v(e){let{locString:t,model:n}=e;return(0,r.jsx)(u.L,{onClick:e=>{e.preventDefault(),g(t,n)},href:"#",children:t})}const x={AM:"The smallest template-independent mapping quality in the template",AS:"Alignment score generated by aligner",BC:"Barcode sequence identifying the sample",BQ:"Offset to base alignment quality (BAQ)",BZ:"Phred quality of the unique molecular barcode bases in the {OX} tag",CB:"Cell identifier",CC:"Reference name of the next hit",CM:"Edit distance between the color sequence and the color reference (see also {NM})",CO:"Free-text comments",CP:"Leftmost coordinate of the next hit",CQ:"Color read base qualities",CR:"Cellular barcode sequence bases (uncorrected)",CS:"Color read sequence",CT:"Complete read annotation tag, used for consensus annotation dummy features",CY:"Phred quality of the cellular barcode sequence in the {CR} tag",E2:"The 2nd most likely base calls",FI:"The index of segment in the template",FS:"Segment suffix",FZ:"Flow stopToken intensities",GC:"Reserved for backwards compatibility reasons",GQ:"Reserved for backwards compatibility reasons",GS:"Reserved for backwards compatibility reasons",H0:"Number of perfect hits",H1:"Number of 1-difference hits (see also {NM})",H2:"Number of 2-difference hits",HI:"Query hit index",IH:"Query hit total count",LB:"Library",MC:"CIGAR string for mate/next segment",MD:"String encoding mismatched and deleted reference bases",MF:"Reserved for backwards compatibility reasons",MI:"Molecular identifier; a string that uniquely identifies the molecule from which the record was derived",ML:"Base modification probabilities",MM:"Base modifications / methylation ",MQ:"Mapping quality of the mate/next segment",NH:"Number of reported alignments that contain the query in the current record",NM:"Edit distance to the reference",OA:"Original alignment",OC:"Original CIGAR (deprecated; use {OA} instead)",OP:"Original mapping position (deprecated; use {OA} instead)",OQ:"Original base quality",OX:"Original unique molecular barcode bases",PG:"Program",PQ:"Phred likelihood of the template",PT:"Read annotations for parts of the padded read sequence",PU:"Platform unit",Q2:"Phred quality of the mate/next segment sequence in the {R2} tag",QT:"Phred quality of the sample barcode sequence in the {BC} tag",QX:"Quality score of the unique molecular identifier in the {RX} tag",R2:"Sequence of the mate/next segment in the template",RG:"Read group",RT:"Reserved for backwards compatibility reasons",RX:"Sequence bases of the (possibly corrected) unique molecular identifier",S2:"Reserved for backwards compatibility reasons",SA:"Other canonical alignments in a chimeric alignment",SM:"Template-independent mapping quality",SQ:"Reserved for backwards compatibility reasons",TC:"The number of segments in the template",TS:"Transcript strand",U2:"Phred probability of the 2nd call being wrong conditional on the best being wrong",UQ:"Phred likelihood of the segment, conditional on the mapping being correct"},C=(0,o.lazy)((()=>n.e(7277).then(n.bind(n,7277)))),w=(0,o.lazy)((()=>n.e(3168).then(n.bind(n,3168)))),S=(0,i.o)((function(e){const{model:t,feat:n}=e,o=n.flags,s=function(e,t){var n;return(null===(n=t.tags)||void 0===n?void 0:n[e])||t[e]}("SA",n);return(0,r.jsxs)(i.P,{"data-testid":"alignment-side-drawer",children:[(0,r.jsx)(a.F,{...e,descriptions:{tags:x},feature:n,formatter:(e,n)=>"next_segment_position"===n?(0,r.jsx)(v,{model:t,locString:e}):(0,r.jsx)(y,{value:e})}),void 0!==s?(0,r.jsx)(C,{model:t,tag:s,feature:n}):null,null!=o?(0,r.jsxs)(r.Fragment,{children:[1&o?(0,r.jsx)(w,{model:t,feature:n}):null,(0,r.jsx)(b,{flags:o,...e})]}):null]})})),k=(0,i.o)((function(e){const{model:t}=e,{featureData:n}=t,o=structuredClone(n);return o?(0,r.jsx)(S,{feat:o,...e}):(0,r.jsx)("div",{children:"No feature loaded, may not be available after page refresh because it was too large for localStorage"})})),j=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"}))}
1,8228:(e,t,n)=>{n.d(t,{B:()=>a});var r=n(5817),o=(0,n(9062)._)();const a=(0,r.g)(o)},2961:(e,t,n)=>{n.d(t,{F:()=>a});var r=n(5817),o=(0,n(9062).aa)();const a=(0,r.g)(o)},4791:(e,t,n)=>{n.d(t,{L:()=>m});var r=n(5817),o=n(5043),a=n(5173),i=n(9062),s=n(579);function l(e){return(0,i.A)("MuiLink",e)}const c=(0,i.z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),d=e=>{let{theme:t,ownerState:n}=e;const r=n.color,o=(0,i.b1)(t,`palette.${r}.main`,!1)||(0,i.b1)(t,`palette.${r}`,!1)||n.color,a=(0,i.b1)(t,`palette.${r}.mainChannel`)||(0,i.b1)(t,`palette.${r}Channel`);return"vars"in t&&a?`rgba(${a} / 0.4)`:(0,i.K)(o,.4)},u={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},p=(0,i.H)(i.T,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,i.aC)(n.underline)}`],"button"===n.component&&t.button]}})((0,i.J)((e=>{let{theme:t}=e;return{variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:e=>{let{underline:t,ownerState:n}=e;return"always"===t&&"inherit"!==n.color},style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(t.palette).filter((0,i.b2)()).map((e=>{let[n]=e;return{props:{underline:"always",color:n},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette[n].mainChannel} / 0.4)`:(0,i.K)(t.palette[n].main,.4)}}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:(0,i.K)(t.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette.text.secondaryChannel} / 0.4)`:(0,i.K)(t.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(t.vars||t).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${c.focusVisible}`]:{outline:"auto"}}}]}}))),m=o.forwardRef((function(e,t){const n=(0,i.G)({props:e,name:"MuiLink"}),a=(0,i.aL)(),{className:c,color:m="primary",component:h="a",onBlur:f,onFocus:b,TypographyClasses:y,underline:g="always",variant:v="inherit",sx:x,...C}=n,[w,S]=o.useState(!1),k={...n,color:m,component:h,focusVisible:w,underline:g,variant:v},j=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,a={root:["root",`underline${(0,i.aC)(o)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,i.I)(a,l,t)})(k);return(0,s.jsx)(p,{color:m,className:(0,r.c)(j.root,c),classes:y,component:h,onBlur:e=>{(0,i.b3)(e.target)||S(!1),f&&f(e)},onFocus:e=>{(0,i.b3)(e.target)&&S(!0),b&&b(e)},ref:t,ownerState:k,variant:v,...C,sx:[...void 0===u[m]?[{color:m}]:[],...Array.isArray(x)?x:[x]],style:{...C.style,..."always"===g&&"inherit"!==m&&!u[m]&&{"--Link-underlineColor":d({theme:a,ownerState:k})}}})}));"production"!==r.p.env.NODE_ENV&&(m.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),a.string]),component:i.aO,onBlur:a.func,onFocus:a.func,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TypographyClasses:a.object,underline:a.oneOf(["always","hover","none"]),variant:a.oneOfType([a.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),a.string])})}}]); 2//# sourceMappingURL=1797.b6a19ef5.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.