Skip to content
Snippets Groups Projects
Commit e3203f43 authored by Julian Späth's avatar Julian Späth
Browse files

Add description, change dataset names

parent 5bfa186c
Branches
Tags
No related merge requests found
...@@ -7,18 +7,14 @@ ...@@ -7,18 +7,14 @@
</ng-template> </ng-template>
</ng-select> </ng-select>
<div class="info" *ngIf="selectedDataset && selectedDataset.label === 'CoV2 (Gordon et al., 2020)'"> <div *ngIf="selectedDataset" class="info">
<p>Virus: <b>SARS-CoV-2</b></p> <ul>
<p>Host/target: <b>Human</b>, HEK-293T kidney cells</p> <li *ngIf="selectedDataset.strains"><b>Virus: </b>{{selectedDataset.strains}}</li>
<p>Method: <b>AP-MS</b></p> <li *ngIf="selectedDataset.hostTarget"><b>Host/Target: </b>{{selectedDataset.hostTarget}}</li>
<p>Source:<a href="https://www.biorxiv.org/content/10.1101/2020.03.22.002386v3" target="_blank"> <b> Gordon et al., 2020</b></a></p> <li *ngIf="selectedDataset.method"><b>Method: </b>{{selectedDataset.method}}</li>
</div> <li *ngIf="selectedDataset.source"><b>Source: </b> <a href="{{selectedDataset.source[0]}}"> {{selectedDataset.source[1]}}</a>
</li>
<div class="info" *ngIf="selectedDataset && selectedDataset.label === 'CoV1 (Pfefferle)'"> <li *ngIf="selectedDataset.year"><b>Year: </b>{{selectedDataset.year}}</li>
TODO: Put CoV1 (Pfefferle) </ul>
</div>
<div class="info" *ngIf="selectedDataset && selectedDataset.label === 'CoV1 (VirHostNet)'">
TODO: Put CoV1 (VirHostNet)
</div> </div>
</div> </div>
...@@ -9,7 +9,7 @@ import {Dataset} from '../../interfaces'; ...@@ -9,7 +9,7 @@ import {Dataset} from '../../interfaces';
export class SelectDatasetComponent { export class SelectDatasetComponent {
@Input() selectedDataset; @Input() selectedDataset: Dataset;
@Output() selectedDatasetChange: EventEmitter<any> = new EventEmitter(); @Output() selectedDatasetChange: EventEmitter<any> = new EventEmitter();
@Input() datasetItems: Dataset[]; @Input() datasetItems: Dataset[];
......
...@@ -158,6 +158,10 @@ export interface Drug { ...@@ -158,6 +158,10 @@ export interface Drug {
export interface Dataset { export interface Dataset {
label: string; label: string;
strains: string; strains: string;
hostTarget: string;
method: string;
source: Array<string> | null;
year: number;
datasetNames: string; datasetNames: string;
backendId: string; backendId: string;
data: Array<[string, string]>; data: Array<[string, string]>;
......
...@@ -71,23 +71,37 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -71,23 +71,37 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
public datasetItems: Dataset[] = [ public datasetItems: Dataset[] = [
{ {
label: 'CoV2 (Gordon et al., 2020)', label: 'SARS-CoV-2 (Gordon et al.)',
strains: 'CoV2', strains: 'SARS-CoV-2',
hostTarget: 'Human cell line, HEK-293T kidney cells',
method: 'AP-MS (affinity purification-mass spectrometry)',
source: ['https://www.biorxiv.org/content/10.1101/2020.03.22.002386v3', 'bioRxiv'],
year: 2020,
datasetNames: 'Gordon et al., 2020', datasetNames: 'Gordon et al., 2020',
backendId: 'SARS_CoV2', backendId: 'SARS_CoV2',
data: [['Krogan', 'SARS-CoV2']] data: [['Krogan', 'SARS-CoV2']]
}, },
{ {
label: 'CoV1 (Pfefferle)', label: 'SARS-CoV-1 (Pfefferle et al.)',
strains: 'CoV1', strains: 'SARS-CoV-1',
datasetNames: 'Pfefferle', hostTarget: 'Human brain and fetal brain cDNA libraries in yeast strains',
method: 'High-Throughput Yeast Two Hybrid Screen (HTY2H) and validations with Lumier assay, ' +
'as well as experimentally validated interactions from 20 publications.',
source: null,
year: 2011,
datasetNames: 'Pfefferle et al., 2011',
backendId: 'SARS_CoV1', backendId: 'SARS_CoV1',
data: [['Pfefferle', 'SARS-CoV1']] data: [['Pfefferle', 'SARS-CoV1']]
}, },
{ {
label: 'CoV1 (VirHostNet)', label: 'SARS-CoV-1 (VirHostNet 2.0)',
strains: 'CoV1', strains: 'SARS-CoV-1',
datasetNames: 'VirHostNet', hostTarget: 'Different human cell lines',
method: 'Literature curation, interactions from 14 publications, which have experimental validation by at ' +
'least one of the following assays: co-immunoprecipitation, two hybrid, pull-down, mass spectrometry.',
source: null,
year: null,
datasetNames: 'VirHostNet 2.0',
backendId: 'SARS_CoV1', backendId: 'SARS_CoV1',
data: [['VirHostNet', 'SARS-CoV1']] data: [['VirHostNet', 'SARS-CoV1']]
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>CoVex</title> <title>CoVex</title>
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/ico" href="assets/covex_logo_small.png"> <link rel="icon" type="image/ico" href="assets/covex_logo_small.png">
<script src="https://kit.fontawesome.com/3ad4fe992f.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/3ad4fe992f.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script> <script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
......
...@@ -17,10 +17,12 @@ $info: $primary; ...@@ -17,10 +17,12 @@ $info: $primary;
html { html {
overflow: hidden; overflow: hidden;
height: 100%;
} }
body { body {
overflow: hidden; overflow: hidden;
height: 100%;
} }
.landing { .landing {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment