Fastq Handler
A python module to process ONT fastq files by concatenating reads as they are generated during a sequencing run
INTRODUCTION
The fastqc-handler module screens folders and subfolders for fastq (fastq or fastq.gz format) files and concatenates them iteratively. This is useful for merging same-sample reads that are split into multiple files, as commonly obtained in ONT sequencing. The output is a one file per output fastq.gz, containing all reads from the previous files. The output directory structure is maintained.
INPUT
A directory containing fastq files. The files can be in subfolders (each representing a different sample). The files can be gzipped or not.
API
usage: fastq_handler [-h] -i IN_DIR -o OUT_DIR [-s SLEEP] [-n TAG] [--keep_names] [--monitor] [--max-size MAX_SIZE] [--downsize] [--merge]
Process fastq files.
optional arguments:
-h, --help show this help message and exit
-i IN_DIR, --in_dir IN_DIR
Input directory
-o OUT_DIR, --out_dir OUT_DIR
Output directory
-s SLEEP, --sleep SLEEP
Sleep time
-n TAG, --tag TAG name tag, if given, will be added to the output file names
--keep_names keep original file names
--monitor run indefinitely
--max-size MAX_SIZE max size of the output file, in kilobytes
--downsize downsize fastq files to max-size
--merge merge files
REQUIREMENTS
Modules
- dataclasses==0.6
- natsort==8.3.1
- pandas==1.5.3
- setuptools==57.4.0
- xopen==1.7.0
INSTALLATION
python -m venv .venv
source .venv/bin/activate
python -m pip install fastq-handler
MAIN OUTPUTS
Note: The output directory structure is maintained.
- fastq.gz files containing all reads from the previous files.
- log.txt file containing the concatenation process.
Maintainers
Metadata
Release files for fastq-handler 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastq_handler-0.2.0.tar.gz | 21.4 kB | Without provenance | Details for fastq_handler-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastq_handler-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for fastq_handler-0.2.0-py3-none-any.whl |
Total release size: 43.6 kB
Release files / fastq_handler-0.2.0.tar.gz
| Download URL | fastq_handler-0.2.0.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
554d5bd5c617a59541e032492ada5fd5df9483d8449f9edf6905858ca934e430
|
|
BLAKE2b-256 checksum How to use checksums |
fbfbe6d35c162dda80590c5086fec022e8525545ae978055c25b74bd80cda1f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Linux/5.4.0-146-generic
|
Release files / fastq_handler-0.2.0-py3-none-any.whl
| Download URL | fastq_handler-0.2.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cd9ef0b617266632c9d179392bb1f97bf947cef6cfee42ed1e201f554dcaf9c
|
|
BLAKE2b-256 checksum How to use checksums |
b90b19aa1b5143fb3e10c7f4a2a57027adcb6552305e543e72ee8559a5914164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Linux/5.4.0-146-generic
|
Security for fastq-handler 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.