Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ChIA-PET_network
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
ReGArDS
ChIA-PET_network
Commits
50acb5a3
Commit
50acb5a3
authored
4 years ago
by
nfontrod
Browse files
Options
Downloads
Patches
Plain Diff
src/find_interaction_cluster/__main__.py: modifications to use the adapt functions
parent
9a838f6c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/find_interaction_cluster/__main__.py
+13
-9
13 additions, 9 deletions
src/find_interaction_cluster/__main__.py
with
13 additions
and
9 deletions
src/find_interaction_cluster/__main__.py
+
13
−
9
View file @
50acb5a3
...
...
@@ -13,15 +13,16 @@ from .config import ConfigGraph
from
typing
import
List
from
.install_hipMCL
import
install_hipmcl
from
.sf_and_communities
import
multiple_stat_launcher
from
.nt_and_community
import
multiple_nt_lm
m
_launcher
from
.nt_and_community
import
multiple_nt_lm_launcher
from
.create_ppi_files
import
ppi_stat_launcher
import
logging
from
..logging_conf
import
logging_def
from
.colocalisation_n_ppi_analysis
import
coloc_ppi_stat_main
@lp.parse
(
weight
=
range
(
1
,
11
),
global_weight
=
range
(
11
),
feature
=
(
'
gene
'
,
'
exon
'
),
region
=
(
''
,
'
exon
'
,
'
intron
'
,
'
gene
'
),
iteration
=
"
iteration > 20
"
,
test_type
=
(
'
lm
m
'
,
'
perm
'
),
iteration
=
"
iteration > 20
"
,
test_type
=
(
'
lm
'
,
'
perm
'
),
component_type
=
(
"
nt
"
,
"
aa
"
,
"
dnt
"
))
def
launcher
(
weight
:
int
=
1
,
global_weight
:
int
=
0
,
...
...
@@ -29,7 +30,7 @@ def launcher(weight: int = 1,
ps
:
int
=
ConfigGraph
.
cpu
,
html_fig
:
bool
=
False
,
feature
:
str
=
'
exon
'
,
region
:
str
=
''
,
component_type
:
str
=
'
nt
'
,
iteration
:
int
=
1000
,
test_type
:
str
=
"
lm
m
"
,
iteration
:
int
=
1000
,
test_type
:
str
=
"
lm
"
,
project
:
str
=
"
GSM1018963_GSM1018964
"
,
logging_level
:
str
=
"
DISABLE
"
):
"""
...
...
@@ -68,13 +69,16 @@ def launcher(weight: int = 1,
html_fig
,
feature
,
logging_level
)
multiple_stat_launcher
(
ps
,
weight
,
global_weight
,
project
,
same_gene
,
feature
,
logging_level
)
multiple_nt_lm
m
_launcher
(
ps
,
weight
,
global_weight
,
project
,
same_gene
,
feature
,
region
,
component_type
,
test_type
,
iteration
,
logging_level
)
multiple_nt_lm_launcher
(
ps
,
weight
,
global_weight
,
project
,
same_gene
,
feature
,
region
,
component_type
,
test_type
,
iteration
,
logging_level
)
if
feature
==
"
gene
"
:
ppi_stat_launcher
(
weight
,
global_weight
,
project
,
same_gene
,
ConfigGraph
.
ppi_threshold
,
iteration
,
logging_level
)
# ppi_stat_launcher(weight, global_weight, project, same_gene,
# ConfigGraph.ppi_threshold, iteration,
# logging_level)
coloc_ppi_stat_main
(
weight
,
global_weight
,
project
,
same_gene
,
iteration
,
logging_level
)
launcher
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment