Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
06c9b1b8
Commit
06c9b1b8
authored
3 years ago
by
Maiykol
Browse files
Options
Downloads
Patches
Plain Diff
user input for different PDI and PPI datasets
parent
a5efbbba
No related branches found
No related tags found
No related merge requests found
Pipeline
#11020
failed
3 years ago
Stage: setup
Stage: check
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/config.ts
+8
-1
8 additions, 1 deletion
src/app/config.ts
src/app/dialogs/launch-analysis/launch-analysis.component.ts
+2
-2
2 additions, 2 deletions
src/app/dialogs/launch-analysis/launch-analysis.component.ts
with
10 additions
and
3 deletions
src/app/config.ts
+
8
−
1
View file @
06c9b1b8
...
...
@@ -19,8 +19,11 @@ export interface EdgeGroup {
color
:
string
;
}
export
type
Identifier
=
'
hugo
'
|
'
uniprot
'
;
export
type
Identifier
=
'
hugo
'
|
'
uniprot
'
|
'
ensg
'
;
export
type
InteractionDrugProteinDB
=
'
DrugBank
'
|
'
Chembl
'
|
'
DGIdb
'
;
export
type
InteractionProteinProteinDB
=
'
STRING
'
|
'
BioGRID
'
|
'
APID
'
;
// TODO: should this be external or integrated in the backend?
export
type
InteractionDatabase
=
'
omnipath
'
;
export
interface
IConfig
{
...
...
@@ -43,6 +46,8 @@ export interface IConfig {
showLegendEdges
:
boolean
;
nodeGroups
:
{
[
key
:
string
]:
NodeGroup
};
edgeGroups
:
{
[
key
:
string
]:
EdgeGroup
};
interactionDrugProtein
:
InteractionDrugProteinDB
;
interactionProteinProtein
:
InteractionProteinProteinDB
;
interactions
?:
InteractionDatabase
;
identifier
?:
Identifier
;
}
...
...
@@ -66,6 +71,8 @@ export const defaultConfig: IConfig = {
showFooter
:
true
,
showLegend
:
true
,
identifier
:
'
hugo
'
,
interactionDrugProtein
:
'
DrugBank
'
,
interactionProteinProtein
:
'
STRING
'
,
nodeGroups
:
{
default
:
{
name
:
'
Default Group
'
,
...
...
This diff is collapsed.
Click to expand it.
src/app/dialogs/launch-analysis/launch-analysis.component.ts
+
2
−
2
View file @
06c9b1b8
import
{
Component
,
EventEmitter
,
Input
,
OnChanges
,
OnInit
,
Output
,
SimpleChanges
}
from
'
@angular/core
'
;
import
{
NetexControllerService
}
from
'
src/app/services/netex-controller/netex-controller.service
'
;
import
{
Algorithm
,
AlgorithmType
,
...
...
@@ -10,7 +9,6 @@ import {
QuickAlgorithmType
,
TRUSTRANK
}
from
'
../../services/analysis/analysis.service
'
;
import
{
Wrapper
}
from
'
../../interfaces
'
;
import
{
IConfig
}
from
'
src/app/config
'
;
@
Component
({
...
...
@@ -110,6 +108,8 @@ export class LaunchAnalysisComponent implements OnInit, OnChanges {
input_network
:
this
.
inputNetwork
};
parameters
.
ppi_dataset
=
this
.
config
.
interactionProteinProtein
;
parameters
.
pdi_dataset
=
this
.
config
.
interactionDrugProtein
;
parameters
.
target
=
this
.
target
===
'
drug
'
?
'
drug
'
:
'
drug-target
'
;
// pass network data to reconstruct network in analysis result to connect non-proteins to results
// drop interactions in nodes beforehand to no cause cyclic error, information is contained in edges
...
...
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