24小时热门版块排行榜    

查看: 1943  |  回复: 11
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

nufang19a

金虫 (正式写手)


[求助] modeller multiple templates求助

from modeller import *

log.verbose()
env = environ()
env.io.atom_files_directory = './:../atom_files/'

aln = alignment(env)
for (code, chain) in (('2mdh', 'A'), ('1bdm', 'A'), ('1b8p', 'A')):
    mdl = model(env, file=code, model_segment=('FIRST:'+chain, 'LAST:'+chain))
    aln.append_model(mdl, atom_files=code, align_codes=code+chain)

for (weights, write_fit, whole) in (((1., 0., 0., 0., 1., 0.), False, True),
                                    ((1., 0.5, 1., 1., 1., 0.), False, True),
                                    ((1., 1., 1., 1., 1., 0.), True, False)):
    aln.salign(rms_cutoff=3.5, normalize_pp_scores=False,
               rr_file='$(LIB)/as1.sim.mat', overhang=30,
               gap_penalties_1d=(-450, -50),
               gap_penalties_3d=(0, 3), gap_gap_score=0, gap_residue_score=0,
               dendrogram_file='fm00495.tree',
               alignment_type='tree', # If 'progresive', the tree is not
                                      # computed and all structues will be
                                      # aligned sequentially to the first
               feature_weights=weights, # For a multiple sequence alignment only
                                        # the first feature needs to be non-zero
               improve_alignment=True, fit=True, write_fit=write_fit,
               write_whole_pdb=whole, output='ALIGNMENT QUALITY')

aln.write(file='fm00495.pap', alignment_format='PAP')
aln.write(file='fm00495.ali', alignment_format='PIR')

aln.salign(rms_cutoff=1.0, normalize_pp_scores=False,
           rr_file='$(LIB)/as1.sim.mat', overhang=30,
           gap_penalties_1d=(-450, -50), gap_penalties_3d=(0, 3),
           gap_gap_score=0, gap_residue_score=0, dendrogram_file='1is3A.tree',
           alignment_type='progressive', feature_weights=[0]*6,
           improve_alignment=False, fit=False, write_fit=True,
           write_whole_pdb=False, output='QUALITY')

这一段中,粗体字部分看不懂,期待得到解答,先谢谢了
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nufang19a

金虫 (正式写手)


write_fit 明白了
If write_fit is True, the fitted atom files are written out in their final fitted orientations
5楼2012-03-03 16:36:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 12 个回答

nufang19a

金虫 (正式写手)


对于gap_penalties_1d明白了,在modeller网站上查到这样一句话
The gap initiation and extension penalties are specified by gap_penalties_1d. The default values of -900 -50 for the 'as1.sim.mat' similarity matrix were found to be optimal for pairwise alignments of sequences that share from 30% to 45% sequence identity (RS and AŠ, in preparation).
3楼2012-02-29 10:39:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nufang19a

金虫 (正式写手)


rr_file 也明白了
rr_file is the residue-residue substitution matrix to use when calculating the position-specific scoring matrix (PSSM).
4楼2012-02-29 15:02:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nufang19a

金虫 (正式写手)


write_whole_pdb
明白了
If write_whole_pdb is True, the whole PDB files are written out; otherwise only the parts corresponding to the aligned sequences are output.
6楼2012-03-03 16:40:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 浙江教授:国内知名学者要尽量少发论文,尽量只研究卡脖子问题-别人做不了的研究 +3 zju2000 2026-11-29 4/200 2026-11-30 10:35 by syl200707
[公派出国] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +8 1VHV9UkX7sid 2026-11-26 12/600 2026-11-27 22:01 by Uywcrj8sNxLZ
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 p1TifTPkqG3A 2026-11-27 3/150 2026-11-27 19:48 by FlRlcTrDsDoO
[考博] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 p1TifTPkqG3A 2026-11-27 3/150 2026-11-27 19:26 by FlRlcTrDsDoO
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 kTIKZRt5HnP0 2026-11-27 3/150 2026-11-27 19:00 by XTPLXDTeEwbs
[教师之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +5 J9NGDvAaPB9L 2026-11-27 5/250 2026-11-27 18:35 by XTPLXDTeEwbs
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 J9NGDvAaPB9L 2026-11-26 3/150 2026-11-27 18:16 by XTPLXDTeEwbs
[博后之家] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 Gp6vMAD5C53H 2026-11-26 3/150 2026-11-27 17:52 by HaAiYedD27eq
[考博] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 mzU8LdVQMwOf 2026-11-26 4/200 2026-11-27 17:43 by HaAiYedD27eq
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 mzU8LdVQMwOf 2026-11-26 4/200 2026-11-27 17:41 by HaAiYedD27eq
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +5 mzU8LdVQMwOf 2026-11-26 5/250 2026-11-27 17:30 by HaAiYedD27eq
[考研] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +7 mzU8LdVQMwOf 2026-11-26 7/350 2026-11-27 17:29 by HaAiYedD27eq
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +6 mzU8LdVQMwOf 2026-11-26 7/350 2026-11-27 17:25 by HaAiYedD27eq
[找工作] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +7 1VHV9UkX7sid 2026-11-26 7/350 2026-11-27 17:21 by HaAiYedD27eq
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +7 1VHV9UkX7sid 2026-11-26 10/500 2026-11-27 17:19 by HaAiYedD27eq
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +5 1VHV9UkX7sid 2026-11-26 6/300 2026-11-27 17:10 by HaAiYedD27eq
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 N80hyqiqCeT2 2026-11-26 4/200 2026-11-27 13:52 by aTZfRIGzowsS
[教师之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 N80hyqiqCeT2 2026-11-26 3/150 2026-11-27 13:50 by aTZfRIGzowsS
[考博] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +6 1VHV9UkX7sid 2026-11-26 7/350 2026-11-27 12:24 by aTZfRIGzowsS
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 kTIKZRt5HnP0 2026-11-27 3/150 2026-11-27 10:44 by I5Uih4YWUbaa
信息提示
请填处理意见