构建6元DNA纳米管的脚本

本文介绍了一种使用特定脚本构建六螺旋DNA结构的方法。通过定义DNA链的方向和连接方式,逐步构建了六个DNA螺旋,并详细记录了每个螺旋的生成过程及参数设置。此外,还描述了如何将这些螺旋连接成完整的六螺旋DNA结构。
#this script is used to construct the six helix DNA
#the chain is construct from the bottom to the up acoording the paper
#The first chain 5'->3'
set AutoAd on
set AutoResize on
generate d d b ccacgttggtttactcactattgtcaccttataccacaatcagatccgctcaaccgatgcctagatcggc
write pdb /usr/Namot/helix1
nick 1:2:14
nick 1:3:28
nick 1:4:14
write pdb /usr/Namot/helix1-cut
close
#the second chain 5'->3' which need to rotate 180 degree when link
generate d d b aacatgaatttggctgagtttggcaagctgcaacaatgactgagcagtccgtgtgtggactatatgacac
write pdb /usr/Namot/helix2
nick 1:2:28
nick 1:3:14
write pdb /usr/Namot/helix2-cut
close
#the third chain 5'->3'
generate d d b atcaatcgtgttagacatgacgtagacggtaagtctgcgacgatgtacttattacctaccatctgcattc
write pdb /usr/Namot/helix3
nick 1:2:14
nick 1:3:14
nick 1:4:28
write pdb /usr/Namot/helix3-cut
close
#the forth chain 5'->3' which need to rotate 180 degree when link
generate d d b aagccataactccgagtcgagtgaactgtaacgtacaggtagatagactctgtatctcggtatgtcagct
write pdb /usr/Namot/helix4
nick 1:2:14
nick 1:3:14
nick 1:4:28
write pdb /usr/Namot/helix4-cut
close
#the fifth chain 5'->3'
generate d d b acattgcatcacgacttgataacgaatcttacgacgcagtagagcgagcctaatatcagtatagatgacc
write pdb /usr/Namot/helix5
nick 1:2:28
nick 1:3:14
write pdb /usr/Namot/helix5-cut
close
#the sixth chain 5'->3' which need to rotate 180 degree when link
generate d d b agcagcaattatcctgcaagtgctacactgtgcgtatgcgaatatggacgagctagaacttgcgatatgc
write pdb /usr/Namot/helix6
nick 1:2:14
nick 1:3:28
nick 1:4:14
write pdb /usr/Namot/helix6-cut
close
#load the six helix cut pdb according to the sequence
#load the helix1-cut pdb
load pdb na /usr/Namot/helix1-cut
#load the helix2-cut pdb first need to rotate 180 degree to align the two helixs
load pdb na /usr/Namot/helix2-cut
set color m1:1:*:* blue
set color m2:1:*:* green
rotate 2 1 180
trans 2  0 20 0
rotate 2 3 102
rotate 1 3 68
rotate 1 3 20
rotate 2 3 -15
trans 2 0 -1 0
rotate 2 3 -34
link 2:2:28 1:4:1
link 1:3:28 2:3:1
link 2:3:28 1:2:1
nick 1:2:10
#load the helix3-cut pdb
load pdb na /usr/Namot/helix3-cut
set color m2:1:*:* red
set color m3:1:*:* yellow
trans 3 16.45  28.5 0
rotate 3 3 60
rotate 3 3 20
link 3:3:14 2:3:1
link 1:3:32 3:4:1
link 3:4:14 2:2:1
nick 1:3:53
#load the helix4-cut pdb which need to rotate 180 degree
load pdb na /usr/Namot/helix4-cut
set color m4:1:*:* white
set color m3:1:*:* red
rotate 4 1 180
trans 4  33.77 19.5 0
rotate 4 3 34
link 4:2:14 3:4:1
link 1:4:7 4:3:1
link 4:3:28 3:3:1
link 3:2:14 4:4:1
nick 4:3:21
#load the helix5-cut pdb
load pdb na /usr/Namot/helix5-cut
set color m5:1:*:* red
set color m4:1:*:* yellow
trans 5 33.77 0 0
rotate 5 3 102
rotate 5 3 6
link 3:2:28 5:2:1
link 5:2:14 4:3:1
link 1:4:21 5:3:1
#load the helix6-cut pdb which need to rotate 180 degree
load pdb na /usr/Namot/helix6-cut
set color m6:1:*:* orange
set color m5:1:*:* red
rotate 6 1 180
trans 6 16.89 -9.5 0
rotate 6 3 34
link 1:4:49 6:2:1
link 6:2:28 5:2:1
link 3:2:56 6:3:1
nick 6:2:10
#link the six helix-cut and the first helix-cut
link 1:4:63 1:5:1
link 4:2:70 6:2:1
link 3:2:70 1:2:1
link 4:3:63 6:3:1
write pdb hex6-dna.pdb


基于粒子群优化算法的p-Hub选址优化(Matlab代码实现)内容概要:本文介绍了基于粒子群优化算法(PSO)的p-Hub选址优化问题的研究与实现,重点利用Matlab进行算法编程和仿真。p-Hub选址是物流与交通网络中的关键问题,旨在通过确定最优的枢纽节点位置和非枢纽节点的分配方式,最小化网络总成本。文章详细阐述了粒子群算法的基本原理及其在解决组合优化问题中的适应性改进,结合p-Hub中转网络的特点构建数学模型,并通过Matlab代码实现算法流程,包括初始化、适应度计算、粒子更新与收敛判断等环节。同时可能涉及对算法参数设置、收敛性能及不同规模案例的仿真结果分析,以验证方法的有效性和鲁棒性。; 适合人群:具备一定Matlab编程基础和优化算法理论知识的高校研究生、科研人员及从事物流网络规划、交通系统设计等相关领域的工程技术人员。; 使用场景及目标:①解决物流、航空、通信等网络中的枢纽选址与路径优化问题;②学习并掌握粒子群算法在复杂组合优化问题中的建模与实现方法;③为相关科研项目或实际工程应用提供算法支持与代码参考。; 阅读建议:建议读者结合Matlab代码逐段理解算法实现逻辑,重点关注目标函数建模、粒子编码方式及约束处理策略,并尝试调整参数或拓展模型以加深对算法性能的理解。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值