Skip to content
Snippets Groups Projects
Commit a6674076 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

optional title and abstract

parent e217d615
Branches
No related tags found
1 merge request!5Optional title abstract
Pipeline #111362 failed
...@@ -11,6 +11,9 @@ const { article } = useFetchArticle(props.doi) ...@@ -11,6 +11,9 @@ const { article } = useFetchArticle(props.doi)
const show = ref(false) const show = ref(false)
console.log(article) console.log(article)
const articleTitle = computed(() => { return props?.title ?? article.value?.title ?? props.doi })
const articleAbstract = computed(() => { return props.abstract ?? article.value?.abstract })
</script> </script>
<template> <template>
<v-list-item :href="article?.href" :target="article?.target"> <v-list-item :href="article?.href" :target="article?.target">
...@@ -22,13 +25,13 @@ console.log(article) ...@@ -22,13 +25,13 @@ console.log(article)
<v-card flat color="transparent" density="compact"> <v-card flat color="transparent" density="compact">
<v-card-item density="compact"> <v-card-item density="compact">
<v-card-title><span class="text-subtitle-1 font-weight-bold">{{ article?.title ?? props?.title ?? props.doi <v-card-title><span class="text-subtitle-1 font-weight-bold">{{ articleTitle
}}</span></v-card-title> }}</span></v-card-title>
<v-card-subtitle> {{ article?.subtitle ?? "no subtitle" }}</v-card-subtitle> <v-card-subtitle> {{ article?.subtitle ?? "no subtitle" }}</v-card-subtitle>
<v-card-subtitle> {{ article?.containerTitle ?? "no containerTitle" }} ({{ article?.year <v-card-subtitle> {{ article?.containerTitle ?? "no containerTitle" }} ({{ article?.year
}})</v-card-subtitle> }})</v-card-subtitle>
</v-card-item> </v-card-item>
<v-card-actions v-if="article?.abstract ?? props.abstract" density="compact"> <v-card-actions v-if="articleAbstract" density="compact">
<v-btn size="x-small" variant="outlined" :append-icon="show ? 'mdi-chevron-up' : 'mdi-chevron-down'" <v-btn size="x-small" variant="outlined" :append-icon="show ? 'mdi-chevron-up' : 'mdi-chevron-down'"
@click.stop.prevent="show = !show">Abstract</v-btn> @click.stop.prevent="show = !show">Abstract</v-btn>
</v-card-actions> </v-card-actions>
...@@ -36,7 +39,7 @@ console.log(article) ...@@ -36,7 +39,7 @@ console.log(article)
<v-expand-transition> <v-expand-transition>
<v-card v-show="show" flat color="transparent"> <v-card v-show="show" flat color="transparent">
<v-card-text> <v-card-text>
{{ article?.abstract ?? props.abstract }} {{ articleAbstract }}
</v-card-text> </v-card-text>
</v-card> </v-card>
......
...@@ -36,8 +36,9 @@ function filterOnlyCapsText(value, query, item) { ...@@ -36,8 +36,9 @@ function filterOnlyCapsText(value, query, item) {
<v-chip variant="text" link :to="`${item.columns.system.path}`">{{ <v-chip variant="text" link :to="`${item.columns.system.path}`">{{
item.columns.system.name }}</v-chip> item.columns.system.name }}</v-chip>
</template> </template>
<template #[`item.doi`]="{ item }"> <template #[`item.article`]="{ item }">
<ArticleDoiList v-if="item.columns?.doi" :items="[item.columns.doi]" :divider="false" /> <ArticleDoi v-if="item.columns?.article" :doi="item.columns.article.doi"
:title="item.columns.article?.title" :abstract="item.columns.article?.abstract" :divider="false" />
</template> </template>
</v-data-table> </v-data-table>
</v-card> </v-card>
......
--- ---
title: Abi2 title: Abi2
tableColumns: tableColumns:
article:
doi: 10.1016/j.mib.2005.06.006 doi: 10.1016/j.mib.2005.06.006
abstract: |
Abortive infection (Abi) systems, also called phage exclusion, block phage multiplication and cause premature bacterial cell death upon phage infection. This decreases the number of progeny particles and limits their spread to other cells allowing the bacterial population to survive. Twenty Abi systems have been isolated in Lactococcus lactis, a bacterium used in cheese-making fermentation processes, where phage attacks are of economical importance. Recent insights in their expression and mode of action indicate that, behind diverse phenotypic and molecular effects, lactococcal Abis share common traits with the well-studied Escherichia coli systems Lit and Prr. Abis are widespread in bacteria, and recent analysis indicates that Abis might have additional roles other than conferring phage resistance.
--- ---
The Abi2 system is composed of one protein: Abi_2. The Abi2 system is composed of one protein: Abi_2.
......
--- ---
title: AbiA title: AbiA
tableColumns: tableColumns:
article:
doi: 10.1016/j.mib.2005.06.006 doi: 10.1016/j.mib.2005.06.006
abstract: |
Abortive infection (Abi) systems, also called phage exclusion, block phage multiplication and cause premature bacterial cell death upon phage infection. This decreases the number of progeny particles and limits their spread to other cells allowing the bacterial population to survive. Twenty Abi systems have been isolated in Lactococcus lactis, a bacterium used in cheese-making fermentation processes, where phage attacks are of economical importance. Recent insights in their expression and mode of action indicate that, behind diverse phenotypic and molecular effects, lactococcal Abis share common traits with the well-studied Escherichia coli systems Lit and Prr. Abis are widespread in bacteria, and recent analysis indicates that Abis might have additional roles other than conferring phage resistance.
--- ---
The AbiA system have been describe in a total of 2 subsystems. The AbiA system have been describe in a total of 2 subsystems.
......
--- ---
title: AbiB title: AbiB
tableColumns: tableColumns:
article:
doi: 10.1016/j.mib.2005.06.006 doi: 10.1016/j.mib.2005.06.006
abstract: |
Abortive infection (Abi) systems, also called phage exclusion, block phage multiplication and cause premature bacterial cell death upon phage infection. This decreases the number of progeny particles and limits their spread to other cells allowing the bacterial population to survive. Twenty Abi systems have been isolated in Lactococcus lactis, a bacterium used in cheese-making fermentation processes, where phage attacks are of economical importance. Recent insights in their expression and mode of action indicate that, behind diverse phenotypic and molecular effects, lactococcal Abis share common traits with the well-studied Escherichia coli systems Lit and Prr. Abis are widespread in bacteria, and recent analysis indicates that Abis might have additional roles other than conferring phage resistance.
--- ---
The AbiB system is composed of one protein: AbiB. The AbiB system is composed of one protein: AbiB.
......
--- ---
title: AbiC title: AbiC
tableColumns:
doi: 10.1016/j.mib.2005.06.006
--- ---
The AbiC system is composed of one protein: AbiC. The AbiC system is composed of one protein: AbiC.
......
--- ---
title: AbiD title: AbiD
tableColumns:
doi: 10.1016/j.mib.2005.06.006
--- ---
The AbiD system is composed of one protein: AbiD. The AbiD system is composed of one protein: AbiD.
......
--- ---
title: AbiE title: AbiE
tableColumns:
doi: 10.1016/j.mib.2005.06.006
--- ---
AbiE is a family of an anti-phage defense systems. They act through a Toxin-Antitoxin mechanism, and are comprised of a pair of genes, with one gene being toxic while the other confers immunity to this toxicity. AbiE is a family of an anti-phage defense systems. They act through a Toxin-Antitoxin mechanism, and are comprised of a pair of genes, with one gene being toxic while the other confers immunity to this toxicity.
......
--- ---
title: AbiG title: AbiG
tableColumns:
doi: 10.1016/j.mib.2005.06.006
--- ---
The AbiG system is composed of 2 proteins: AbiGi and, AbiGii. The AbiG system is composed of 2 proteins: AbiGi and, AbiGii.
......
--- ---
title: AbiH title: AbiH
tableColumns: tableColumns:
article:
doi: 10.1111/j.1574-6968.1996.tb08446.x doi: 10.1111/j.1574-6968.1996.tb08446.x
abstract: |
A gene which encodes resistance by abortive infection (Abi+) to bacteriophage was cloned from Lactococcus lactis ssp. lactis biovar. diacetylactis S94. This gene was found to confer a reduction in efficiency of plating and plaque size for prolate-headed bacteriophage φ53 (group I of homology) and total resistance to the small isometric-headed bacteriophage φ59 (group III of homology). The cloned gene is predicted to encode a polypeptide of 346 amino acid residues with a deduced molecular mass of 41 455 Da. No homology with any previously described genes was found. A probe was used to determine the presence of this gene in two strains on 31 tested.
--- ---
## Example of genomic structure ## Example of genomic structure
......
--- ---
title: AbiV title: AbiV
tableColumns: tableColumns:
article:
doi: 10.1128/AEM.00780-08 doi: 10.1128/AEM.00780-08
--- ---
......
--- ---
title: Rst_PARIS title: Rst_PARIS
tableColumns:
doi: https://doi.org/10.1101/2021.01.21.427644
--- ---
## Description ## Description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment