2020-08-05 15:41:46 +02:00
.. _analysis-workflow-example
Analysis Workflow Example
==========================
This is a quick guide for creating and running a simple pipeline to analysis an example dataset with 2 participants.
#. Install RAPIDS. See :ref: `Installation Section <install-page>` .
2020-08-12 17:30:14 +02:00
#. Make sure your database connection credentials in `` .env `` have write permission and set the correct `` MY_GROUP `` parameter in `` example_profile/example_config.yaml `` file. See step 1 of :ref: `Usage Section <db-configuration>` .
2020-08-05 15:41:46 +02:00
#. Make sure your Conda (python) environment is active. See step 6 of :ref: `install-page` .
2020-08-05 15:55:04 +02:00
#. Run the following command to restore database from `` rapids_example.sql `` file::
2020-08-05 15:47:29 +02:00
2020-08-05 15:41:46 +02:00
sankemake -j1 restore_sql_file
2020-08-05 15:55:04 +02:00
#. Create example participants files with the following command::
2020-08-05 15:41:46 +02:00
snakemake -j1 create_example_participant_files
#. Run the following command to analysis the example dataset.
- Execute over a single core::
snakemake -j1 --profile example_profile
- Execute over multiple cores (here, we use 8 cores)::
2020-08-05 15:47:29 +02:00
2020-08-05 15:41:46 +02:00
snakemake -j8 --profile example_profile