Skip to main content

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

vsbio-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vsbio-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vsbio-0.1.0.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

Hashes for vsbio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab5da34c9bcccb46c759baf3ba43c511c6df80a22af479117b417181adf00443
MD5 370f2a7d90d6ed88480fce864281ee47
BLAKE2b-256 a0a38fb4e5267c4b37f0bb121942f0c3659e2d8486cc7da99409d8e80bde937b

See more details on using hashes here.

File details

Details for the file vsbio-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vsbio-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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

Hashes for vsbio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2036fc31ea0d90a951f77e3e8ae76b13ee71f290ef38eb5af090a12109ab2df1
MD5 74da28d0ea7242498e7e516c93201bdb
BLAKE2b-256 dd1c34f51f9166fbd5e122bcbdb33058a1d04b68d04c8de3367d2f3617bc61d5

See more details on using hashes here.

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