Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

fasta-to-object-parser

1.3.13 • Public • Published

fasta-to-object-parser

MIT License Build Status

NPM status

How to install?

npm install --save fasta-to-object-parser

How to use?

    const fasta = `
>gi|528476511|ref|NW_004929286.1| Homo sapiens chromosome 1 genomic scaffold, alternate assembly CHM1_1.1
TAACCCTA
CCTAA
    `;
    const data = readFASTA(fasta);

It returns data in the following format:

[
  {
    chromosome: '1',
    description: 'Homo sapiens chromosome 1 genomic scaffold, alternate assembly CHM1_1.1',
    gi: '528476511',
    ref: 'NW_004929286.1',
    sequence: 'TAACCCTACCTAA',
    specie: 'Homo sapiens',
  },
]

Install

npm i fasta-to-object-parser

DownloadsWeekly Downloads

1

Version

1.3.13

License

MIT

Unpacked Size

19 kB

Total Files

10

Last publish

Collaborators

  • avatar