Skip to main content

FASTQ utilities

Project description

heyfastq

CI PyPI version

FASTQ sequence file utilities, written in pure Python, with no dependencies.

Summary

The package comes with one program, heyfastq, which provides utilities for single or paired FASTQ files.

Installation

Install from PyPi with:

pip install heyfastq

Or get the dev version from GitHub:

git clone https://github.com/kylebittinger/heyfastq.git
pip install .

Usage

Run heyfastq -h to learn more about usage options.

As dependency

To include heyfastqlib in your own Python code, include it as a dependency (only available via GH atm). Then import the objects/functions you need and enjoy your fastqs.

e.g. your very own wrapper for fastq_parse that only returns the sequences

import gzip
from heyfastqlib.io import parse_fastq
from typing import Generator

def fastq_reads(path: str) -> Generator[str, None, None]:
    with gzip.open("/path/to/my_file_R1.fastq.gz", "rt") as f:
        return (read.seq for read in parse_fastq(f.readlines()))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heyfastq-0.0.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heyfastq-0.0.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file heyfastq-0.0.2.tar.gz.

File metadata

  • Download URL: heyfastq-0.0.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for heyfastq-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8d90b5a5b7fbc2d376a215622ccb5bb8ea59039e7f1e2f6b8ab1dda1293f27cb
MD5 64395f0feaffbe251514fdee41b80fbc
BLAKE2b-256 aef35164216964efece416d736b748dbf74e02a16c9baf18c5a48ef666393f21

See more details on using hashes here.

Provenance

The following attestation bundles were made for heyfastq-0.0.2.tar.gz:

Publisher: release.yml on PennChopMicrobiomeProgram/heyfastq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file heyfastq-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: heyfastq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for heyfastq-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4be1862ae82381529be14be1d8f81803787137405e2db9dbd6046bfc90811d37
MD5 410ebe46873964afcbb13bd02c8587a1
BLAKE2b-256 655a122ad690ce24f1282ee3d3964ed84721747bc2f2bb413e4520155fdbd1f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for heyfastq-0.0.2-py3-none-any.whl:

Publisher: release.yml on PennChopMicrobiomeProgram/heyfastq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page