Build pipeline: viash-hub.htrnaseq.update-readme-km2t9
Source commit: db4b3f68b2
Source message: Typos
86 lines
3.9 KiB
Plaintext
86 lines
3.9 KiB
Plaintext
---
|
|
format: gfm
|
|
---
|
|
|
|
```{r setup, include=FALSE}
|
|
project <- yaml::read_yaml("_viash.yaml")
|
|
license <- paste0(project$links$repository, "/blob/main/LICENSE")
|
|
contributing <- paste0(project$links$repository, "/blob/main/CONTRIBUTING.md")
|
|
```
|
|
|
|
# HT-RNAseq
|
|
|
|
[](https://www.viash-hub.com/packages/`r project$name`)
|
|
[](`r project$links$repository`)
|
|
[](`r license`)
|
|
[](`r project$links$issue_tracker`)
|
|
[`-blue)](https://viash.io)
|
|
|
|
## Introduction
|
|
|
|
`r project$description`
|
|
|
|
## Example usage
|
|
|
|
## Test and example data
|
|
|
|
If you want to explore this workflow, it's possible to the use data we use as test data: [a DRUGseq dataset](https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE176150) from the [NCBI Sequence Read Archive](https://www.ncbi.nlm.nih.gov/sra). For the unit and integration tests, this data has been (partly) subsampled to reduce the test runtime. We used [seqtk](https://github.com/lh3/seqtk) for this with a seed of 1, e.g.:
|
|
|
|
```bash
|
|
seqtk sample -s1 orig/SRR14730302/VH02001614_S8_R1_001.fastq.gz 10000 > 10k/SRR14730302/VH02001614_S8_R1_001.fastq.gz
|
|
```
|
|
|
|
This data is available at: `gs://viash-hub-test-data/htrnaseq/v1/`.
|
|
|
|
## Run from Viash Hub
|
|
|
|
Open [Viash Hub](https://www.viash-hub.com) and browse to the [htrnaseq component](https://www.viash-hub.com/packages/htrnaseq/v0.3.0/components/workflows/htrnaseq). Press the 'Launch' button and follow the instructions.
|
|
|
|
|
|

|
|
|
|
We will start an example run loading just one input and using a barcodes fast file containing only 2 wells.
|
|
|
|
In the first step, we add the `local` profile to the list of profiles in order to the cpu and memory requirements of the workflow steps:
|
|
|
|
|
|

|
|
In the next step, we provide the paramters as follows:
|
|
|
|
- `input_r1`: `gs://viash-hub-test-data/htrnaseq/v1/100k/SRR14730301/VH02001612_S9_R1_001.fastq`
|
|
- `input_r2`: `gs://viash-hub-test-data/htrnaseq/v1/100k/SRR14730301/VH02001612_S9_R2_001.fastq`
|
|
- `genomeDir`: `gs://viash-hub-test-data/htrnaseq/v1/genomeDir/subset/Homo_sapiens/v0.0.3/`
|
|
- `barcodesFasta`: `gs://viash-hub-test-data/htrnaseq/v1/2-wells-with-ids.fasta`
|
|
- `annotation`: `gs://viash-hub-test-data/htrnaseq/v1/genomeDir/gencode.v41.annotation.gtf.gz`
|
|
|
|
Please not the following: Both `input_r1` and `input_r2` take multiple values. This means that one has to press ENTER after pasting the input path.
|
|
|
|

|
|
|
|
Press the 'Launch' button at the end to get the instructions on how to run the workflow from the CLI.
|
|
|
|
|
|
## Run using NF-Tower / Seqera Cloud
|
|
|
|
It's possible to run the workflow directly from Seqera Cloud. The necessary schema file has been built and provided with the workflows in order to use the form-based input. However, Seqera Cloud can not deal with multiple-value parameters when using the form -based input.
|
|
|
|
It's better to use Viash Hub also here:
|
|
|
|
First, select the option to run the workflow using Seqera Cloud. You will need to create an API token for your account. Once this token is filled in in the corresponding field, you will get the option to select a 'Workspace' and a 'Compute environment'.
|
|
|
|

|
|
|
|
Next, we need to fill in the paramters for the run. This is similar to before:
|
|
|
|

|
|
|
|
In the next screen, pressing the 'Launch' button will actually start the workflow on Seqera Cloud. A message is shown when the submit was successful.
|
|
|
|

|
|
|
|
# Contributions
|
|
|
|
Developed in collaboration with Data Intuitive and Open Analytics.
|
|
|
|
Other contributions are welcome.
|