This project has been archived by its maintainers, and is no longer receiving any updates.
merge-counts
Utility for merging RNA-seq expression counts files from St. Jude Cloud.
Request Feature
·
Report Bug
·
⭐ Consider starring the repo! ⭐
📚 Getting Started
Installation
You can install stjudecloud-merge-counts using the Python Package Index (PyPI).
pip install stjudecloud-merge-counts
Usage
stjudecloud-merge-counts has 4 subcommands:
concordance-test- Performs arecursiveandsequentialmerge and verifies that the results are concordant.metadata- Compiles file metadata into a tab-delimited matrix.recursive- Merges count files in a recursive, divide-and-conquer strategy.sequential- Merges count files sequentially. This method requires significantly more time than the recursive approach.
All four subcommands require a set of DNAnexus file IDs to be supplied as commandline arguments.
For feature counts vended from St. Jude Cloud platform, the following example will merge the vended counts into a tab-delimited matrix. Replace project-G2KfyQ09XB5BBKKf1BXx9ZkK with the project identifier for your DNAnexus project containing feature counts.
dx ls --brief project-G2KfyQ09XB5BBKKf1BXx9ZkK:/immediate/FEATURE_COUNTS/ | xargs stjudecloud-merge-counts recursive
🖥️ Development
If you are interested in contributing to the code, please first review our CONTRIBUTING.md document.
To bootstrap a development environment, please use the following commands.
# Clone the repository
git clone git@github.com:stjudecloud/merge-counts.git
cd merge-counts
# Install the project using poetry
poetry install
🚧️ Tests
merge-counts provides a (currently patchy) set of tests — both unit and end-to-end.
py.test
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
📝 License
This project is licensed under the MIT License—see the LICENSE.md file for details.
Copyright © 2020 St. Jude Cloud Team.
Metadata
Release files for stjudecloud-merge-counts 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stjudecloud-merge-counts-1.2.1.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stjudecloud_merge_counts-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / stjudecloud-merge-counts-1.2.1.tar.gz
| Download URL | stjudecloud-merge-counts-1.2.1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c8b58dc181fc069de6f3e02d608954846c3d40798e5ce314eabd7be7228267f
|
|
BLAKE2b-256 checksum How to use checksums |
02827abdb4e30c18b9c4c9659efcac1136420d957887fc367b93e7ce1cebb1b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.7.0 requests/2.23.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Release files / stjudecloud_merge_counts-1.2.1-py3-none-any.whl
| Download URL | stjudecloud_merge_counts-1.2.1-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b752094a5b99af3ed7e18333e67e5bf574bf7bd6cd26d3e6ddb9f087fad41cb6
|
|
BLAKE2b-256 checksum How to use checksums |
3e29e138ef13db86c72c384efcc40bb4229117c9d3fa89b73d8b47277fbbb311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.7.0 requests/2.23.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|