Skip to main content

biobb_template

Introduction

Biobb_template is a complete code template to promote and facilitate the creation of new Biobbs by the community. Biobb (BioExcel building blocks) packages are Python building blocks that create new layer of compatibility and interoperability over popular bioinformatics tools. The latest documentation of this package can be found in our readthedocs site: latest API documentation.

Version

v4.1.0 2023.4

Installation

If you have no experience with anaconda, please first take a look to the New with anaconda? section of the official documentation.

Download repository

Although the biobb_template repository is available at GitHub and thus you can clone it, we strongly recommend you to download it compressed and start your new project from scratch.

Create new conda environment

Once you have the project unzipped in your computer, please follow the next steps to create a new conda environment:

cd biobb_template-master
conda env create -f conda_env/environment.yml

Update environment paths

Edit conda_env/biobb_template.pth with the paths to your biobb_template folder. Example:

/home/user_name/projects/biobb_template/
/home/user_name/projects/biobb_template/biobb_template/biobb_template

Copy the edited conda_env/biobb_template.pth file to the site-packages folder of your environment. This folder is in /[anaconda-path]/envs/biobb_template/lib/python3.7/site-packages, where /[anaconda-path] is usually /anaconda3 or /opt/conda.

cp conda_env/biobb_template.pth /[anaconda-path]/envs/biobb_template/lib/python3.7/site-packages

Activate environment

Then, activate the recently created biobb_template conda environment:

conda activate biobb_template

Create repository

This template includes some folders not standard for a biobb, such as biobb_template/adapters/, biobb_template/notebooks/ or conda_env/. For the sake of having a pure biobb structure, you should uncomment the three last lines of the .gitignore file before creating a new git repository:

biobb_template/adapters
biobb_template/notebooks
conda_env

Then, inialitize repository:

git init

Binary paths configuration

Additionally, it's recommendable to configure binary paths in your environment in order to ease the command line execution. More info about this subject in the Binary path configuration section of the official documentation.

Run tests

To run tests, please execute the following instruction:

pytest /path/to/biobb_template/biobb_template/test/unitests/test_template/test_template.py

Or, if you prefer to show the BioBB output during the test process:

pytest -s /path/to/biobb_template/biobb_template/test/unitests/test_template/test_template.py

Documentation

Click here to find the API Documentation example for this template and here for Command Line documentation.

And here you can find the full documentation about how to build a new BioExcel building block from scratch.

This software has been developed in the MMB group at the BSC & IRB for the European BioExcel, funded by the European Commission (EU H2020 823830, EU H2020 675728).

Licensed under the Apache License 2.0, see the file LICENSE for details.

Metadata

Release files for biobb-radiospineomics 1.1.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biobb-radiospineomics 1.1.20
File Size Uploaded
biobb_radiospineomics-1.1.20.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for biobb-radiospineomics 1.1.20
File Interpreter ABI Platform
biobb_radiospineomics-1.1.20-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / biobb_radiospineomics-1.1.20.tar.gz

Download URL biobb_radiospineomics-1.1.20.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1333b4fa4a9928b1b30cc3209ee5752466f966fdf7fa16f3acbd3a823c6b0e82
BLAKE2b-256 checksum
How to use checksums
631854967b1da69cd0030af20cb8c4f785dfa4a1f0d584a99ec422905640e16f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.0

Release files / biobb_radiospineomics-1.1.20-py3-none-any.whl

Download URL biobb_radiospineomics-1.1.20-py3-none-any.whl
Size 27.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e48f42396071b0b8394de4db4d56c478cdd81971ed3498e8e13c0c2d1fc6756c
BLAKE2b-256 checksum
How to use checksums
d2bbff45031d63e609c5471836a14569d363b7ec7d69296cd3bd0e067803c18b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.0

Release history Release notifications | RSS feed

This release

1.1.20 This release

2 release files

1.1.19

2 release files

1.1.18

2 release files

1.1.17

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page