1import"./reject-DU7Llc4Z.js";import"./find-trmueGpK.js";import{_ as p,m as v,v as f,d as m,c as a,o,b as r,h as b,a as t,W as h,e as g,s as d,aA as y,N as w}from"./index-b2QmkyXD.js";import{U as k}from"./Upsell30x-yTZpYUco.js";const x="/assets/iobio-hero-D8cM16cy.png",U={components:{Upsell30x:k},mounted(){document.title="Gene Analysis - "+this.$config.subText},data(){return{vcfUrl:"",vcfIndexUrl:"",loading:!0}},async created(){await this.loadData()},methods:{...f(["setModal"]),async loadData(){this.loading=!0,await this.$store.dispatch("userReporting/getUserSnpMarker"),this.loading=!1;const{data:s}=await w.getUserDownloadLinksGeneAnalysis(),e=s.find(n=>typeof n=="string"&&n.includes(".vcf.gz")&&!n.includes(".tbi"));if(e){this.vcfUrl=encodeURIComponent(e);const n=s.find(l=>typeof l=="string"&&l.includes(".vcf.gz.tbi"));n&&(this.vcfIndexUrl=encodeURIComponent(n))}}},computed:{...v("userReporting",["snpSource","refresh"])},watch:{async refresh(s){s&&await this.loadData()}}},_={key:0,class:"spinner text-center"},T={key:2,class:"container body"},G={class:"component-body"},R={class:"get-started-button-div"},A={key:0,class:"only-30x"},C={key:1,class:"get-started-button"},I=["href"],M={key:1,class:"disabled-button"},S={key:2,class:"col-12 text-center p-4 mb-4"},F={class:"error"},L={class:"error-text"};function N(s,e,n,l,i,V){const c=m("Upsell30x");
1return o(),a("div",null,[i.loading?(o(),a("div",_,[...e[2]||(e[2]=[t("img",{src:h,width:"100",height:"100"},null,-1),t("p",null,"Loading your report ...",-1)])])):r("",!0),i.loading?r("",!0):(o(),b(c,{key:1})),i.loading?r("",!0):(o(),a("div",T,[t("div",G,[e[11]||(e[11]=t("div",{class:"important"}," IMPORTANT: Please switch to a larger screen in order to use the Gene Analysis tool. For the best experience, we recommend using a laptop/desktop computer. ",-1)),e[12]||(e[12]=t("h1",null,"Gene Analysis",-1)),e[13]||(e[13]=t("div",{class:"page-descriptions"}," Welcome to our Gene Analysis tool powered by gene.iobio. It is a tool that empowers you to examine any gene in your genome and identify important genetic variants and mutations. Here is how it works. ",-1)),t("div",null,[e[10]||(e[10]=g('<div class="how-it-works" data-v-c75d8fb4><div class="step" data-v-c75d8fb4><span class="number" data-v-c75d8fb4>1)</span><div data-v-c75d8fb4> When you click on the âGet Startedâ button your VCF file will be loaded into the Gene Analysis tool in a new tab. </div></div><div class="step" data-v-c75d8fb4><span class="number" data-v-c75d8fb4>2)</span><div data-v-c75d8fb4> Letâs take a look at an interesting gene. Type in âMTHFRâ into the search bar at the top. The MTHFR gene encodes an enzyme that plays an important role in the processing of amino acids, the building blocks of proteins. Some studies suggest that the MTHFR gene could be involved in many medical conditions but the evidence is not conclusive. <a href="https://blog.nebula.org/mthfr/" target="_blank" data-v-c75d8fb4>You can read more about MTHFR in our blog post.</a></div></div><div class="step" data-v-c75d8fb4><span class="number" data-v-c75d8fb4>3)</span><div data-v-c75d8fb4> The Gene Analysis tool will extract genetic variants in the MTHFR gene from your VCF file and display them to you using symbols that have different colors. The colors denote the potential importance of variants. The Gene Analysis tool determines this by referencing the <a href="https://blog.nebula.org/clinvar-tutorial/" target="_blank" data-v-c75d8fb4>ClinVar database</a> and other resources. </div></div><div class="step" data-v-c75d8fb4><span class="number" data-v-c75d8fb4>4)</span><div data-v-c75d8fb4> Do you see any variants that are colored <span style="color:#e51632;font-family:var(--semi-Bold);" data-v-c75d8fb4>red</span>? Those variants could potentially be important. To learn more about such genetic variants you can use various resources. One of the most accessible resources is <a href="https://www.snpedia.com/" target="_blank" data-v-c75d8fb4>SNPedia</a>. You can copy the variant ID (e.g. rs1801131) and search for it in SNPedia. </div></div></div><div class="page-descriptions" data-v-c75d8fb4> You should also take a look at this video to get an overview of other features of the Gene Analysis tool. </div>',2)),t("div",R,[t("div",{class:"get-started-button-video",onClick:e[0]||(e[0]=u=>s.setModal({name:"IobioVideo",active:!0,props:{link:"https://www.youtube.com/embed/K7JLbCv2LcA",title:"GENE.IOBIO 4.0"}}))},[...e[3]||(e[3]=[t("img",{src:x,alt:""},null,-1),t("i",{class:"far fa-play-circle"},null,-1)])]),["bgi","g42","prph"].includes(s.snpSource)?r("",!0):(o(),a("div",A,[...e[4]||(e[4]=[d(" Gene Analysis tool is available with 30x Whole Genomce Sequencing data only! ",-1),t("a",{href:"https://nebula.org/whole-genome-sequencing/?utm_source=nebula&utm_medium=expand_04x_portal&utm_campaign=internal_30x_promotion"},"click to learn more!",-1)])])),i.vcfUrl&&i.vcfIndexUrl?(o(),a("div",C,[["bgi","g42","prph"].includes(s.snpSource)?(o(),a("a",{key:0,href:`https://gene.nebula.org/?species=Human&build=GRCh38&rel0=proband&vcf0=${i.vcfUrl}&tbi0=${i.vcfIndexUrl}`,target:"_blank"}," Launch ",8,I)):(o(),a("a",M,"Launch"))])):(o(),a("div",S,[t("div",F,[e[7]||(e[7]=t("img",{src:y,width:"50",height:"50",class:"error-icon"},null,-1)),e[8]||(e[8]=t("h4",{class:"modal-title"}," Unfortunately there is an issue while loading your VCF file ",-1)),t("div",L,[e[5]||(e[5]=d(" Unfortunately there is an issue while loading your VCF file. Please ",-1)),t("a",{href:"javascript:void(0);",onClick:e[1]||(e[1]=u=>s.setModal({name:"SupportModal",active:!0}))}," contact support team"),e[6]||(e[6]=d(" with your email address and kit ID. ",-1))])])])),e[9]||(e[9]=t("div",{class:"browser"}," Requires Chrome or Firefox browsers. (Data URL expires after 1h. Reload this page to update the URL.) ",-1))])])])]))])}const O=p(U,[["render",N],["__scopeId","data-v-c75d8fb4"]]);export{O as default};
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.