Skip to main content

sbio

Collection of simple Bioinformatic tools.

fastq_quality

Script usage:
fastq_quality.py -r1 *R1*.fastq.gz -r2 *R2*.fastq.gz
fastq_quality.py -h

Module usage:
from sbio.fastq_quality import FASTQ_Quality
fq = FASTQ_Quality(read1, read2, sampling_number)
fq.run()

Files must be .gz zipped
Paired reads must contain _R1 or _R2 in file name

Along with the FASTQ file and sample name 5 FASTQ attributes are obtained:

file_size --> FASTQ file size (human readable) total_read_count --> Total read count within each FASTQ file
sampling_size --> Random analyzed read count
length_mean --> Average read length
read_average --> Average read quality
reads_gt_q30 --> Read counts with an average quality greater than 30

Note: when calculating percent of reads above Q30 use reads_gt_q30/sampling_size

After ran object will contain nested dot notation for each read, fq.read1.fastq --> 'sample_S25_L001_R1.fastq.gz'

Metadata

Release files for sbio 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sbio 0.0.7
File Size Uploaded
sbio-0.0.7.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sbio 0.0.7
File Interpreter ABI Platform
sbio-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / sbio-0.0.7.tar.gz

Download URL sbio-0.0.7.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
92321551ddd07d35c146ef732142da8b4c425ee1d9e54fcfc8a95e43e7513eee
BLAKE2b-256 checksum
How to use checksums
00b28eae0590e9bb081835f33073db018b5052f948277c3fe3b7457405fbbf82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release files / sbio-0.0.7-py3-none-any.whl

Download URL sbio-0.0.7-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78048e0932c0c437c324f3cc0f72d8534aa644db89c4567ed533c9c46ece0d6c
BLAKE2b-256 checksum
How to use checksums
649b7a27be52db9fb6601fe4a8689bd699364b8eb2ff28c4f76b623a1d3b00e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page