Science Score: 44.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: core-unit-bioinformatics
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 130 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 7
  • Releases: 2
Created over 3 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

CUBI tools

This repository is a collection of helper tools and useful scipts for internal and external use. The CUBI tools are implemented with minimal dependencies outside of the Python standard library (Python v3.11). Currently, the only non-standard packages are toml and semver, which must be available to execute any CUBI tool.

Installation

For (CUBI) developers

  1. Clone the repository and change into the repository root directory.
  2. Create the Conda environment specified in envs/conda/cubi-tools-dev.yaml:
    • conda env create -f envs/conda/cubi-tools-dev.yaml
  3. Activate the environment:
    • conda activate cubi-tools-dev
  4. Install the CUBI tools:
    • pip install --editable .

For users

  1. Clone the repository and change into the repository root directory.
  2. Create the Conda environment specified in envs/conda/cubi-tools.yaml:
    • conda env create -f envs/conda/cubi-tools.yaml
  3. Activate the environment:
    • conda activate cubi-tools
  4. Install the CUBI tools:
    • pip install .

CLI tools available after installation

  • ct-git: automate initializing, cloning and normalizing git repositories -> ct-git docs
  • ct-upd-md: creates or updates metadata files in a CUBI repository -> ct-upd-md docs
  • ct-upd-wf: creates or updates the CUBI (Snakemake) workflow template in a CUBI repository -> ct-upd-wf docs
  • ct-hpc: collect infos about the cluster/machine configuration (ONLY WORKS WITH PBS Pro) -> ct-hpc docs

Usage examples

Initializing a new Snakemake workflow repository

This example specifies the metadata and workflow template versions explicitly (latest versions at the time of writing).

$ ct-git --init workflow-smk-foobar --init-preset all $ ct-upd-md --target-dir workflow-smk-foobar/ --git-branch v1.6.1 $ ct-upd-wf --workflow-target workflow-smk-foobar/ --branch v1.4.0

Citation

If not indicated otherwise above, please follow these instructions to cite this repository in your own work.

Owner

  • Name: core-unit-bioinformatics
  • Login: core-unit-bioinformatics
  • Kind: organization

Citation (CITATION.md)

# Citing this repository

If you are using the content of this repository in whole or in part for your own work,
please credit the Core Unit Bioinformatics in an appropriate form.

In general, please add this statement to the acknowledgments of your publication:

    This work was supported by the Core Unit Bioinformatics
    of the Medical Faculty of the Heinrich Heine University Düsseldorf.

Additionally, please follow the below instructions to obtain a citable reference
for your publication.

## Identifying the right source link

Each repository of the Core Unit Bioinformatics is assigned a persistent
identifier (PID) at some point (usually after the prototype stage). Please use
this PID to link to the repository. You always find the PID in the top-level
`pyproject.toml`. Depending on the type of repository (project, workflow, or
workflow template), the relevant PID is listed in the corresponding metadata
section:

```toml
# workflow repository
[cubi.workflow]
pid = "THE-PID"
```

```toml
# workflow template repository
[cubi.workflow.template]
pid = "THE-PID"
```

```toml
# project repository
[cubi.project]
pid = "THE-PID"
```

If a PID has not yet been assigned to the repository, please use the repository URL,
and, if time permits, contact the repository maintainer regarding assigning a PID
in the near future.

### 1. Release version

For release versions, please use the respective version string in addition to the source link,
i.e. ideally in combination with the PID, and integrate that information into your list
of references as appropriate.

Note that repositories of the type "project" may not contain a lot of code, and are thus
often not amenable to the usual "release cycle" following bug fixes, feature integrations and so on.
Hence, the "project" metadata do not contain a "version" key (as opposed to workflow and workflow
template repositories). See the next point if you encounter that situation.

### 2. Development (non-release) version

For development versions, please use the respective git commit hash in addtion to the source link,
i.e. ideally in combination with the PID, and integrate that information into your list
of references as appropriate. It is strongly recommended to only use git commits from the two
central branches `main` and `dev`.

If a "project" repository is lacking an explicit release version, please use the same strategy
to obtain a citable reference of the repository.


### 3. None of the above

Please get in touch and we'll find a solution for your case :-)

GitHub Events

Total
  • Create event: 8
  • Release event: 1
  • Issues event: 5
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 3
  • Push event: 24
Last Year
  • Create event: 8
  • Release event: 1
  • Issues event: 5
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 3
  • Push event: 24

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 4
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ptrebert (18)
  • svenbioinf (5)
  • FerallOut (4)
  • svenwillger (1)
Pull Request Authors
  • svenwillger (5)
  • ptrebert (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Dependencies

pyproject.toml pypi