-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from Kudostoy0u/main
Updated documentation
- Loading branch information
Showing
22 changed files
with
606 additions
and
35 deletions.
There are no files selected for viewing
Binary file modified
BIN
+535 Bytes
(110%)
docs/_build/doctrees/documentation/workflow_reference/dependencies.doctree
Binary file not shown.
Binary file modified
BIN
+53 Bytes
(100%)
docs/_build/doctrees/documentation/workflow_reference/index.doctree
Binary file not shown.
Binary file added
BIN
+3.83 KB
docs/_build/doctrees/documentation/workflow_reference/installation.doctree
Binary file not shown.
Binary file modified
BIN
+613 Bytes
(110%)
docs/_build/doctrees/documentation/workflow_reference/quick_start.doctree
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs/_build/html/_sources/documentation/workflow_reference/installation.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Installation | ||
------------ | ||
|
||
Reference the following command for setup and execution: | ||
|
||
.. code-block:: console | ||
$ git clone https://github.com/epifluidlab/finaletoolkit_workflow # Download the repository containing the workflow | ||
$ cd finaletoolkit_workflow # Enter the repository folder | ||
$ conda env create -f environment.yml # Create environment with relevant conda packages | ||
$ conda activate finaletoolkit_workflow # Use environment for finaletoolkit-workflow | ||
$ pip install finaletoolkit # Install finaletoolkit seperately through pip | ||
$ snakemake --configfile params.yaml --cores 4 --jobs 2 # Run with parameters set in params.yaml |
24 changes: 19 additions & 5 deletions
24
docs/_build/html/_sources/documentation/workflow_reference/quick_start.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
Quick Start | ||
----------- | ||
|
||
1. **Configuration:** Create a ``params.yaml`` file defining your input, output, and processing options (reference below sections). | ||
2. **Basic Execution:** Run the workflow with ``snakemake --configfile params.yaml -c <cores> -j <jobs>``. | ||
* **Configuration:** Create a ``params.yaml`` file defining your input, output, and processing options (reference below sections). | ||
|
||
* ``-c``: Number of CPU cores to use. | ||
* ``-j``: Maximum number of concurrent jobs. | ||
* **Basic Execution:** Once you're in the relevant folder with the ``Snakefile`` present, run the workflow through the following command: | ||
|
||
3. **SLURM Execution:** Submit to SLURM to run in the background with ``snakemake --profile slurm_profile > snakemake.log 2>&1 &`` (see ``slurm_profile/config.yaml`` for default settings). | ||
.. code-block:: bash | ||
cd finaletoolkit_workflow # Enter the folder with the workflow Snakefile | ||
snakemake --configfile params.yaml --cores <cores> --jobs <jobs> | ||
# --cores: Number of CPU cores to use. | ||
# --jobs: Maximum number of concurrent jobs (limited by --cores). | ||
* **SLURM Execution:** Submit to SLURM to run the workflow through the command below (see ``slurm_profile/config.yaml`` for default settings). | ||
|
||
.. code-block:: bash | ||
cd finaletoolkit_workflow # Enter the folder with the workflow Snakefile | ||
snakemake --profile slurm_profile > snakemake.log 2>&1 & | ||
# Runs the command through params specified in slurm_profile/config.yaml in the background (&), | ||
# Redirects all command-related output to snakemake.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.