biotracks

A repository for data package representation for cell tracking data

https://github.com/cellmigstandorg/biotracks

Science Score: 23.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary

Keywords

cell data migration open sharing tracking
Last synced: 6 months ago · JSON representation

Repository

A repository for data package representation for cell tracking data

Basic Info
Statistics
  • Stars: 12
  • Watchers: 12
  • Forks: 9
  • Open Issues: 6
  • Releases: 0
Topics
cell data migration open sharing tracking
Created about 9 years ago · Last pushed almost 6 years ago
Metadata Files
Readme License

README.rst

Biotracks: a standard format for cell migration-derived tracking files
======================================================================

.. image:: https://travis-ci.org/CellMigStandOrg/biotracks.svg?branch=master
    :target: https://travis-ci.org/CellMigStandOrg/biotracks

.. image:: https://badge.fury.io/py/biotracks.svg
    :target: https://badge.fury.io/py/biotracks

Biotracks provides a standard format for cell migration tracking files and a series of converters from popular tracking sofware packages to the biotracks format, which is a specialization of the `Frictionless Tabular Data Package `_ .


Installation from sources (Python 3 only)
-----------------------------------------

.. code-block::

   python setup.py install

Installation from PiPy
----------------------

.. code-block::

    pip install biotracks

Usage
-----

Move to the ``scripts`` directory and run:

.. code-block:: bash

  python create_dpkg.py your_tracking_file

This will create a tabular data package directory containing:

+ a csv file for the **objects** (e.g., cells)
+ a csv file for the **links** (linear collections of objects)
+ the json descriptor file for the data package

The latter will look like this:

.. code-block:: json

  {
      "name": "cmso_tracks",
      "resources": [
          {
              "name": "cmso_objects_table",
              "path": "objects.csv",
              "schema": {
                  "fields": [
                      {
                          "constraints": {
                              "unique": true
                          },
                          "description": "",
                          "format": "default",
                          "name": "cmso_object_id",
                          "title": "",
                          "type": "integer"
                      },
                      {
                          "description": "",
                          "format": "default",
                          "name": "cmso_frame_id",
                          "title": "",
                          "type": "integer"
                      },
                      {
                          "description": "",
                          "format": "default",
                          "name": "cmso_x_coord",
                          "title": "",
                          "type": "number"
                      },
                      {
                          "description": "",
                          "format": "default",
                          "name": "cmso_y_coord",
                          "title": "",
                          "type": "number"
                      }
                  ],
                  "primaryKey": "cmso_object_id"
              }
          },
          {
              "name": "cmso_links_table",
              "path": "links.csv",
              "schema": {
                  "fields": [
                      {
                          "description": "",
                          "format": "default",
                          "name": "cmso_link_id",
                          "title": "",
                          "type": "integer"
                      },
                      {
                          "description": "",
                          "format": "default",
                          "name": "cmso_object_id",
                          "title": "",
                          "type": "integer"
                      }
                  ],
                  "foreignKeys": [
                      {
                          "fields": "cmso_object_id",
                          "reference": {
                              "datapackage": "",
                              "fields": "cmso_object_id",
                              "resource": "cmso_objects_table"
                          }
                      }
                  ]
              }
          }
      ]
  }


Configuration
-------------

Some formats require a configuration file that specifies how to map object IDs, coordinate names, etc. This file must be in the `INI `_ format with two sections:

+ TOP_LEVEL_INFO: specifies a name for the data package and additional (optional) information
+ TRACKING_DATA: specifies how to map information from the source format to the biotracks column headers

You can provide a configuration file by passing it via the ``-c`` option to ``create_dpkg.py``; if this option is not set, the script will look for a ``biotracks.ini`` file in the same directory as your tracking file; if this is not found, the script will use default names for both the overall package and the column headers.

Example:

.. code-block::

  [TOP_LEVEL_INFO]
  author = the author of the dp
  title = a title describing the dp
  name = a name for the dp
  author_institute = the insitute of the author
  author_email = a valid email address

  [TRACKING_DATA]
  cmso_x_coord = the column name pointing to the x coordinate
  cmso_y_coord = the column name pointing to the y coordinate
  cmso_z_coord = the column name pointing to the z coordinate
  cmso_frame_id = the column name pointing to the frame information
  cmso_object_id = the object identifier
  cmso_link_id = the link identifier
  
  
  Examples
  --------
  
  `CELLMIA `_ .
  `CellProfiler `_ .
  `ICY `_ .
  `Mosaic `_ .
  `TrackMate `_ .
  
  
  
Releases
--------

- Latest release - Biotracks 0.5.0: 
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3355530.svg   
       :target: https://doi.org/10.5281/zenodo.3355530

- Other releases: https://github.com/CellMigStandOrg/biotracks/releases






Owner

  • Name: Cell Migration Standardisation Organization
  • Login: CellMigStandOrg
  • Kind: organization

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 211
  • Total Committers: 18
  • Avg Commits per committer: 11.722
  • Development Distribution Score (DDS): 0.621
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
simleo s****o@c****t 80
Paola Masuzzo p****o@u****e 62
Gwendolien Sergeant g****t@u****e 23
Sebastien Besson s****n@g****m 13
Alejandra Gonzalez-Beltran a****n@g****m 9
jmoore j****h@g****m 5
Kenneth Reitz me@k****m 4
Gwendolien Sergeant g****t@g****m 3
Matěj Týč m****c@g****m 3
Dotan Nahum j****n@g****m 1
Ivan Dmitrievsky i****y@g****m 1
chassing c****s@c****g 1
Vegard Nossum v****m@g****m 1
Brian Forst b****f@c****g 1
Steeve m****r@g****m 1
jones77 j****s@j****m 1
Kenneth Reitz me@k****g 1
roll r****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 22
  • Total pull requests: 37
  • Average time to close issues: 4 months
  • Average time to close pull requests: 12 days
  • Total issue authors: 4
  • Total pull request authors: 8
  • Average comments per issue: 1.91
  • Average comments per pull request: 1.78
  • Merged pull requests: 37
  • 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
  • simleo (18)
  • pcmasuzzo (2)
  • gsergeant (1)
  • sbesson (1)
Pull Request Authors
  • simleo (23)
  • gsergeant (4)
  • sbesson (4)
  • pcmasuzzo (2)
  • matejak (1)
  • roll (1)
  • agbeltran (1)
  • joshmoore (1)
Top Labels
Issue Labels
enhancement (11) bug (6)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 10 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 7
  • Total maintainers: 3
pypi.org: biotracks

Data package representation for cell migration tracking data

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 10 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 11.4%
Stargazers count: 16.1%
Average: 18.1%
Dependent repos count: 21.6%
Downloads: 31.3%
Maintainers (3)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • datapackage <1.0
  • jsontableschema *
  • jsontableschema-pandas *
setup.py pypi
  • datapackage <1.0
  • jsontableschema *
  • jsontableschema-pandas *