fastx_reader

FastQ and Fasta readers for NIM

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License LGPL-3.0
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install fastx_reader
choosenim install fastx_reader
git clone https://github.com/ahcm/fastx_reader

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
fastx_reader - - - - - - -

Source

Repository https://github.com/ahcm/fastx_reader
Homepage https://github.com/ahcm/fastx_reader
Documentation View Documentation
Registry Source nimble_official

README

fastx_reader

FastQ and Fasta readers for NIM

Usage

```nim import os let args = commandLineParams() let filename = args[0] case filename[^1] of 'a': for name, sequence in fasta_reader(open(filename)): echo filename, " ", name," ", len(sequence) of 'q': for name, sequence , quality in fastq_reader(open(filename)): echo filename, " ", name," ", len(sequence) else: echo "Don't know whether file is Fasta or FastQ from filename"