| profile_list_file = <str:1> |
'' |
list of profiles for PROFILE_PROFILE_SCAN |
| profile_format = <str:1> |
'TEXT' |
'TEXT' | 'BINARY' ; for READ/WRITE_PROFILE |
| rr_file = <str:1> |
'$(LIB)/as1.sim.mat' |
input residue-residue scoring file |
| matrix_offset = <float:1> |
0.00 |
substitution matrix offset for local alignment |
| ccmatrix_offset = <float:1> |
100 |
Offset value for the scoring matrix in PPSCAN |
| gap_penalties_1d = <float:2> |
900 50 |
gap creation and extension penalties for sequence/sequence alignment |
| max_aln_evalue = <float:1> |
0.1 |
Max. E-value of alignments to include in BUILD_PROFILE |
| aln_base_filename = <str:1> |
'alignment' |
basename for construction of alignment filenames used by PROFILE_PROFILE_SCAN |
| score_statistics = <bool:1> |
True |
PROFILE_PROFILE_SCAN: if turned off, the length-normalized z-scores are not computed |
| output_scores = <bool:1> |
False |
whether to output individual scores in a build_profile scan |
| output_score_file = <str:1> |
'default' |
output file for writing out individual scores in seqfilter |
| pssm_weights_type = <str:1> |
'HH1' |
type of weighting to calculate pssm; 'HH0' | 'HH1' | 'PSIC' |
| write_summary = <bool:1> |
True |
whether to write summary information for PPSCAN |
| summary_file = <str:1> |
'ppscan.sum' |
output file for writing PPSCAN summary |
| output_alignments = <bool:1> |
True |
PROFILE_PROFILE_SCAN: if turned off, no alignments will be written out. |
- Example: examples/commands/ppscan.py
-
# Example for: profile.scan()
from modeller import *
env = environ()
# First create a database of PSSMs
env.make_pssmdb(profile_list_file = 'profiles.list',
matrix_offset = -450,
rr_file = '${LIB}/blosum62.sim.mat',
pssmdb_name = 'profiles.pssm',
profile_format = 'TEXT',
pssm_weights_type = 'HH1')
# Read in the target profile
prf = profile(env, file='T3lzt-uniprot90.prf', profile_format='TEXT')
# Read the PSSM database
psm = pssmdb(env, pssmdb_name = 'profiles.pssm', pssmdb_format = 'text')
# Scan against all profiles in the 'profiles.list' file
# The score_statistics flag is set to false since there are not
# enough database profiles to calculate statistics.
prf.scan(profile_list_file = 'profiles.list',
psm = psm,
matrix_offset = -450,
ccmatrix_offset = -100,
rr_file = '${LIB}/blosum62.sim.mat',
gap_penalties_1d = (-700, -70),
score_statistics = False,
output_alignments = True,
output_scores = False,
output_score_file = 'T3lzt-ppscan.scores',
profile_format = 'TEXT',
max_aln_evalue = 1,
aln_base_filename = 'T3lzt-ppscan',
pssm_weights_type = 'HH1',
write_summary = True,
summary_file = 'T3lzt-ppscan.sum')