bioseq-ts
Version:
Biological Sequence in Javascript, written in Typescript.
40 lines • 1.32 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.BioSeq = void 0;
var Sequence_1 = require("./Sequence");
/**
* Defines a biological sequence as header and a Sequence object
*
* @class BioSeq
* @extends {Sequence}
*/
var BioSeq = /** @class */ (function (_super) {
__extends(BioSeq, _super);
/**
* Creates an instance of BioSeq.
* @param {string} header
* @param {string} sequence
* @memberof BioSeq
*/
function BioSeq(header, sequence) {
var _this = _super.call(this, sequence) || this;
_this.header = header;
return _this;
}
return BioSeq;
}(Sequence_1.Sequence));
exports.BioSeq = BioSeq;
//# sourceMappingURL=BioSeq.js.map