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.1.0.tar.gz (10.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.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heyfastq-0.1.0.tar.gz
  • Upload date:
  • Size: 10.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.1.0.tar.gz
Algorithm Hash digest
SHA256 a47b937266c3fff679e86e86a3c4afbd15c98a748f0a1255bd208cd753b645ac
MD5 3304baf242459566a40171cde1080d85
BLAKE2b-256 a0909c83b79cfa5ec07901fc0c645b5de5accb09cd046ccc185e0826f39fe9a9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: heyfastq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed4375afe2f0d386d4ffa9e0eb844f802291e13e46c29e4a05e0845b7b639ad
MD5 386d2f5e7b7dc1758e34d38f8c4a421b
BLAKE2b-256 e608e4d90f4b7c6fc62de5c29ccb2867a9b05a4daa80b5c75fc5d5511c0fe014

See more details on using hashes here.

Provenance

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