Skip to main content

Bioinfomatics File access tools

Project description

This is a collection of scripts and modules for bioinfomatics file access

Modules, Classes, and Functions

xzFile, xzopen()

access to various compressed files, currently recoganize gzip (.gz), bz2(.bz2), and bgzip(.bgz, .b.gz) from samtools package

tsvFile, tsvRecord, tsv

tab seperated file with named fields, user could also defined some preprocess functions for field reading and writing

vcfFile, vcf

vcf file access, depends on PyVCF, yet provide a convinient and flexable interface

samFile, sam

sam file access, based on pysam. pysam also provides interface for tabix (random access tsv file with genome positions), which could be access from BioUtil.sam

fastqFile, fastaFile:

fasta/fastq file IO. based on lh3 readfq.

cachedFasta

fetch region sequence from large fasta file. This module is based on faidx through pysam pysam.FastaFile. from v0.1.2: old name fastaReader is deprecated as misleading with fastaFile reader

faidx

experimental, interface to pyfaidx.

Dependency

Change Log

v0.4

add logger class

v0.3

change fasta/fastq Writter methods

v0.2

add fastqFile, rename fastaReader to cachedFasta

v0.1.1

add fastaReader

v0.1.0

inital release, support xzFile, tsvFile, vcfFile, samFile and faidx

Authors

Yu XU <xuyu@genomics.cn>

Lisense

This module is under GPLv2 Lisense

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

BioUtil-0.4.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

BioUtil-0.4.0-py3.6.egg (31.7 kB view details)

Uploaded Source

File details

Details for the file BioUtil-0.4.0.tar.gz.

File metadata

  • Download URL: BioUtil-0.4.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for BioUtil-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6cb1bf4d7c64dbe04e33863fb5b31344d5591651b2c657921bbb32de6a71398d
MD5 61993413be2f11ed1421e3f369ac61a7
BLAKE2b-256 a1e1fb1a16823ca8fff9487ffcae785b0eae86ac4c86e0b00ed7d5fe4bdeff5f

See more details on using hashes here.

File details

Details for the file BioUtil-0.4.0-py3.6.egg.

File metadata

  • Download URL: BioUtil-0.4.0-py3.6.egg
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for BioUtil-0.4.0-py3.6.egg
Algorithm Hash digest
SHA256 09ae397b144b7b7985998831e9b7d515b875afd7e2ead43b7bef60aa2df711ec
MD5 b5d9737ca80e2c936b5a8d06fb95a93d
BLAKE2b-256 f15e830c8b540d18a06cc08b645d80cb9a9b8aa9e048ae349a2ff6825df436bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page