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.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

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.3.0.tar.gz (9.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: BioUtil-0.3.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BioUtil-0.3.0.tar.gz
Algorithm Hash digest
SHA256 eb3eafece785b5c68998a6ca0f28d95846f21936cdb9bae1a256f9bf83ca1d9c
MD5 68f5d32c104e38f5c89e1a3d618d51b4
BLAKE2b-256 0e9fe0d29bf36a626ce1a080fdbe1783ea49efe9bc275eebd65ebccfebea4164

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