fastx_reader

FastQ and Fasta readers for NIM

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

Summary

Latest Version 0.1.0
License LGPL-3.0
CI Status Failing
Downloads 0
Last Indexed 2026-09-03 07:22

Authors

  • Andreas Hauser

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

Dependencies

Package Version Optional
nim >= 0.20.0 No

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"