0.0.21 • Published 8 years ago

biojs-io-clustal v0.0.21

Weekly downloads
5
License
Apache 2
Repository
github
Last release
8 years ago

biojs-io-clustal

Build Status NPM version Dependencies Code Climate NPM downloads

npm install biojs-io-clustal

Use in your browser

Download a compiled version for browser use.

Try out in RequireBin or in Codepen.

How-to

read(url)

Parses an url an calls your parse method with the returned body.

Clustal.read("https://raw.githubusercontent.com/greenify/biojs-io-clustal/blob/master/test/p53.clustalo.clustal", function(err, model) {
	// model is the parsed url
});

If callback is undefined, read returns a promise.

Clustal.read("https://raw.githubusercontent.com/greenify/biojs-io-clustal/blob/master/test/p53.clustalo.clustal").then(function(model) {
	// model is the parsed url
}, function(err){
	console.error("err happened during downloading", err);
});

function is your async callback.

parse(str)

var seqs = Clustal.parse(str);

Sequence object

this.seq 
this.name 
this.id 

License

Apache 2

0.0.21

8 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago