Wondering what’s next for npm?Check out our public roadmap! »

    fasta-to-object-parser

    1.4.3 • 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

    21

    Version

    1.4.3

    License

    MIT

    Unpacked Size

    19.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar