Skip to main content

Biobb_Radiospineomics is a wrapped code for the extraction of conventional IVD features and radiomics from T2-weighted MRI

Project description

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.

Copyright & Licensing

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biobb_radiospineomics-1.0.2.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biobb_radiospineomics-1.0.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file biobb_radiospineomics-1.0.2.tar.gz.

File metadata

  • Download URL: biobb_radiospineomics-1.0.2.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.0

File hashes

Hashes for biobb_radiospineomics-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c0ab0cd391f3cdb7a2f601beb0b07f688157599052b633d474a0096591d8ccbd
MD5 4f6c473911d04d396aae16e168699a98
BLAKE2b-256 87ff1db2d67a6d3d06535b3790e1d78bb80b96dccc77498a456f557e510b3468

See more details on using hashes here.

File details

Details for the file biobb_radiospineomics-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for biobb_radiospineomics-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e75881a0b5937e59b2b01d1a20af196ee767564f3b7a06c1df6da5ef401252e
MD5 b3425309a3791e04e048e61c9ff8ee76
BLAKE2b-256 0753e7d6eeb30c59a1a87b84e660563a6c2246639a781b66c6ea1611c8a6711c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page