Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
MDM Lab
Wiki
Compare revisions
dc1c61b9bdfca56f48ca88e03b36bc83c4a8e53a to 6df211648eb3d7a9d876fa8d67b85e5a92e7a46c
You need to sign in or sign up before continuing.
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
mdm-lab/wiki
Select target project
No results found
6df211648eb3d7a9d876fa8d67b85e5a92e7a46c
Select Git revision
Swap
Target
mdm-lab/wiki
Select target project
mdm-lab/wiki
hvaysset/wiki
jsousa/wiki
tclabby/wiki
4 results
dc1c61b9bdfca56f48ca88e03b36bc83c4a8e53a
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pages/refseq.vue
+3
-3
3 additions, 3 deletions
pages/refseq.vue
stores/pfam.ts
+5
-1
5 additions, 1 deletion
stores/pfam.ts
with
8 additions
and
4 deletions
pages/refseq.vue
View file @
6df21164
...
@@ -194,7 +194,7 @@ const computedDistriTaxoOptions = computed(() => {
...
@@ -194,7 +194,7 @@ const computedDistriTaxoOptions = computed(() => {
});
});
// const datatable = ref(null)
// const datatable = ref(null)
const
hasToGenerateDownload
=
ref
(
false
)
const
hasToGenerateDownload
=
ref
(
false
)
let
itemsToDownload
=
ref
()
let
itemsToDownload
=
ref
(
[]
)
watch
(
hasToGenerateDownload
,
(
val
)
=>
{
watch
(
hasToGenerateDownload
,
(
val
)
=>
{
console
.
log
(
val
)
console
.
log
(
val
)
...
@@ -211,8 +211,8 @@ watch(hasToGenerateDownload, (val) => {
...
@@ -211,8 +211,8 @@ watch(hasToGenerateDownload, (val) => {
<v-app-bar-nav-icon></v-app-bar-nav-icon>
<v-app-bar-nav-icon></v-app-bar-nav-icon>
<v-toolbar-title>
RefSeq Entries (
{{
itemsLength
}}
)
<v-toolbar-title>
RefSeq Entries (
{{
itemsLength
}}
)
</v-toolbar-title>
</v-toolbar-title>
<JsonCSV
:data=
"itemsToDownload"
name=
"refseq-defenes-system.csv"
>
<JsonCSV
:data=
"itemsToDownload"
name=
"refseq-defenes-system.csv"
>
<v-btn
icon
@
click=
"hasToGenerateDownload = true"
>
<v-btn
disabled
icon
@
click=
"hasToGenerateDownload = true"
>
<v-icon
icon=
"md:download"
></v-icon>
<v-icon
icon=
"md:download"
></v-icon>
<v-tooltip
activator=
"parent"
location=
"bottom"
>
Download
{{
itemsLength
}}
entries
</v-tooltip>
<v-tooltip
activator=
"parent"
location=
"bottom"
>
Download
{{
itemsLength
}}
entries
</v-tooltip>
</v-btn>
</v-btn>
...
...
This diff is collapsed.
Click to expand it.
stores/pfam.ts
View file @
6df21164
...
@@ -3,6 +3,9 @@ import { ref } from 'vue'
...
@@ -3,6 +3,9 @@ import { ref } from 'vue'
import
*
as
d3
from
"
d3
"
;
import
*
as
d3
from
"
d3
"
;
import
{
unref
}
from
'
vue
'
import
{
unref
}
from
'
vue
'
// const { refinedUrl: refinedPfamUrl } = useRefinedUrl('/pfam-a-hmm.csv')
export
interface
PfamContent
{
export
interface
PfamContent
{
body
:
PfamHmm
[]
body
:
PfamHmm
[]
}
}
...
@@ -24,7 +27,8 @@ export const usePfamStore = defineStore('pfam', () => {
...
@@ -24,7 +27,8 @@ export const usePfamStore = defineStore('pfam', () => {
async
function
initPfam
()
{
async
function
initPfam
()
{
if
(
pfam
.
value
.
size
<
1
)
{
if
(
pfam
.
value
.
size
<
1
)
{
const
data
=
await
d3
.
csv
(
"
/pfam-a-hmm.csv
"
);
// const data = await d3.csv(refinedPfamUrl.value);
const
data
=
await
d3
.
csv
(
'
/pfam-a-hmm.csv
'
);
if
(
data
.
length
>
1
)
{
if
(
data
.
length
>
1
)
{
pfam
.
value
=
new
Map
(
data
.
map
(
pfam
=>
{
pfam
.
value
=
new
Map
(
data
.
map
(
pfam
=>
{
return
[
pfam
.
AC
.
split
(
"
.
"
)[
0
],
{
...
unref
(
pfam
)
}];
return
[
pfam
.
AC
.
split
(
"
.
"
)[
0
],
{
...
unref
(
pfam
)
}];
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next