diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue index 26fe60754587e0d1af0e692eddd2c0663a726c4a..74831a48cafdad595c31d57e03e85af15651636c 100644 --- a/components/content/ArticleSystemDistributionPlot.vue +++ b/components/content/ArticleSystemDistributionPlot.vue @@ -20,7 +20,6 @@ const margin = ref<PlotMargin>({ marginLeft: 40 }) -const { width } = useDisplay(); const systemHits = ref(undefined) const refseqTaxo = ref(undefined) const selectedTaxoRank = ref("phylum") @@ -158,7 +157,7 @@ const distributionOptions = computed(() => { const systemName = computed(() => { const toValPage = toValue(page) - return toValPage?.system ?? toValPage?.title ?? undefined + return toValPage?.refseqSystemName ?? toValPage?.title ?? undefined }) watchEffect(() => { diff --git a/components/content/SystemOperonStructure.vue b/components/content/SystemOperonStructure.vue index 484fe3638baf4938c5c04b4e16e7570b954f6872..d42bf36990c83db93fe8ced14a4b58e9fa970c4c 100644 --- a/components/content/SystemOperonStructure.vue +++ b/components/content/SystemOperonStructure.vue @@ -102,7 +102,7 @@ const sanitizedSubsystem = computed(() => { // if (systemModel) { // return subsystem.replace(pageVal.title, systemModel) // } - // else { + // else { // return subsystem // } return subsystem diff --git a/content/3.defense-systems/avs.md b/content/3.defense-systems/avs.md index 3e06a46638e2d99345585314411ffaa56235c5b2..7d2001fbc4675708e87859561100685303eca4ba 100644 --- a/content/3.defense-systems/avs.md +++ b/content/3.defense-systems/avs.md @@ -1,6 +1,5 @@ --- title: Avs -systemModel: AVAST layout: article tableColumns: article: diff --git a/content/3.defense-systems/cas.md b/content/3.defense-systems/cas.md index 2884191ea8b9e7774903331e9cf2dda61ead912f..c585a1f7a320365490cb0fb75bdd78e49a8c790d 100644 --- a/content/3.defense-systems/cas.md +++ b/content/3.defense-systems/cas.md @@ -1,6 +1,6 @@ --- title: CRISPR-Cas -systemModel: Cas +refseqSystemName: Cas layout: article tableColumns: article: diff --git a/data/refseq_res.csv b/data/refseq_res.csv index 0a1eb9240b45c61ab360341a90d140ed28017fc9..0fd89e32f0f979deb4169647033254ccdd7a7c5d 100644 --- a/data/refseq_res.csv +++ b/data/refseq_res.csv @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cdd04a43d107190f9a80e39be9684f6a130908a45de88b65e31b821393e3b9be -size 68458331 +oid sha256:7815deee611c4aca063202398249fe0bb06701dd1b856ad3cdf08cec5cab6e3c +size 73138407 diff --git a/packages/df-wiki-cli/scripts/fill-local-meilisearch.sh b/packages/df-wiki-cli/scripts/fill-local-meilisearch.sh index 588c51ff479951149d51be74fab08dae9ec093f2..05b3f0cc0efb8c4f53d4db6c1bfa0493bdbbb8a3 100755 --- a/packages/df-wiki-cli/scripts/fill-local-meilisearch.sh +++ b/packages/df-wiki-cli/scripts/fill-local-meilisearch.sh @@ -6,8 +6,8 @@ PUBLIC_DIR=../../../public # system operon structure -df-wiki-cli meilisearch delete-all-documents system-operon-structure -df-wiki-cli content system-operon-structure --tag "1.2.2" --version "1.2.2" --output ${DATA_DIR}/system-structures.csv +df-wiki-cli meilisearch delete-all-documents systemoperonstruct +df-wiki-cli content system-operon-structure --structure ${DATA_DIR}/all_predictions_statistics.tsv --output ${DATA_DIR}/system-structures.csv df-wiki-cli meilisearch update system-operon-structure --file ${DATA_DIR}/system-structures.csv