Commit ede10f4b authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

factorize home code with the component Analysis Card

parent 37844fe2
<template>
<v-col >
<v-card max-width="600">
<v-card-title> {{title}} </v-card-title>
</hr>
<v-card-text>
{{description}}
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn :to ="link">
{{short_desc}}
</v-btn>
</v-card-actions>
</v-card>
</v-col >
</template>
<script>
export default {
name:"AnalysisCard",
props: ['title', "description", "short_desc","link"]
}
</script>
......@@ -11,43 +11,13 @@
<v-container fluid>
<v-row dense>
<v-col >
<v-card max-width="400">
<v-card-title> Genome wide Analysis </v-card-title>
</hr>
<v-card-text>
Run JASS on a set of traits genome wide, Explore result interactively and download results summary or full genome wide results.
Can take up to ~30 to run depending on the number of trait selected.
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn>
Run Genome Wide Analysis
</v-btn>
</v-card-actions>
</v-card>
</v-col>
<v-card max-width="400">
<v-card-title>Region Analysis</v-card-title>
</hr>
<v-card-text>
Run JASS on a region of interest, Explore result interactively and download results summary or full genome wide results.
Will run quick
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn>
Run Region Analysis
</v-btn>
</v-card-actions>
</v-card>
</v-col>
<AnalysisCard v-for="analysis in analysis" v-bind:key="type" v-bind:title="analysis.title" v-bind:description="analysis.description" v-bind:short_desc="analysis.short_desc" v-bind:link="analysis.link" />
</v-row>
</v-container>
<h2> About </h2>
<p>
Jass is developed by the Statistical Genetics group in collaboration with the HUB
Jass is developed at Institut Pasteur by the <a href="https://research.pasteur.fr/en/team/statistical-genetics/">Statistical Genetics group</a> and the <a href="https://research.pasteur.fr/en/team/bioinformatics-and-biostatistics-hub/">Biostatistic and Bioinformatic HUB</a>
</p>
<v-card>
......@@ -60,7 +30,7 @@
<li>
JASS: command line and web interface for the joint analysis of GWAS results
Hanna Julienne, Pierre Lechat, Vincent Guillemot, Carla Lasry, Chunzi Yao, Robinson Araud, Vincent Laville, Bjarni Vilhjalmsson, Hervé Ménager, Hugues Aschard
in: NAR Genomics and Bioinformatics, Volume 2, Issue 1, March 2020, lqaa003, https://doi.org/10.1093/nargab/lqaa003
in: NAR Genomics and Bioinformatics, Volume 2, Issue 1, March 2020, lqaa003,<a href="https://doi.org/10.1093/nargab/lqaa003">https://doi.org/10.1093/nargab/lqaa003</a>
</li>
<br>
<li>
......@@ -72,7 +42,35 @@
</v-card-text>
</v-card>
</div>
</template>
<script>
import AnalysisCard from "@/components/AnalysisCard.vue"
export default {
components:{
AnalysisCard
},
data () {
return {
analysis: [
{
title: 'Genome wide Analysis',
description:'Run JASS on a set of traits genome wide, Explore result interactively and download results summary or full genome wide results. Can take up to ~30 to run depending on the number of trait selected.',
short_desc: 'Run Genome Wide Analysis',
link:'/phenotypes'
},
{
title: 'Region Analysis',
description: 'Run JASS on a region of interest, Explore results interactively and export them to csv files. This analysis is limited to one chromosome and will run faster than genome wide analysis.',
short_desc: 'Run Region Analysis',
link:'/'
}
]
}
}
}
</script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment