benjamin-lee / dnavisualization.org Goto Github PK
View Code? Open in Web Editor NEW๐งฌ๐ Turn DNA sequences into interactive visualizations
Home Page: https://dnavisualization.org
License: Apache License 2.0
๐งฌ๐ Turn DNA sequences into interactive visualizations
Home Page: https://dnavisualization.org
License: Apache License 2.0
The element inside of a b-row
needs to be a b-col
. So this:
<b-row>
<b-dropdown
split
split-href="#foo/bar"
text="Load Example"
class="m-2"
@click="transformExampleSequences"
>
<b-dropdown-item href="#">Sars-Cov2</b-dropdown-item>
<b-dropdown-item href="#">HDV</b-dropdown-item>
<b-dropdown-item href="#">HCV</b-dropdown-item>
</b-dropdown>
<b-col class="pl-0">
<b-form-file
v-model="uploadedFile"
class="w-50"
placeholder="Choose a file or drop it here..."
drop-placeholder="Drop file here..."
accept=".fasta, .fa, .fna, .fas, .frn, .ffn, .txt"
></b-form-file>
</b-col>
</b-row>
should be
<b-row>
<b-col cols=2>
<b-dropdown
split
split-href="#foo/bar"
text="Load Example"
class="m-2"
@click="transformExampleSequences"
>
<b-dropdown-item href="#">Sars-Cov2</b-dropdown-item>
<b-dropdown-item href="#">HDV</b-dropdown-item>
<b-dropdown-item href="#">HCV</b-dropdown-item>
</b-dropdown>
</b-col>
<b-col class="pl-0">
<b-form-file
v-model="uploadedFile"
class="w-50"
placeholder="Choose a file or drop it here..."
drop-placeholder="Drop file here..."
accept=".fasta, .fa, .fna, .fas, .frn, .ffn, .txt"
></b-form-file>
</b-col>
</b-row>
The cols=2
tell us that we only want the button to be two columns wide.
Loading a fasta file doesn't work on the latest code from the main branch. I see these errors in Chrome developers view:
home.js:111 Uncaught TypeError: window.parse_fasta is not a function
at Object.load (home.js:111)
at FileReader.reader.(:5000/anonymous function) (http://127.0.0.1:5000/static/js/filereader.js:347:31)
xxxxxxx.METHOD.parquet.sz
seqs
variable (wontfix)We can use HBB as our demo for now, since that seems to be the standard demo of DNA sequence visualization
Unless David-Desmaisons/vue-plotly#26 can be fixed, we'll need to switch back to https://github.com/statnett/vue-plotly since it doesn't produce gigantic bundles.
Should be able to paste a sequence and then paste another sequence.
It doesn't make a ton of sense to have a separate button
It seems that using the tooltip component is breaking the b-button-toolbar component. The directive will probably work better: https://bootstrap-vue.org/docs/components/tooltip#tooltips
I've already done it for one, just need to have a button that triggers a modal for choosing your data format and dimensions
Link to GH issues with a bug report template
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Right now, we're using the default highcharts export button, but it's possible use a custom button to trigger exporting to maintain our visual style.
https://api.highcharts.com/class-reference/Highcharts.Chart%23exportChart#exportChart
At least until there is testing of the plotting. This update might break things: AssemblyScript/assemblyscript#1559
Use a modal with a form input wired up to a button
This is the same as file mode vs sequence mode.
Steps:
currentMethod
attribute in the Vuex state.add Sars-CoV2, etc.
So the page doesn't seem to freeze while computing
When method != squiggle
It shows like this: Bases plotted along a unit vector. Captures GC skew. <var>x</var>-coordinates do not map to base position. No support for non-ATGC bases.
for these, just remove the var
tags
This depends on #80.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.