Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Merge requests
!62
COG to have links to NCBI pages
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
COG to have links to NCBI pages
138-link-to-ncbi-cog
into
dev
Overview
0
Commits
2
Pipelines
1
Changes
3
Merged
Kenzo-Hugo Hillion
requested to merge
138-link-to-ncbi-cog
into
dev
4 years ago
Overview
0
Commits
2
Pipelines
1
Changes
3
Expand
Closes #138
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
06e1f530
2 commits,
4 years ago
3 files
+
25
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
frontend/src/components/eggnogcard/eggnogcard.js
+
9
−
4
Options
@@ -63,11 +63,16 @@ export default {
},
buildEggNogDetails
(
response
)
{
this
.
eggnogVersion
=
response
.
data
.
version
var
eggnogIdItem
=
{
title
:
'
ID
'
,
content
:
response
.
data
.
function_id
,
};
if
(
this
.
eggnogId
.
startsWith
(
'
COG
'
))
{
eggnogIdItem
.
url
=
`https://ftp.ncbi.nih.gov/pub/COG/COG2014/static/byCOG/
${
eggnogIdItem
.
content
}
.html`
;
eggnogIdItem
.
url_label
=
'
Open in NCBI
'
}
this
.
eggnogDetails
=
[
{
title
:
'
ID
'
,
content
:
response
.
data
.
function_id
,
},
eggnogIdItem
,
{
title
:
'
Name
'
,
content
:
response
.
data
.
name
,