biojs-io-fasta
Version:
Parses FASTA files
19 lines (18 loc) • 510 B
JavaScript
// Generated by CoffeeScript 1.9.0
module.exports = function(out) {
var i, key, _i, _j, _len, _ref, _ref1;
out = out || {};
for (i = _i = 0, _ref = arguments.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
if (!arguments[i]) {
continue;
}
_ref1 = arguments[i];
for (_j = 0, _len = _ref1.length; _j < _len; _j++) {
key = _ref1[_j];
if (arguments[i].hasOwnProperty(key)) {
out[key] = arguments[i][key];
}
}
}
return out;
};