Skip to content

Commit

Permalink
Add biojs msa
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Feb 11, 2018
1 parent 43d45df commit 97cab84
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 0 deletions.
39 changes: 39 additions & 0 deletions config/plugins/visualizations/msa/config/msa.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE visualization SYSTEM "../../visualization.dtd">
<visualization name="Multiple Sequence Alignment">
<description>The MSA viewer is a modular, reusable component to visualize large MSAs interactively on the web.</description>
<data_sources>
<data_source>
<model_class>HistoryDatasetAssociation</model_class>
<test test_attr="ext" result_type="datatype">txt</test>
<to_param param_attr="id">dataset_id</to_param>
</data_source>
</data_sources>
<params>
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param>
</params>
<entry_point entry_point_type="chart" src="static/script.js" func="func"/>
<settings>
<input>
<label>Show conservation</label>
<name>conserv</name>
<help>Do you want to display a bar diagram indicating sequence conservation?</help>
<type>boolean</type>
<value>true</value>
</input>
<input>
<label>Show overview box</label>
<name>conserv</name>
<help>Do you want to display the overview box below the sequence alignments?</help>
<type>boolean</type>
<value>true</value>
</input>
<input>
<label>Show interactive menu</label>
<name>conserv</name>
<help>Do you want to show a menu for interactive configuration?</help>
<type>boolean</type>
<value>true</value>
</input>
</settings>
</visualization>
22 changes: 22 additions & 0 deletions config/plugins/visualizations/msa/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "visualization",
"version": "0.1.0",
"keywords": [
"galaxy",
"visualization"
],
"license": "AFL-3.0",
"dependencies": {
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-preset-env": "^1.6.1",
"backbone": "^1.3.3",
"bootstrap": "^3.3.7",
"es2015": "0.0.0",
"jquery": "^3.1.1",
"msa": "^1.0.3",
"parcel-bundler": "^1.4.1"
},
"scripts": {
"build": "parcel build src/script.js -d static"
}
}
21 changes: 21 additions & 0 deletions config/plugins/visualizations/msa/src/msa.js

Large diffs are not rendered by default.

Binary file added config/plugins/visualizations/msa/static/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions config/plugins/visualizations/msa/static/script.js

Large diffs are not rendered by default.

0 comments on commit 97cab84

Please sign in to comment.