Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
ORG.Annotate
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ORG.Asm
ORG.Annotate
Commits
cfdc6fcd
Commit
cfdc6fcd
authored
Oct 09, 2016
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For a given protein consider only cluster with at list a score of 95% of
the best score
parent
79d7c6cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
detectors/cds/lib/bestclust.awk
detectors/cds/lib/bestclust.awk
+19
-2
No files found.
detectors/cds/lib/bestclust.awk
View file @
cfdc6fcd
...
...
@@ -77,7 +77,7 @@ BEGIN {
}
END
{
ClustScoreMax
=
0
# make clusters
pi
=
-
1
for
(
i
in
Cover
)
{
...
...
@@ -103,12 +103,29 @@ END {
Clust
[
clusno
][
"score"
]
=
score
Clust
[
clusno
][
"strand"
]
=
Entry
[
i
][
"strand"
]
Clust
[
clusno
][
"entry"
]
=
i
if
(
score
>
ClustScoreMax
)
ClustScoreMax
=
score
}
}
# Consider only cluster with at least 95% of the best score
NbClustOk
=
0
for
(
i
=
1
;
i
<=
NbClust
;
i
++
)
{
if
(
Clust
[
i
][
"score"
]
>=
ClustScoreMax
*
0.95
)
NbClustOk
++
else
Clust
[
i
][
"score"
]
=
0
}
# print cluster info
print
"c nclust"
,
NbClust
+
0
print
"c nclust"
,
NbClust
Ok
+
0
for
(
i
=
1
;
i
<=
NbClust
;
i
++
)
{
if
(
Clust
[
i
][
"score"
]
==
0
)
continue
print
"c cluster"
,
i
,
"from"
,
Clust
[
i
][
"from"
],
"to"
,
Clust
[
i
][
"to"
],
\
"strand"
,
Clust
[
i
][
"strand"
],
"score"
,
Clust
[
i
][
"score"
]
}
...
...
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