Skip to main content

NGS pipelines bootstrapper

Project description

SOLIDA

Build Status PyPI version

SOLIDA is command-line solution that facilitate the reproducibility and portability of NGS pipelines. It can easily organize the deployment, the data management and the execution of a Snakemake based workflow.

Installation

You can install the latest stable version from PyPI

pip install solida

Requirements

To run Solida, Conda e Mamba must be presents in your computer.
To install Conda, see https://conda.io/miniconda.html To install Mamba, see https://github.com/mamba-org/mamba

conda install -c conda-forge mamba

Usage

To check version:

solida -v

To list all the pipelines enabled, digit

solida info

To check if both pipeline and profile are available, digit:

solida setup -l pipeline_label -p profile_label

Before to deploy a pipeline, you have to create a project profile:

solida setup -l pipeline_label -p profile_label --create-profile 

Solida will create a yaml file named profile_label.yaml into ~/solida_profiles
Edit the profile_label.yaml to match your environment settings.

After that, deploy the pipeline into localhost with:

solida setup -l pipeline_label -p profile_label --deploy 

If you want to deploy the pipeline into a remote host, add these arguments:

solida setup -l pipeline_label -p profile_label --deploy --host remote_host 
--remote-user username --connection ssh

where:
--host is the hostname of the remote host
--remote-user is a username available in the remote host
--connection is the type of connection to use

Pay attention, remote_user have to be able to do ssh login into remote_host without password (SSH Key-Based Authentication)

Script to execute the workflow

Solida provides a bash script, run.project.sh, to facilitate the workflow execution.

run.project.sh [-h] [-s Snakefile] -c FILENAME [-w DIR] [-p "parameters"] --script to execute a snakemake workflow

where:
    -h  show this help text
    -s  path to a Snakefile different from the default one (Snakefile).
    -c  path to the snakemake's configuration file.
    -w  is the project's workdir label. Default is current timestamp.
    -p  snakemake parameters as "--rerun-incomplete --dryrun --keep-going --restart-time"

Use -s to specify a different Snakefile.

If you don't give the script a workdir label (-w), a directory with the current timestamp as label will be created and used to collect results into.

Option -c is mandatory and have to be the path to the snakemake's configuration file.

Option -p permit to provide the script all the snakemake parameters (don't forget to encapsulate them with """).

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

solida-0.9.7.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

solida-0.9.7.2-py2.py3-none-any.whl (29.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file solida-0.9.7.2.tar.gz.

File metadata

  • Download URL: solida-0.9.7.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for solida-0.9.7.2.tar.gz
Algorithm Hash digest
SHA256 a521dba7471acf59b1368af6463233ef3ebcc459f41a11d6cb952e5e4a3d4782
MD5 2481a5be7b068744e4e319332c3fcf72
BLAKE2b-256 9255df208420a4b27008c7c6010b0ef05ba8d903c19931febe03a8903ad72d27

See more details on using hashes here.

File details

Details for the file solida-0.9.7.2-py2.py3-none-any.whl.

File metadata

  • Download URL: solida-0.9.7.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for solida-0.9.7.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0944541c7730d4e386621670fab16edb8a83ff6ac86ddb674db4047550620c97
MD5 d116cdaba64c7d445bce0920f541f4dd
BLAKE2b-256 8fe16ad618dbe44da38eb162f25a252c6353aeb33bf600ad7c15292bc2e321ed

See more details on using hashes here.

Supported by

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