PageSourceSearch

https://www.uniprot.org/modern.input-parameters.50b18d.js

js uniprot.org collected 2026-09-24 08:33:23 UTC 6,234 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkuniprot_website=self.webpackChunkuniprot_website||[]).push([[2518],{42013(e,t,s){s.r(t),s(67622),s(80746),s(38660),s(29833),s(36967),s(91482),s(11207),s(84160),s(31511),s(19675),s(87870),s(21862),s(64636),s(69516),s(80329),s(61284),s(37930),s(99453),s(50906),s(79747),s(3731),s(14357),s(99469),s(36411),s(43462),s(69992);var n=s(36371),a=s(78375),i=s(98510),r=s(16769),o=s(22270),l=s(91987);const c=new Set(["redirectURL","taxidlist"]);s.d(t,["default",0,({id:e,inputParamsData:t,jobType:s})=>{if(t&&!("peps"in t)&&(t.error||!t.data))return(0,l.jsx)(a.A,{status:t.status,error:t.error});if(!t)return s===i.j.PEPTIDE_SEARCH?(0,l.jsx)("section",{children:(0,l.jsxs)("p",{children:["Unable to retrieve the input values for the job with ID"," ",(0,l.jsx)("code",{children:e}),".",(0,l.jsx)("br",{}),"It looks like this job hasn't been submitted from this browser. Please ask the person that submitted this job for this information."]})}):(0,l.jsx)(a.A,{});const d="peps"in t?t:t.data;return(0,l.jsxs)(l.Fragment,{children:[d&&(0,l.jsx)(r.C,{inputParamsData:d,jobType:s}),(0,l.jsxs)("section",{className:o.A.container,children:[(0,l.jsxs)("p",{children:["The job with ID ",(0,l.jsx)("code",{children:e})," has been submitted with these raw input values:"]}),"loading"in t&&t.loading?(0,l.jsx)(n.aH,{}):(0,l.jsx)(n.f9,{infoData:Object.entries(d||{}).filter(([e,t])=>!c.has(e)&&t).map(([e,t])=>"taxIds"===e&&Array.isArray(t)?{title:e,content:(0,l.jsx)(n.NG,{lightMode:!0,children:t.map(e=>e.id).join(",")})}:{title:e,content:(0,l.jsx)(n.NG,{lightMode:!0,children:`${t}`})})})]})]})}])},16769(e,t,s){s.d(t,{C:()=>v,A:()=>w}),s(74495),s(23132),s(75438),s(39828),s(84156),s(29462),s(8415),s(39490),s(18208),s(86100),s(40106),s(26572),s(35534),s(25833),s(85459),s(16137),s(67148);var n=s(36371),a=s(71763),i=s(66532),r=s(91981),o=s(87912),l=s(89381),c=s(27594),d=s(34767),u=s(7671),p=s(84026),h=s(34821),m=s(69429),x=s(59173),j=s(75655),b=s(44032),f=(s(67622),s(80746),s(38660),s(98660),s(68907),s(20206),s(92716)),g=s(98510);const y=(e="",t=new Map)=>{const s=[];for(const n of e.split(",")){const e=n.trim();e&&s.push({id:e,label:t.get(e)||e})}return s};var A=s(91987);const v=({jobType:e,inputParamsData:t})=>{const s=(0,i.W6)(),[l,c]=(0,a.useState)(!1);return(0,A.jsxs)(n.$n,{variant:"tertiary",disabled:!t||l,onClick:async()=>{if(!t)return;c(!0);const n=new Map;if("taxids"in t||"negative_taxids"in t||"taxId"in t){const e=[...(t.taxids||"").split(","),...(t.negative_taxids||"").split(","),t.taxId?.toString()||""].map(e=>{const t=e.trim(),s=h.A.entry.entry(t,m.g$.taxonomy);if(t&&s)return(0,x.A)(s).then(e=>{const s=`${e?.data?.scientificName} [${t}]`;n.set(t,s)})});try{await Promise.race([Promise.all(e),(0,r.yy)(2e3)])}catch{}}const a=function(e,t,s=new Map){let n={};switch(e){case g.j.ALIGN:{const{sequence:e,order:s,iterations:a}=t;n={sequence:e,order:s,iterations:a}}break;case g.j.BLAST:{const{program:e,matrix:a,scores:i,alignments:r,exp:o,filter:l,gapalign:c,taxids:d,negative_taxids:u,stype:p,sequence:h,database:m,hsps:x}=t;i!==r&&f.R8(`mismatch between number of scores (${i}) and number of alignments (${r})`),n={program:e,matrix:a,hits:+i,threshold:o,filter:l,gapped:Boolean(c),taxIDs:y(d,s),negativeTaxIDs:y(u,s),stype:p,sequence:h,database:m,hsps:x}}break;case g.j.ID_MAPPING:{const{from:e,to:a,ids:i,taxId:r}=t,o={id:r?.toString()||"",label:r&&s.get(r.toString())||""};n={from:e,to:a,ids:i.split(","),taxId:o}}break;case g.j.PEPTIDE_SEARCH:n={...t};break;default:f.R8(`Forgot to implement for ${e}`)}return n}(e,t,n);s.push((0,o.wE)(e),{parameters:a})},children:[(0,A.jsx)(n.jt,{}),"Resubmit"]})},S=(0,j.A)(()=>s.e(3645).then(s.bind(s,22642))),w=({namespace:e,jobType:t,jobId:s,selectedEntries:r,inputParamsData:o,nHits:h,isTableResultsFiltered:m})=>{const{pathname:x}=(0,i.zy)(),[j,f]=(0,a.useState)(!1);let y=(0,A.jsx)(c.A,{selectedEntries:r,textSuffix:t===g.j.BLAST?"selected results":void 0},"selected");return t===g.j.BLAST&&(y=[y,(0,A.jsx)(c.A,{selectedEntries:r,textSuffix:`selected ${(0,b.aX)("result",r.length)} with query`,extraSequence:o&&"sequence"in o?o.sequence:void 0},"with-query")]),(0,A.jsxs)(A.Fragment,{children:[j&&(0,A.jsx)(a.Suspense,{fallback:null,children:(0,A.jsx)(n.LT,{position:"left",onClose:()=>f(!1),pathname:x,children:(0,A.jsx)(p.A,{children:(0,A.jsx)(S,{jobType:t,id:s,onToggleDisplay:()=>f(e=>!e),nHits:h,isTableResultsFiltered:m,isTableRowSelected:r.length>0})})})}),(0,A.jsxs)("div",{className:"button-group",children:[(0,A.jsx)(u.A,{selectedEntries:r,blast:!0,align:y,mapID:!0}),(0,A.jsxs)(n.$n,{variant:"tertiary",onPointerOver:S.preload,onFocus:S.preload,onClick:()=>f(e=>!e),children:[(0,A.jsx)(n.s3,{}),"Download"]}),(0,A.jsx)(l.A,{selectedEntries:r}),t===g.j.BLAST&&(0,A.jsx)(d.A,{namespace:e}),(0,A.jsx)(v,{inputParamsData:o,jobType:t})]})]})}},34767(e,t,s){s.d(t,{A:()=>x});var n=s(36371),a=s(71763),i=s(66532),r=s(91981),o=s(87912),l=s(37707),c=s(13603),d=s(79523),u=s(75655),p=s(84026);var h=s(91987);const m=(0,u.A)(()=>
1Promise.all([s.e(6652),s.e(5599)]).then(s.bind(s,65472))),x=({namespace:e})=>{const[t,s]=(0,a.useState)(!1),u=Boolean((0,i.W5)(o.iS)),{pathname:x}=(0,i.zy)(),j=(0,l.Bp)(e,u),[b,f]=(0,c.A)(`table columns for ${e}${u?" entry page":""}`,j),[g,y]=(0,a.useState)(b),[A,v]=(0,a.useState)(b);b!==A&&(v(b),y(b));const S=()=>t&&s(!1),w=()=>{f(g),(0,r.Gt)().then(S)},T=e=>{"outside"===e?w():y(b),(0,d.VE)(e,g),S()};return(0,h.jsxs)(h.Fragment,{children:[t&&(0,h.jsx)(a.Suspense,{fallback:null,children:(0,h.jsx)(n.LT,{title:(0,h.jsx)("span",{"data-article-id":"customize",children:"Customize columns"}),position:"left",onClose:T,className:"UTpwp",pathname:x,children:(0,h.jsx)(p.A,{children:(0,h.jsx)(m,{isEntryPage:u,namespace:e,columns:g,onColumnChange:y,onReset:e=>{e.preventDefault(),y(j)},onSubmit:e=>{e.preventDefault(),(0,d.VE)("submit",g),w()},onCancel:()=>{T("cancel")}})})})}),(0,h.jsxs)(n.$n,{variant:"tertiary",onPointerOver:m.preload,onFocus:m.preload,onClick:()=>s(e=>(e?(0,d.VE)("toggle",g):(0,d.iJ)("customise_columns"),!e)),children:[(0,h.jsx)(n.qU,{}),"Customize columns"]})]})}},22270(e,t,s){s.d(t,["A",0,{container:"yvut5","api-request":"bu28O"}])}}]);
2//# sourceMappingURL=modern.input-parameters.50b18d.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.