Collection of simple bioinformatic tools.
Project description
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'
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sbio-0.0.7.tar.gz.
File metadata
- Download URL: sbio-0.0.7.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92321551ddd07d35c146ef732142da8b4c425ee1d9e54fcfc8a95e43e7513eee
|
|
| MD5 |
cfe228a9299cb5440990f4804e52a827
|
|
| BLAKE2b-256 |
00b28eae0590e9bb081835f33073db018b5052f948277c3fe3b7457405fbbf82
|
File details
Details for the file sbio-0.0.7-py3-none-any.whl.
File metadata
- Download URL: sbio-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78048e0932c0c437c324f3cc0f72d8534aa644db89c4567ed533c9c46ece0d6c
|
|
| MD5 |
9cf0c87adc1af392a3e3aa9a65334ec6
|
|
| BLAKE2b-256 |
649b7a27be52db9fb6601fe4a8689bd699364b8eb2ff28c4f76b623a1d3b00e3
|