Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PRESCOTT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mustafa Tekpinar
PRESCOTT
Commits
93c1f17a
Commit
93c1f17a
authored
Jan 06, 2023
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added halftracepc to the normalization options
parent
33bc402b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
computePred.R
computePred.R
+10
-1
gemme.py
gemme.py
+2
-1
No files found.
computePred.R
View file @
93c1f17a
...
...
@@ -150,6 +150,15 @@ if((normWeightMode=="maxtracepc") | (normWeightMode=="maxpctrace")){
for
(
row
in
1
:
nrow
(
jet
))
{
trace
<-
append
(
trace
,
(
jet
[
row
,
"pc"
]
+
jet
[
row
,
"cv"
])
/
2.0
)
}
}
else
if
((
normWeightMode
==
"halftracepc"
)
|
(
normWeightMode
==
"halfpctrace"
)){
print
(
paste
(
"Using "
,
normWeightMode
))
for
(
row
in
1
:
nrow
(
jet
))
{
if
(
sum
(
colnames
(
jet
)
==
"traceMax"
)
==
1
){
trace
<-
append
(
trace
,
(
jet
[
row
,
"traceMax"
]
+
jet
[
row
,
"pc"
])
/
2.0
)
}
else
{
trace
<-
append
(
trace
,
(
jet
[
row
,
"trace"
]
+
jet
[
row
,
"pc"
])
/
2.0
)
}
}
}
else
if
((
normWeightMode
==
"maxcvpc"
)
|
(
normWeightMode
==
"maxpccv"
)){
print
(
paste
(
"Using "
,
normWeightMode
))
for
(
row
in
1
:
nrow
(
jet
))
{
...
...
@@ -234,7 +243,7 @@ if((normWeightMode=="maxtracepc") | (normWeightMode=="maxpctrace")){
}
else
{
print
(
"ERROR: Unknown --normWeightMode selected!"
)
print
(
"It can only be 'trace', 'tracemovingaverage', 'pc', 'cv', 'dfi', 'bfactor',"
)
print
(
" 'maxtracepc', 'maxtracecv', 'maxtracepccv', 'halfcvpc', 'maxtracepchalfpccv',"
)
print
(
" 'maxtracepc', 'maxtracecv', 'maxtracepccv', 'halfcvpc', '
halftracepc', '
maxtracepchalfpccv',"
)
print
(
" 'maxtracesc', 'maxtracescpc', 'maxtracedfi' or 'maxtracebfactor'!"
)
}
print
(
trace
)
...
...
gemme.py
View file @
93c1f17a
...
...
@@ -515,6 +515,7 @@ def doit(inAli,mutFile,retMet,bFile,fFile,n,N, jetfile, pdbfile, normWeightMode,
(
normWeightMode
!=
'maxtracecvpc'
)
and
\
(
normWeightMode
!=
'halfpccv'
)
and
\
(
normWeightMode
!=
'halfcvpc'
)
and
\
(
normWeightMode
!=
'halftracepc'
)
and
\
(
normWeightMode
!=
'combinedv1'
)
and
\
(
normWeightMode
!=
'combinedv2'
)
and
\
(
normWeightMode
!=
'combinedv3'
)
and
\
...
...
@@ -529,7 +530,7 @@ def doit(inAli,mutFile,retMet,bFile,fFile,n,N, jetfile, pdbfile, normWeightMode,
" 'maxtracebfactor', 'maxtracepcsc', 'maxhalftracepchalftracecvhalfcvpc', "
+
\
" 'maxtracecv', 'maxtracepccv', maxtracepchalfpccv"
+
\
" 'combinedv1', 'combinedv2', 'combinedv3', 'combinedv4'"
+
\
" 'halfcvpc', 'maxtracehalfcvpc' or maxtracehalftracecvhalfcvpc!"
)
" 'halfcvpc', '
halftracepc', '
maxtracehalfcvpc' or maxtracehalftracecvhalfcvpc!"
)
sys
.
exit
(
-
1
)
structure
=
parsePDB
(
prot
+
".pdb"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment