-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP docs update * Add overview of dso tools * Update README.md * Update README * Update README * README table as pure markdown * Include rendered docs snippets * WIP getting_started section * cosmetics * Fix sphinx
- Loading branch information
Showing
7 changed files
with
77 additions
and
124 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# stuff generated by sphinxcontrib-programoutput | ||
/test_project |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,59 @@ | ||
# Getting started | ||
|
||
TODO | ||
## `dso init` -- Initialize a project | ||
|
||
`dso init` initializes a new project in your current directory. | ||
|
||
```{command-output} dso init test_project --description "This is a test project" | ||
``` | ||
|
||
It creates the root directory of your project with all the necessary configuration files for `git`, `dvc`, `uv` and | ||
`dso` itself: | ||
|
||
```{command-output} ls -a test_project | ||
``` | ||
|
||
## `dso create` -- Add folders or stages to your project | ||
|
||
We consider a _stage_ an individual step in your analysis, usually a script with defined inputs and outputs. | ||
Stages can be organized in _folders_ with arbitrary structures. `dso create` initializes folders and stages | ||
from predefined templates. We recommend naming stages with a numeric prefix, e.g. `01_` to declare the | ||
order of scripts, but this is not a requirement. | ||
|
||
```bash | ||
cd test_project | ||
|
||
# Let's create a folder that we'll use to organize all analysis steps related to "RNA-seq" | ||
dso create folder RNA_seq | ||
|
||
# Let's create first stage for pre-processing | ||
cd RNA_seq | ||
dso create stage 01_preprocessing --template bash --description "Run nf-core/rnaseq" | ||
|
||
# Let's create a second stage for quality control | ||
dso create stage 02_qc --template quarto --description "Perform RNA-seq quality control" | ||
``` | ||
|
||
Stages have the following pre-defined folder-structure. This folder system aims to make the structure coherent throughout a project for easy readability and navigation. Additional folders can still be added if necessary. | ||
|
||
```text | ||
stage | ||
|-- input # contains Input Data | ||
|-- src # contains Analysis Script(s) | ||
|-- output # contains TLF - Outputs generated by Analysis Scripts | ||
|-- report # contains HTML Report generated by Analysis Scripts | ||
``` | ||
|
||
## Writing configuration files | ||
|
||
## Implementing a stage | ||
|
||
### R | ||
|
||
### Python | ||
|
||
## `dso repro` -- Reproducing all stages | ||
|
||
## Syncing changes with a remote |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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