Skip to content

Commit

Permalink
add quick starts for three mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wxicu committed Nov 6, 2023
1 parent 99589b6 commit aa01844
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
7 changes: 7 additions & 0 deletions docs/source/genetic.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Genotyped-based deconvolution leverages the unique genetic composition of indivi

![Caption](_static/images/genotype-based.png)

## **Quick start**

```bash
cd hadge
nextflow run main.nf -profile test --mode genetic
```

## **Input data preparation**

The input data depends heavily on the deconvolution tools. In the following table, you will find the minimal input data required by different tools.
Expand Down
7 changes: 7 additions & 0 deletions docs/source/hashing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Cell hashing is a sample processing technique that requires processing individua

![Caption](_static/images/hashing-based.png)

## **Quick start**

```bash
cd hadge
nextflow run main.nf -profile test --mode hashing
```

## **Input data preparation**

The input data depends heavily on the deconvolution tools. In the following table, you will find the minimal input data required by different tools.
Expand Down
11 changes: 6 additions & 5 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ You can also:
- Specify the folder name `--outdir` to save the output files. This will create a folder automatically in the project directory.
- Specify the input data for each process.
- The pipeline can be run either locally or on a HPC with different resource specifications. As default, the pipeline will run locally. You can also set the SLURM executor by running the pipeline with `-profile cluster`.
- Please also check [](usage) for more details.
- Please also check [](general) for more details.

## **Quick start**

```bash
git clone https://github.com/theislab/hadge.git
cd hadge
sh test_data/download_data.sh
nextflow run main.nf -profile test
```
Expand All @@ -69,7 +71,7 @@ If the pipeline is run on single sample, each demultiplexing process will genera
If the pipeline is run on multiple samples, the `task_ID` will be replaced by `sampleId`. In the folder, you can find following files:

- `params.csv`: specified parameters in the task
- Output of the task, check [](output) for more details.
- Output of the task, check [](genetic) and [](hashing) for more details.

### **Final output**

Expand All @@ -86,17 +88,16 @@ After each demultiplexing workflow is complete, the pipeline will generate TSV f

Before running the donor-matching preocess, the pipeline merges the results of hashing and genetic demultiplexing tools into `classification_all_genetic_and_hash.csv` and `assignment_all_genetic_and_hash.csv` in the `$pipeline_output_folder/summary` folder.

The output of the donor-matching process can be found in the folder `donor_match`, check [](output) for more details.
The output of the donor-matching process can be found in the folder `donor_match`, check [](rescue) for more details.

```{toctree}
:caption: 'Contents:'
:hidden: true
:maxdepth: 3
usage
output
general
genetic
hashing
rescue
```

# Indices and tables
Expand Down
7 changes: 7 additions & 0 deletions docs/source/rescue.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The joint call of hashing and genetic deconvolution methods has been shown to be

![Caption](_static/images/rescue.png)

## **Quick start**

```bash
cd hadge
nextflow run main.nf -profile test
```

## **Parameter**

| | |
Expand Down

0 comments on commit aa01844

Please sign in to comment.