Skip to main content
## readquant

This package contains helper functions for parsing both expression values
and technical features from common RNA-seq quantification tools.

The goal is to simplify going from a collection of quantification results to
expression table, as well as sample meta data.

A minimal example could look something like this:

In [1]: from readquant import read_quants, read_qcs

In [2]: tpm = read_quants('salmon/*E4_salmon_out', version='0.4.0')

In [3]: tpm.head()
Out[3]:
salmon/1771-026-195-E4_salmon_out \
Name
ERCC-00158 0.0
ERCC-00154 0.0
ERCC-00150 0.0
ERCC-00143 0.0
ERCC-00142 0.0

salmon/1771-026-190-E4_salmon_out \
Name
ERCC-00158 0.0
ERCC-00154 0.0
ERCC-00150 0.0
ERCC-00143 0.0
ERCC-00142 0.0

salmon/1771-026-196-E4_salmon_out \
Name
ERCC-00158 0.000
ERCC-00154 906.236
ERCC-00150 0.000
ERCC-00143 0.000
ERCC-00142 0.000

salmon/1771-026-198-E4_salmon_out \
Name
ERCC-00158 0.0
ERCC-00154 0.0
ERCC-00150 0.0
ERCC-00143 0.0
ERCC-00142 0.0

salmon/1771-023-118-E4_salmon_out \
Name
ERCC-00158 0.00000
ERCC-00154 9.35988
ERCC-00150 0.00000
ERCC-00143 724.44800
ERCC-00142 0.00000

salmon/1771-026-193-E4_salmon_out
Name
ERCC-00158 0.0
ERCC-00154 0.0
ERCC-00150 0.0
ERCC-00143 0.0
ERCC-00142 0.0

In [4]: sample_info = read_qcs('salmon/*_salmon_out', version='0.4.0', flen_lim=(10, 100))

In [5]: sample_info.head()
Out[5]:
percent_mapped num_processed \
salmon/1771-026-197-G4_salmon_out 71.8270 2665988.0
salmon/1771-026-198-D2_salmon_out 67.7853 3841894.0
salmon/1771-026-195-H7_salmon_out 73.4492 3875822.0
salmon/1771-026-194-E9_salmon_out 47.5425 979446.0
salmon/1771-026-195-E4_salmon_out 56.3955 5051277.0

global_fl_mode robust_fl_mode
salmon/1771-026-197-G4_salmon_out 103.0 103.0
salmon/1771-026-198-D2_salmon_out 122.0 122.0
salmon/1771-026-195-H7_salmon_out 110.0 110.0
salmon/1771-026-194-E9_salmon_out 111.0 111.0
salmon/1771-026-195-E4_salmon_out 111.0 111.0


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readquant-1.2.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

readquant-1.2.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file readquant-1.2.0.tar.gz.

File metadata

  • Download URL: readquant-1.2.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for readquant-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3ab1e65a0bc3e5ffeaf8ae901649e191b000e56ad04a2645825eccb7ffa6696f
MD5 7200ed43100671b0a11c6bd99a2e3d1b
BLAKE2b-256 86edba3d16796965b292de60789017eec8590a8b608db235b3665973ad3da1d9

See more details on using hashes here.

File details

Details for the file readquant-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for readquant-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9066c2f59471faeb395f563022eeeca0efa26774c4ca0b9e205ac89e18ddaab
MD5 55e6ecda7976cee89fd4cb375541c1e8
BLAKE2b-256 a113295512ed53fe5c77236f27045cd699b81fa98a21f9607ce628afa1ec4f5f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page