https://github.com/broadinstitute/hidive

https://github.com/broadinstitute/hidive

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 6 committers (66.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • Open Issues: 7
  • Releases: 118
Created about 4 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.rst

hidive
""""""""""""

|GitHub release| |PyPI version hidive|

.. |GitHub release| image:: https://img.shields.io/github/release/broadinstitute/hidive.svg
   :target: https://github.com/broadinstitute/hidive/releases/

.. |PyPI version hidive| image:: https://img.shields.io/pypi/v/hidive.svg
   :target: https://pypi.python.org/pypi/hidive/

Hidive is a targeted genome co-assembler for biobank-scale long-read and short-read data.

Documentation for the API can be found on the `documentation page `_.


Quick start
-----------

The following commands will compile the Rust and Python codebase.

.. code-block:: bash

   # Install Rust.
   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

   # Download and build Hidive
   git clone https://github.com/broadinstitute/hidive.git
   cd hidive
   cargo build --release

   # Configure Python environment
   python -mvenv venv
   . venv/bin/activate
   pip install -f dev-requirements.txt

   # Build Hidive's Python codebase, Pydive.
   cd src/pydive/
   maturin develop --release

Prerequisites
-------------

Hidive is designed to access local files or data in Google Cloud Storage (GCS). Within certain cloud-computing environments (i.e. Terra, All of Us Researcher Workbench), access to GCS is already configured. For accessing files in GCS on your local machine, you will also need to install the `Google Cloud CLI `_. Then, configure your `Application Default Credentials (ADC) `_.

If accessing `requester pays buckets `_ , set the following environment variable before running hidive commands:


.. code-block:: bash

   export GCS_REQUESTER_PAYS_PROJECT=



Installation
------------

At the moment, Hidive is under active development and is not yet available through standard bioinformatic software channels (pip, conda, cargo, etc.).


Building from source
--------------------

To build the primary Rust source, follow the procedure below.

.. code-block:: bash
   # Install Rust.
   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

   # Clone repository.
   git clone https://github.com/broadinstitute/hidive.git
   cd hidive

   # Build Hidive's Rust codebase.
   cargo build --release

To optionally build the Python bindings to the Rust codebase, follow the procedure below after performing the above steps.

.. code-block:: bash
   # Create a Python virtual environment and install Maturin, the tool that
   # will compile the Rust and Python code into a complete library.
   # For more information on Maturin, visit https://github.com/PyO3/maturin .
   python -mvenv venv
   . venv/bin/activate
   pip install -f dev-requirements.txt

   # Build the library (with release optimizations) and install it in
   # the currently active virtual environment.
   cd src/pydive/
   maturin develop --release

Supported platforms
-------------------

Hidive is compiled for Linux and MacOSX. Windows is not currently supported.

Getting help
------------

If you encounter bugs or have questions/comments/concerns, please file an issue on our `Github page `_.

Developers' guide
-----------------

For information on contributing to Hidive development, visit our `developer documentation `_.

Owner

  • Name: Broad Institute
  • Login: broadinstitute
  • Kind: organization
  • Location: Cambridge, MA

Broad Institute of MIT and Harvard

GitHub Events

Total
  • Create event: 90
  • Issues event: 2
  • Release event: 26
  • Delete event: 26
  • Member event: 1
  • Push event: 412
  • Pull request review event: 2
  • Pull request review comment event: 2
  • Pull request event: 52
Last Year
  • Create event: 90
  • Issues event: 2
  • Release event: 26
  • Delete event: 26
  • Member event: 1
  • Push event: 412
  • Pull request review event: 2
  • Pull request review comment event: 2
  • Pull request event: 52

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 312
  • Total Committers: 6
  • Avg Commits per committer: 52.0
  • Development Distribution Score (DDS): 0.449
Past Year
  • Commits: 243
  • Committers: 6
  • Avg Commits per committer: 40.5
  • Development Distribution Score (DDS): 0.556
Top Committers
Name Email Commits
Kiran Garimella k****n@b****g 172
BumpVersion Action b****n@g****s 112
bshifaw b****w@b****m 17
bshifaw b****w@b****g 5
Hang Su 1****C 4
Julie Wertz j****1@u****u 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 8
  • Total pull requests: 69
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.12
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 69
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 4
  • Pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.12
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kvg (3)
  • bshifaw (1)
  • hangsuUNC (1)
  • jonn-smith (1)
Pull Request Authors
  • kvg (79)
  • bshifaw (11)
  • hangsuUNC (9)
  • jwertz01 (3)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Dependencies

.github/workflows/cd.yml actions
  • actions/checkout v2 composite
  • actions/create-release v1 composite
  • ad-m/github-push-action master composite
  • google-github-actions/auth v0 composite
  • jasonamyers/github-bumpversion-action v1.0.4 composite
.github/workflows/ci_push.yml actions
  • actions/checkout v2 composite
  • google-github-actions/auth v0 composite
Cargo.lock cargo
  • 447 dependencies
Cargo.toml cargo
src/hidive/Cargo.toml cargo
src/pydive/Cargo.lock cargo
  • 296 dependencies
src/pydive/Cargo.toml cargo
src/skydive/Cargo.toml cargo
  • pretty_assertions 1 development
  • proptest * development
  • anyhow 1.0
  • backoff 0.4.0
  • bio-types 1.0.1
  • bitflags *
  • chrono *
  • cloud-storage *
  • color-eyre *
  • crossbeam-utils 0.8.19
  • fs_extra 1.2
  • gag *
  • glob 0.3
  • google-cloud-storage *
  • humansize *
  • indextree *
  • indicatif *
  • iset 0.2.2
  • linear-map 1.2.0
  • memoffset 0.9.0
  • ndarray 0.15.6
  • needletail *
  • openssl 0.10
  • parquet *
  • petgraph *
  • pyo3 *
  • pyo3-asyncio *
  • rand *
  • rand_chacha *
  • rayon *
  • regex *
  • reqwest *
  • rust-htslib *
  • serde *
  • serde_derive *
  • serde_json *
  • sprs 0.11.1
  • sys-info 0.9.1
  • tokio *
  • unzip-n *
  • url *
docker/Dockerfile docker
  • python 3.9.19-slim-bullseye build
dev-requirements.txt pypi
  • maturin ==1.5.0 development