Skip to main content

FASTQ utilities

Project description

heyfastq

CI PyPI version DockerHub

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.2.2.tar.gz (19.8 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.2.2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for heyfastq-0.2.2.tar.gz
Algorithm Hash digest
SHA256 053f1a4aa286c57713692f8d22ae7883bbaf1e8f1c5e602c2d4c3c02fb75f12e
MD5 74c42a0523bfdd25ead055daf8392e27
BLAKE2b-256 1e34310e514e712b120b56dde9b560fff9bbc3feabe78b2e922a53b18aa146e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for heyfastq-0.2.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.2.2-py3-none-any.whl.

File metadata

  • Download URL: heyfastq-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0dffe9ce43ec74065959fd34d81b7d928a31c43d522730fa700c3f54cdc8522d
MD5 4565a14abbbe58b55ecd9f7d6353cd14
BLAKE2b-256 76eb7c7e26f5cde7f59002ddd5ed6eb3425434bffdf2c7b2633010ea1319b09f

See more details on using hashes here.

Provenance

The following attestation bundles were made for heyfastq-0.2.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