fasta-tools
v0.2.1
Published
Tools for working with FASTA/FASTQ files (Bioinformatics).
Downloads
4
Readme
fasta-tools
Tools for working with FASTA/FASTQ files (Bioinformatics).
Install
Install using npm:
npm install fasta-tools
Import in your project:
var fasta_tools = require('fasta-tools');
FASTA and FASTQ formats
The FASTA format
The FASTQ format
The FASTA Object format
the FASTQ Object format
API
fasta_tools.read(file, cb)
Read a FASTA/FASTQ file.
fasta_tools.write(file, obj, cb)
Write a FASTA/FASTQ file.
fastq_obj = fasta_tools.toFastQ(fasta_obj, quality)
Converts a FASTA Object to a FASTQ Object assuming a quality score of quality
.
fasta_obj = fasta_tools.toFasta(fastq_obj)
Converts a FASTQ Object to a FASTA Object by removing the quality value of each read.
License
MIT LICENSE © Josemi Juanes.