1.1.1 • Published 6 years ago

fastautil v1.1.1

Weekly downloads
22
License
ISC
Repository
github
Last release
6 years ago

fastautil

Build Status

Auxillary Fasta parser utils for working with fasta object.just Read and parse.

Install

Install fastautil with npm:

$ npm install fastautil

Usage

Reading

var fastautil = require('fastautil');

fasta== new fastautil.Fasta();

var object = fasta.parse('>sequence1\n\
ATGCACGTCACGTCAGTACTCGTCAGTAC\n\
>sequence2\n\
CAGTCCTACTGCATGCATGCATGCATGCATCGATGCATGTCGACTGCATGCATGC\n');

//=>   { 
//   id:1,
//    name: 'sequence1',
//       sequence: 'ATGCACGTCACGTCAGTACTCGTCAGTAC' }
//     { 
//        name: 'sequence2',
//       sequence: 'CAGTCCTACTGCATGCATGCATGCATGCATCGATGCATGTCGACTGCATGCATGC' }

Writing

fasta.write(object);

Contributing

To contribute, clone this repo locally and commit your code on a separate branch.

Please write unit tests for your code, and check that everything works by running the following before opening a pull-request:

$ npm test

Check the issues for ways to contribute.

Contacts

Sahil Shetye [sahilshetye2606@gmail.com](mailto:sahilshetye2606@gmail.com) @sahilshetye

1.1.1

6 years ago

1.1.0

6 years ago

1.0.4-alpha2

6 years ago

1.0.4-alpha1

6 years ago

1.0.4-alpha

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago