## 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
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
Metadata
Release files for readquant 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| readquant-1.2.0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| readquant-1.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / readquant-1.2.0.tar.gz
| Download URL | readquant-1.2.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ab1e65a0bc3e5ffeaf8ae901649e191b000e56ad04a2645825eccb7ffa6696f
|
|
BLAKE2b-256 checksum How to use checksums |
86edba3d16796965b292de60789017eec8590a8b608db235b3665973ad3da1d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / readquant-1.2.0-py2.py3-none-any.whl
| Download URL | readquant-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a9066c2f59471faeb395f563022eeeca0efa26774c4ca0b9e205ac89e18ddaab
|
|
BLAKE2b-256 checksum How to use checksums |
a113295512ed53fe5c77236f27045cd699b81fa98a21f9607ce628afa1ec4f5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |