Skip to content
Snippets Groups Projects
Commit 862a479e authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Update docs

parent a896a72c
Branches
Tags
2 merge requests!8Develop,!7Resolve "Update Documentation"
Pipeline #3495 failed with stages
in 2 seconds
|*master*|*develop*|
|:-:|:-:|
|[![Build Status](https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/badges/master/build.svg)](https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/commits/master)|[![Build Status](https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/badges/develop/build.svg)](https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/commits/develop)|
10x Genomics scRNA-Seq (cellranger) mkfastq Pipeline
========================================
==================================================
Introduction
------------
This pipeline is a wrapper for the cellranger mkfastq tool from 10x Genomics. It takes bcl files from sequencing of 10x Genomics Single Cell Gene Expression libraries, and deconvolutles the reads by the samples' barcodes.
This pipeline is a wrapper for the cellranger mkfastq tool from 10x Genomics. It takes demultiplexes samples from 10x Genomics Single Cell Gene Expression libraries into fastqs.
The pipeline uses Nextflow, a bioinformatics workflow tool.
This pipeline is primarily used with a SLURM cluster on the BioHPC Cluster. However, the pipeline should be able to run on any system that Nextflow supports.
Additionally, the pipeline is designed to work with Astrocyte Workflow System using a simple web interface.
To Run:
-------
* Available parameters:
* **--name**
* run name, puts outputs in a directory with this name
* eg: **--name 'test'**
* **--bcl**
* Base call files (tarballed [*.tar] +/- gunzipping [*.tar.gz] from a sequencing of 10x single-cell expereiment, supports pigr parallelization).
* There can be multiple basecall files, but they all will be demultiplexed by the same design file.
* eg: **--bcl '/project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple/cellranger-tiny-bcl-simple-1_2_0.tar.gz'**
* **--designFile**
* path to design file (csv format) location
* column 1 = "Lane" (number of lanes to demultiplex, */** for all lanes)
* column 2 = "Sample" (sample name)
* column 3 = "Index" (10x sample index barcode, eg SI-GA-A1)
* can have repeated "Sample" if there are multiple fastq R1/R2 pairs for the samples
* eg: **--designFile '/project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple/cellranger-tiny-bcl-simple-1_2_0.csv'**
* **--outDir**
* optional output directory for run
* eg: **--outDir 'test'**
* FULL EXAMPLE:
**nextflow run workflow/main.nf --name 'test' --bcl '/project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple/cellranger-tiny-bcl-simple-1_2_0.tar.gz' --designFile '/project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple/cellranger-tiny-bcl-simple-1_2_0.csv' --outDir 'test'**
* Design example:
| Lane | Sample | Index |
|------|-------------|-----------|
| * | test_sample | SI-P03-C9 |
File moved
......@@ -4,12 +4,33 @@
Introduction
------------
This pipeline is a wrapper for the cellranger count tool from 10x Genomics. It takes fastq files from 10x Genomics Single Cell Gene Expression libraries, performs alignment, filtering, barcode counting, and UMI counting. It uses the Chromium cellular barcodes to generate gene-barcode matrices, determine clusters, and perform gene expression analysis.
This pipeline is a wrapper for the cellranger mkfastq tool from 10x Genomics. It takes demultiplexes samples from 10x Genomics Single Cell Gene Expression libraries into fastqs.
The pipeline uses Nextflow, a bioinformatics workflow tool.
To Run:
-------
* Workflow parameters:
* **bcl**
* Base call files (tarballed [*.tar] +/- gunzipping [*.tar.gz] from a sequencing of 10x single-cell expereiment, supports pigr parallelization).
* There can be multiple basecall files, but they all will be demultiplexed by the same design file.
* REQUIRED
* **design file**
* A design file listing lane, sample, corresponding sample barcode. There can be multiple rows with the same sample name, if there are multiple fastq's for that sample.
* REQUIRED
* column 1 = "Lane" (number of lanes to demultiplex, */** for all lanes)
* column 2 = "Sample" (sample name)
* column 3 = "Index" (10x sample index barcode, eg SI-GA-A1)
* eg: can be downloaded [HERE](https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/docs/design.csv)
* Design example:
| Lane | Sample | Index |
|------|-------------|-----------|
| * | test_sample | SI-P03-C9 |
Credits
......
......@@ -8,7 +8,6 @@ params.name = "small"
params.bcl = "$baseDir/../test_data/*.tar.gz"
params.designFile = "$baseDir/../test_data/design.csv"
params.outDir = "$baseDir/output"
params.references = "$baseDir/../docs/references.md"
// Define List of Files
tarList = Channel.fromPath( params.bcl )
......@@ -19,7 +18,6 @@ designLocation = Channel
.fromPath(params.designFile)
.ifEmpty { exit 1, "design file not found: ${params.designFile}" }
outDir = params.outDir
references = params.references
process checkDesignFile {
tag "$name"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment