This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//simple stand-alone script to check if the blast endpoint is working, and returning results in a format that can be | |
// interpreted (i.e., includes RID) | |
// TOGGLE BETWEEN LOCAL AND NCBI | |
const runLocally = true; | |
// CHOOSE ONE QUERY (accessionVersion / Fasta) | |
const query = 'AL111168.1'; | |
//const query = `> A23590235.23 My Great Gene\nACGACTGAACCTGATCATCGACACTGACTACTATCGATCGATCATGcgtcgctcgcctttcgctcgctcgctcgctgcCTACGTGCATCGATCGACTACAGAGCGCGCGCTACATTACGCGCGAGCGACGACGATCTATCGCGCGACTACTGACGATCGCGACTACGACGCA`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you for your interest in the Virion DB Open Source Project (the “Project”), a project owned and hosted by Autodesk, Inc. ("Autodesk"). In order to clarify the intellectual property license granted with Contributions from any person or entity, Autodesk must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor to the Project, indicating agreement to the license terms below. This license is for your protection as a Contributor to the Project as well as the protection of Autodesk and the other Project users; it does not change your rights to use your own Contributions for any other purpose. | |
Please read this document carefully before signing and keep a copy for your records. | |
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Autodesk for use with the Project. Except for the license granted herein to Autodesk and the other Project users, You reserve all right, title, and interest in and to Your Contribut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
$font-path: '../fonts/'; | |
$sprite-path: '../sprites/'; | |
$image-path : '../images/'; | |
@function url-wrap ($root : false, $path : false, $only-path : false, $cachebust : false) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hotkeyModal { | |
display: block; | |
z-index: -1000; | |
&.in { | |
background: rgba(0,0,0,0.5); | |
z-index: 1100; | |
} | |
table { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @ngdoc directive | |
* @name simple-sticky | |
* | |
* @description | |
* Simple directive to create a sticky div, which will remain fixed relative to the top of the page. | |
* | |
* Not super efficient (is throttled, but still) so don't use too many on a page | |
* | |
* @attr simpleSticky {number} number of pixels from top |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/* | |
example usage: <textarea json-edit="myObject" rows="8" class="form-control"></textarea> | |
jsonEditing is a string which we edit in a textarea. we try parsing to JSON with each change. when it is valid, propagate model changes via ngModelCtrl | |
use isolate scope to prevent model propagation when invalid - will update manually. cannot replace with template, or will override ngModelCtrl, and not hide behind facade | |
will override element type to textarea and add own attribute ngModel tied to jsonEditing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('myApp') | |
.run(function ($rootScope) { | |
$rootScope.mixin = function(urls) { | |
if (angular.isUndefined(urls) || urls == '') { | |
return $q.when('no mixin url'); | |
} | |
var deferred = $q.defer(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('bootstrapFormField', []) | |
/** | |
* @name formField | |
* | |
* @description Wrapper for form elements, adding bootstrap classes automatically. Specifically handles according to element type, wrapping appropriately. Also adds Labels and Help blocks. Does not compile internal contents. | |
* | |
* @note The element declared as child of form-field is transcluded, ng-model delcarations will run into prototypical inheritance weirdness (i.e. if you don't declare in the form of "object.field", define as "$parent.object"). Updates to form controls within this directive will not an undefined model. Model should at least be declared as empty object. | |
* | |
* @usage Use in form on elements: input, textarea, select, etc. Not button. Should have one and only one direct child (the field element). That child may have it's own children (e.g. options in a select). If pass removable="fieldName" then will delete key sharable.fieldName. Can pass hide-label to hide label and just show the element and help, but will be overriden fo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This module monitors angularFire's authentication and performs actions based on authentication state. | |
* | |
* See usage examples here: https://gist.github.com/katowulf/7328023 | |
* | |
* This fork adds support for a 'pending' state | |
*/ | |
angular.module('FirebaseWaitForAuth', []) | |
/** |