0.2.0 • Published 8 years ago
reverse-complement v0.2.0
reverse-complement
reverse-complement
is a Node.js based tool to convert a DNA sequence into its reverse, complement, or reverse-complement counterpart.
Getting Started
Install the module with: npm install reverse-complement
var rc = require('reverse-complement');
var sequence = 'GAATTCGAT';
rc.reverse(sequence); // "TAGCTTAAG"
rc.complement(sequence); // "CTTAAGCTA"
rc.reverse_complement(sequence); // "ATCGAATTC"
Or you can just run it in command line mode:
reverse-complement -h
reverse-complement GAATTCGAT
reverse-complement -r GAATTCGAT
Documentation
(Coming soon)
Examples
(Coming soon)
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
Version | Comments |
---|---|
0.1.0 | Initial version. |
License
Copyright (c) 2016 Qiang Wang
Licensed under the MIT license.