SSR (misa + primer3 ) 设计SSR引物

先下载 primer3 和 misa 相关文件

# 下载 primer3
conda search primer3 
conda install -y primer3
# misa 相关的文件下载百度云里面的,其他网站的好像都不能用,自己改了一下之前的脚本可以正常运行

misa 相关文件放在百度云链接:https://pan.baidu.com/s/1C4eU30yyLr7iNGiuGEmPtg
提取码:dypg
文件包括misa.ini(参数设置), misa.pl(perl脚本),p3_in.pl,p3_out.pl

misa.ini为SSR鉴定参数,默认:
definition(unit_size,min_repeats):1-10 2-6 3-5 4-5 5-5 6-5
interruptions(max_difference_for_2_SSRs):100
参数说明:1个碱基重复10次及10次以上;2个碱基重复6次及6次以上;3个碱基重复5次及5次以上;4个碱基重复5次及5次以上;5个碱基重复5次及5次以上;6碱基重复5次及5次以上的碱基重复序列算是微卫星序列。两个微卫星之间的距离小于100bp的时候,两个微卫星组成一个复合微卫星。

  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
Vue 3 and NestJS can be combined to build a server-side rendered (SSR) application. SSR allows Vue application to be rendered on the server before being sent to the client, which provides benefits like better SEO and initial page load performance. To use Vue 3 with NestJS for SSR, you can follow these steps: 1. Set up a new NestJS project by installing the NestJS CLI globally: `npm install -g @nestjs/cli` 2. Create a new NestJS project using the CLI: `nest new project-name` 3. Install the necessary dependencies for SSR: `npm install vue vue-server-renderer express` 4. Create a new Vue 3 application inside the NestJS project. You can use the Vue CLI to scaffold the Vue application: `vue create client` 5. Configure Vue Router and Vuex as needed for your application. 6. Create a server.ts file in the root of your project and configure an Express server with SSR support. Here's an example: ```typescript import 'reflect-metadata'; import { createSSRApp } from 'vue'; import { renderToString } from '@vue/server-renderer'; import * as express from 'express'; import { readFileSync } from 'fs'; import { join } from 'path'; async function bootstrap() { const app = express(); const template = readFileSync(join(__dirname, 'client', 'public', 'index.html'), 'utf-8'); const serverBundle = require('./client/dist/server.json'); const appContext = {}; const renderer = await createRenderer(serverBundle, template); app.use(express.static(join(__dirname, 'client', 'dist'))); app.get('*', async (req, res) => { try { const appInstance = await createSSRApp(App); appInstance.use(router); appInstance.use(store); await router.push(req.originalUrl); await router.isReady(); const html = await renderer.renderToString(appInstance, appContext); res.send(html); } catch (error) { res.status(500).send('Internal Server Error'); } }); await app.listen(3000); } bootstrap(); ``` Please note that this is a simplified example, and you may need to adjust it based on your specific project structure and requirements. The example assumes you have a `client` folder for your Vue application and that the server-side bundle is generated in `client/dist`. 7. Build your Vue application for production: `npm run build` inside the `client` folder. 8. Start your NestJS server: `npm run start`. With these steps, you should have a Vue 3 + NestJS SSR application running. Keep in mind that this is just a basic setup, and you can extend it further based on your project needs.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值