https://github.com/aaronmussig/vtracker

For tracking the relationship between group membership changes across versions.

https://github.com/aaronmussig/vtracker

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

For tracking the relationship between group membership changes across versions.

Basic Info
  • Host: GitHub
  • Owner: aaronmussig
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 108 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created about 6 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

VTracker

PyPI PyPI - Python Version codecov.io

For tracking the relationship between group membership changes across versions.

Installation

  • PyPI: pip install vtracker

Usage

  1. Instantiate the VTracker class and specify the versions from oldest to newest.
  2. Populate the tracker with each unique entity, and specify the state of the entity at each of the versions. Missing versions have the state of 'Not Present'.

Consider the following example which generates the JSON required to display the following D3 Sankey diagram similar to that of the GTDB Taxon History tool:

```python from vtracker import VTracker

vt = VTracker(('R80', 'R83', 'R86.2', 'R89', 'NCBI')) vt.add('G000210735', {'R80': 'sFaecalibacterium prausnitzii_B', 'R83': 'sFaecalibacterium prausnitziiB', 'R86.2': 'sFaecalibacterium prausnitziiB', 'R89': 'sFaecalibacterium prausnitzii_G', 'NCBI': 'sFaecalibacterium prausnitzii'})

vt.add('G003287485', {'R89': 'sFaecalibacterium prausnitzii_G', 'NCBI': 'sFaecalibacterium prausnitzii'})

vt.add('G003287505', {'R89': 'sFaecalibacterium prausnitzii_G', 'NCBI': 'sFaecalibacterium prausnitzii'})

vt.add('G003293635', {'R89': 'sFaecalibacterium prausnitzii_G', 'NCBI': 'sFaecalibacterium prausnitzii'})

vt.add('G003508795', {'R80': 'sFaecalibacterium prausnitzii_B', 'R83': 'sFaecalibacterium prausnitziiB', 'R86.2': 'sFaecalibacterium prausnitziiB', 'R89': 's_Faecalibacterium prausnitziiG'})

sankeyjson = vt.assankey_json() ```

Sankey diagram example

Owner

  • Name: Aaron Mussig
  • Login: aaronmussig
  • Kind: user
  • Location: Brisbane, Australia
  • Company: Australian Centre for Ecogenomics

Bioinformatics PhD student at the University of Queensland. Python and Rust enthusiast.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • aaronmussig (3)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

setup.py pypi
  • typing *
Cargo.lock cargo
Cargo.toml cargo