Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

merge-counts

Actions: CI Status PyPI PyPI: Downloads PyPI: Downloads License: MIT

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 a recursive and sequential merge 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.

Download files

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

Source Distribution

stjudecloud-merge-counts-1.2.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

stjudecloud_merge_counts-1.2.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file stjudecloud-merge-counts-1.2.1.tar.gz.

File metadata

  • Download URL: stjudecloud-merge-counts-1.2.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for stjudecloud-merge-counts-1.2.1.tar.gz
Algorithm Hash digest
SHA256 3c8b58dc181fc069de6f3e02d608954846c3d40798e5ce314eabd7be7228267f
MD5 7d60ef9dea93bc943300e1ffdd52c11d
BLAKE2b-256 02827abdb4e30c18b9c4c9659efcac1136420d957887fc367b93e7ce1cebb1b9

See more details on using hashes here.

File details

Details for the file stjudecloud_merge_counts-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: stjudecloud_merge_counts-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for stjudecloud_merge_counts-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b752094a5b99af3ed7e18333e67e5bf574bf7bd6cd26d3e6ddb9f087fad41cb6
MD5 4f9851b79bb5272d147512b4ad3f9a8d
BLAKE2b-256 3e29e138ef13db86c72c384efcc40bb4229117c9d3fa89b73d8b47277fbbb311

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

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